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

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

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.dart
diff --git a/tools/json_schema_compiler/dart_test/comments.dart b/tools/json_schema_compiler/dart_test/comments.dart
new file mode 100644
index 0000000000000000000000000000000000000000..d734d56f522ff8f8577166532bc6a6881e5982e6
--- /dev/null
+++ b/tools/json_schema_compiler/dart_test/comments.dart
@@ -0,0 +1,31 @@
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// Generated from namespace: comments
+
+part of chrome;
+/**
+ * Functions
+ */
+
+class API_comments {
+ /*
+ * API connection
+ */
+ Object _jsObject;
+
+ /*
+ * Functions
+ */
+ /// 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.<br/><br/> It works like so: +-----+ | |
+ /// +--+ | | | | +-----+ --> +--+<br/><br/> 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.
+ void basicFunction() => JS('void', '#.basicFunction()', this._jsObject);
+
+ API_comments(this._jsObject) {
+ }
+}
« no previous file with comments | « tools/json_schema_compiler/dart_test/basic_type.idl ('k') | tools/json_schema_compiler/dart_test/comments.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698