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

Side by Side Diff: mojo/edk/js/test/run_js_integration_tests.cc

Issue 2549683002: Mojo JS bindings: introduce concepts that are more similar to C++ bindings: (Closed)
Patch Set: put interface control methods in the |ptr| property Created 4 years 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
« no previous file with comments | « no previous file | mojo/edk/js/tests/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/macros.h" 6 #include "base/macros.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "gin/modules/console.h" 8 #include "gin/modules/console.h"
9 #include "gin/modules/module_registry.h" 9 #include "gin/modules/module_registry.h"
10 #include "gin/modules/timer.h" 10 #include "gin/modules/timer.h"
(...skipping 27 matching lines...) Expand all
38 PathService::Get(base::DIR_SOURCE_ROOT, &path); 38 PathService::Get(base::DIR_SOURCE_ROOT, &path);
39 path = path.AppendASCII("mojo") 39 path = path.AppendASCII("mojo")
40 .AppendASCII("edk") 40 .AppendASCII("edk")
41 .AppendASCII("js") 41 .AppendASCII("js")
42 .AppendASCII("tests") 42 .AppendASCII("tests")
43 .AppendASCII(test); 43 .AppendASCII(test);
44 TestRunnerDelegate delegate; 44 TestRunnerDelegate delegate;
45 gin::RunTestFromFile(path, &delegate, false); 45 gin::RunTestFromFile(path, &delegate, false);
46 } 46 }
47 47
48 TEST(JSTest, connection) { 48 TEST(JSTest, Connection) {
49 RunTest("connection_tests.js"); 49 RunTest("connection_tests.js");
50 } 50 }
51 51
52 TEST(JSTest, sample_service) { 52 TEST(JSTest, SampleService) {
53 RunTest("sample_service_tests.js"); 53 RunTest("sample_service_tests.js");
54 } 54 }
55 55
56 TEST(JSTest, InterfacePtr) {
57 RunTest("interface_ptr_tests.js");
58 }
59
60 TEST(JSTest, Binding) {
61 RunTest("binding_tests.js");
62 }
63
56 } // namespace 64 } // namespace
57 } // namespace js 65 } // namespace js
58 } // namespace edk 66 } // namespace edk
59 } // namespace mojo 67 } // namespace mojo
OLDNEW
« no previous file with comments | « no previous file | mojo/edk/js/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698