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

Unified Diff: tools/json_schema_compiler/dart_test/comments.idl

Issue 12218151: Added unit tests for the Dart Chrome.* API wrappers. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove print statement if outputting to file. Created 7 years, 10 months 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/json_schema_compiler/dart_test/comments.idl
diff --git a/tools/json_schema_compiler/dart_test/comments.idl b/tools/json_schema_compiler/dart_test/comments.idl
new file mode 100644
index 0000000000000000000000000000000000000000..867d289d264b10b7a6f76815389a4255021f5495
--- /dev/null
+++ b/tools/json_schema_compiler/dart_test/comments.idl
@@ -0,0 +1,32 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This comment is for the comments namespace.
+namespace comments {
+ // This comments the "Functions" block, and should be ignored.
+ interface Functions {
+ // This comment is separated by at least one blank line from the start of
+ // the function, and should be ignored.
+
+ //
+ // There's a blank line at the start of this comment.
+ //
+ // Documentation for basicFunction.
+ // BasicFunction() is a great function.
+ // There is a newline after this.
+ //
+ // It works like so:
+ // +-----+
+ // | | +--+
+ // | | | |
+ // +-----+ --> +--+
+ //
+ // Some other stuff here.
+ // This paragraph starts with whitespace.
+ // Overall, its a great function.
+ // There's also a blank line at the end of this comment.
+ //
+ static void basicFunction();
+ };
+};
« no previous file with comments | « tools/json_schema_compiler/dart_test/comments.dart ('k') | tools/json_schema_compiler/dart_test/complex_type.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698