Index: tools/html-json-doc/test/test_data/htmlToJson/TestHtmlInput.dart |
diff --git a/tools/html-json-doc/test/test_data/htmlToJson/TestHtmlInput.dart b/tools/html-json-doc/test/test_data/htmlToJson/TestHtmlInput.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bf1acd83bd1310fcec934e27fffa18655d0ec9f4 |
--- /dev/null |
+++ b/tools/html-json-doc/test/test_data/htmlToJson/TestHtmlInput.dart |
@@ -0,0 +1,80 @@ |
+/** |
+ * YES. This is a library level dartdoc comment. |
+ * This should show up correctly in the JSON. |
+ */ |
+/// @docsEditable |
+library testInput; |
+ |
+/** |
+ * YES. This is a multi-line dartdoc comment. |
+ * This is one line. |
+ * And it keeps going to this line, too. |
+ */ |
+/// @docsEditable |
+class InputTestCase1 { |
+ |
+} |
+ |
+/// YES. This is a single line dartdoc comment. |
+/// @docsEditable |
+class InputTestCase2 extends InputTestCase1 { |
+ |
+} |
+ |
+/// YES. This is a multi-line dartdoc comment. |
+/// It happens to use multiple single line dartdoc comments. |
+/// @docsEditable |
+class InputTestCase3 extends InputTestCase2 { |
+ |
+} |
+ |
+/* |
+ * NO. This is not a dartdoc comment and should not be picked up. |
+ * The output of this comment should be nothing. |
+ */ |
+/// @docsEditable |
+class InputTestCase4 { |
+ |
+} |
+ |
+/** |
+ * NO. This multi-line dartdoc comment doesn't have the /// @docsEditable stuff. |
+ * This comment should not show up in the JSON. |
+ * Note that the /// @docsEditable in this line and the one above are ignored. |
+ */ |
+class InputTestCase5 { |
+ |
+} |
+ |
+/// NO. This is a single line dartdoc comment that is ignored. |
+class InputTestCase6 { |
+ |
+} |
+ |
+/// NO. This is a multi-line dartdoc comment that is ignored. |
+/// It is made of multiple single line dartdoc comments. |
+class InputTestCase7 { |
+ |
+ /** |
+ * YES. This is a multi-line comment on a member. |
+ */ |
+ /// @docsEditable |
+ var InputTestCase8; |
+ |
+ /// YES. This is a single line dartdoc comment on a member. |
+ /// @docsEditable |
+ var InputTestCase9; |
+ |
+ /// YES. This is a multi-line dartdoc comment on a member. |
+ /// It is split over two lines. |
+ /// @docsEditable |
+ var InputTestCase10; |
+ |
+ /** |
+ * NO.This multi-line comment on a member is ignored. |
+ */ |
+ var InputTestCase11; |
+ |
+ /// NO. This single line dartdoc comment on a member is ignored. |
+ var InputTestCase12; |
+} |