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

Side by Side Diff: mojo/apps/js/test/run_apps_js_tests.cc

Issue 690743003: Move mojo/bindings/js to mojo/edk/js (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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"
11 #include "gin/test/gtest.h" 11 #include "gin/test/gtest.h"
12 #include "mojo/apps/js/bindings/monotonic_clock.h" 12 #include "mojo/apps/js/bindings/monotonic_clock.h"
13 #include "mojo/apps/js/bindings/threading.h" 13 #include "mojo/apps/js/bindings/threading.h"
14 #include "mojo/bindings/js/core.h" 14 #include "mojo/edk/js/core.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 namespace mojo { 17 namespace mojo {
18 namespace js { 18 namespace js {
19 namespace { 19 namespace {
20 20
21 class TestRunnerDelegate : public gin::FileRunnerDelegate { 21 class TestRunnerDelegate : public gin::FileRunnerDelegate {
22 public: 22 public:
23 TestRunnerDelegate() { 23 TestRunnerDelegate() {
24 AddBuiltinModule(gin::Console::kModuleName, gin::Console::GetModule); 24 AddBuiltinModule(gin::Console::kModuleName, gin::Console::GetModule);
(...skipping 30 matching lines...) Expand all
55 RunTest("connection_unittests.js", false); 55 RunTest("connection_unittests.js", false);
56 } 56 }
57 57
58 TEST(JSTest, monotonic_clock) { 58 TEST(JSTest, monotonic_clock) {
59 RunTest("monotonic_clock_unittests.js", false); 59 RunTest("monotonic_clock_unittests.js", false);
60 } 60 }
61 61
62 } // namespace 62 } // namespace
63 } // namespace js 63 } // namespace js
64 } // namespace mojo 64 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698