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

Unified Diff: tools/json_schema_compiler/dart_test/basic_function.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/basic_function.idl
diff --git a/tools/json_schema_compiler/test/idl_callback_arrays.idl b/tools/json_schema_compiler/dart_test/basic_function.idl
similarity index 51%
copy from tools/json_schema_compiler/test/idl_callback_arrays.idl
copy to tools/json_schema_compiler/dart_test/basic_function.idl
index 105e4dbae4846f190b10d68c0720608c01399916..29f62be5eebf45680615cc7b8ff0b35c696fe03c 100644
--- a/tools/json_schema_compiler/test/idl_callback_arrays.idl
+++ b/tools/json_schema_compiler/dart_test/basic_function.idl
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Tests the case of an array of callbacks as an a argument
-
-namespace idl_callback_arrays {
- callback MyCallback = void(long x);
-
+namespace basic_function {
interface Functions {
- static void whatever(MyCallback[] callbacks);
+ // Documentation for the basic function, foo().
+ void foo();
+
+ // Documentation for the basic static function, staticFoo().
+ static void staticFoo();
};
};
« no previous file with comments | « tools/json_schema_compiler/dart_test/basic_function.dart ('k') | tools/json_schema_compiler/dart_test/basic_type.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698