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

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

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/htmlToJsonTest.json
diff --git a/tools/html-json-doc/test/test_output/htmlToJsonTest.json b/tools/html-json-doc/test/test_output/htmlToJsonTest.json
new file mode 100644
index 0000000000000000000000000000000000000000..349c15fb07dfeb7b9ee6e51159020c6fa5e255ca
--- /dev/null
+++ b/tools/html-json-doc/test/test_output/htmlToJsonTest.json
@@ -0,0 +1,79 @@
+{
+"TestHtmlInput.dart":
+ {
+ "library testInput;":
+ [
+ "/**",
+ " * YES. This is a library level dartdoc comment.",
+ " * This should show up correctly in the JSON.",
+ " */"
+ ],
+ "class InputTestCase1 {":
+ [
+ "/**",
+ " * YES. This is a multi-line dartdoc comment.",
+ " * This is one line.",
+ " * And it keeps going to this line, too.",
+ " */"
+ ],
+ "class InputTestCase2 extends InputTestCase1 {":
+ [
+ "/// YES. This is a single line dartdoc comment."
+ ],
+ "class InputTestCase3 extends InputTestCase2 {":
+ [
+ "/// YES. This is a multi-line dartdoc comment.",
+ "/// It happens to use multiple single line dartdoc comments."
+ ],
+ " var InputTestCase8;":
+ [
+ " /**",
+ " * YES. This is a multi-line comment on a member.",
+ " */"
+ ],
+ " var InputTestCase9;":
+ [
+ " /// YES. This is a single line dartdoc comment on a member."
+ ],
+ " var InputTestCase10;":
+ [
+ " /// YES. This is a multi-line dartdoc comment on a member.",
+ " /// It is split over two lines."
+ ]
+ },
+"TestHtmlInput2.dart":
+ {
+ "class InputTestCase1 {":
+ [
+ "/**",
+ " * This is a multi-line dartdoc comment.",
+ " * This is one line.",
+ " * And it keeps going to this line, too.",
+ " */"
+ ],
+ "class InputTestCase2 extends InputTestCase1 {":
+ [
+ "/// This is a single line dartdoc comment."
+ ],
+ "class InputTestCase3 extends InputTestCase2 {":
+ [
+ "/// This is a multi-line dartdoc comment.",
+ "/// It happens to use multiple single line dartdoc comments."
+ ],
+ " var InputTestCase8;":
+ [
+ " /**",
+ " * This is a multi-line comment on a member.",
+ " */"
+ ],
+ " var InputTestCase9;":
+ [
+ " /// This is a single line dartdoc comment on a member."
+ ],
+ " var InputTestCase10;":
+ [
+ " /// This is a multi-line dartdoc comment on a member.",
+ " /// It is split over two lines."
+ ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698