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

Side by Side Diff: mojo/public/js/bindings/tests/run_js_tests.cc

Issue 595063002: Use a JS dictionary to initialize a the fields in a Mojo struct (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed console module test dependency Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/path_service.h" 6 #include "base/path_service.h"
7 #include "gin/modules/console.h" 7 #include "gin/modules/console.h"
8 #include "gin/modules/module_registry.h" 8 #include "gin/modules/module_registry.h"
9 #include "gin/modules/timer.h" 9 #include "gin/modules/timer.h"
10 #include "gin/test/file_runner.h" 10 #include "gin/test/file_runner.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 // TODO(abarth): Should we autogenerate these stubs from GYP? 46 // TODO(abarth): Should we autogenerate these stubs from GYP?
47 TEST(JSTest, core) { 47 TEST(JSTest, core) {
48 RunTest("core_unittests.js", true); 48 RunTest("core_unittests.js", true);
49 } 49 }
50 50
51 TEST(JSTest, codec) { 51 TEST(JSTest, codec) {
52 RunTest("codec_unittests.js", true); 52 RunTest("codec_unittests.js", true);
53 } 53 }
54 54
55 TEST(JSTest, struct) {
56 RunTest("struct_unittests.js", true);
57 }
58
55 TEST(JSTest, validation) { 59 TEST(JSTest, validation) {
56 RunTest("validation_unittests.js", true); 60 RunTest("validation_unittests.js", true);
57 } 61 }
58 62
59 } // namespace 63 } // namespace
60 } // namespace js 64 } // namespace js
61 } // namespace mojo 65 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/js/bindings/struct_unittests.js ('k') | mojo/public/tools/bindings/generators/js_templates/struct_definition.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698