Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Unified Diff: tools/html-json-doc/test/test_output/TestHtmlInput2.dart

Issue 11280133: Both halves of the HTMLDoc to JSON doc converter! (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed bin. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/html-json-doc/test/test_output/TestHtmlInput2.dart
diff --git a/tools/html-json-doc/test/test_output/TestHtmlInput2.dart b/tools/html-json-doc/test/test_output/TestHtmlInput2.dart
new file mode 100644
index 0000000000000000000000000000000000000000..954af0e42f4632b1d1f64543b4b49c4eb9af5308
--- /dev/null
+++ b/tools/html-json-doc/test/test_output/TestHtmlInput2.dart
@@ -0,0 +1,79 @@
+/**
+ * This is a library level dartdoc comment.
+ * This should be ignored.
+ */
+library testInput2;
+
+/**
+ * This is a multi-line dartdoc comment.
+ * This is one line.
+ * And it keeps going to this line, too.
+ */
+/// @docsEditable
+class InputTestCase1 {
+
+}
+
+/// This is a single line dartdoc comment.
+/// @docsEditable
+class InputTestCase2 extends InputTestCase1 {
+
+}
+
+/// This is a multi-line dartdoc comment.
+/// It happens to use multiple single line dartdoc comments.
+/// @docsEditable
+class InputTestCase3 extends InputTestCase2 {
+
+}
+
+/*
+ * This is not a dartdoc comment and should not be picked up.
+ * The output of this comment should be nothing.
+ */
+/// @docsEditable
+class InputTestCase4 {
+
+}
+
+/**
+ * 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 {
+
+}
+
+/// This is a single line dartdoc comment that is ignored.
+class InputTestCase6 {
+
+}
+
+/// This is a multi-line dartdoc comment that is ignored.
+/// It is made of multiple single line dartdoc comments.
+class InputTestCase7 {
+
+ /**
+ * This is a multi-line comment on a member.
+ */
+ /// @docsEditable
+ var InputTestCase8;
+
+ /// This is a single line dartdoc comment on a member.
+ /// @docsEditable
+ var InputTestCase9;
+
+ /// This is a multi-line dartdoc comment on a member.
+ /// It is split over two lines.
+ /// @docsEditable
+ var InputTestCase10;
+
+ /**
+ * This multi-line comment on a member is ignored.
+ */
+ var InputTestCase11;
+
+ /// This single line dartdoc comment on a member is ignored.
+ var InputTestCase12;
+}

Powered by Google App Engine
This is Rietveld 408576698