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

Unified Diff: tools/json_schema_compiler/dart_test/operatable_type.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/operatable_type.dart
diff --git a/tools/json_schema_compiler/dart_test/operatable_type.dart b/tools/json_schema_compiler/dart_test/operatable_type.dart
new file mode 100644
index 0000000000000000000000000000000000000000..9e3d7084de566dca9a694f10979c48e9f8ea545f
--- /dev/null
+++ b/tools/json_schema_compiler/dart_test/operatable_type.dart
@@ -0,0 +1,49 @@
+// 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: operatable_type
+
+part of chrome;
+
+/**
+ * Types
+ */
+
+class Operatable_typeOperatableType extends ChromeObject {
+ /*
+ * Private constructor
+ */
+ Operatable_typeOperatableType._proxy(_jsObject) : super._proxy(_jsObject);
+
+ /*
+ * Public accessors
+ */
+ /// Documentation for the String t.
+ String get t => JS('String', '#.t', this._jsObject);
+
+ void set t(String t) {
+ JS('void', '#.t = #', this._jsObject, t);
+ }
+
+
+ /*
+ * Methods
+ */
+ /// Documentation for staticFoo.
+ void staticFoo() => JS('void', '#.staticFoo()', this._jsObject);
+
+}
+
+/**
+ * Functions
+ */
+
+class API_operatable_type {
+ /*
+ * API connection
+ */
+ Object _jsObject;
+ API_operatable_type(this._jsObject) {
+ }
+}
« no previous file with comments | « tools/json_schema_compiler/dart_test/empty_type.idl ('k') | tools/json_schema_compiler/dart_test/operatable_type.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698