OLD | NEW |
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 .AppendASCII(test); | 44 .AppendASCII(test); |
45 TestRunnerDelegate delegate; | 45 TestRunnerDelegate delegate; |
46 gin::RunTestFromFile(path, &delegate, run_until_idle); | 46 gin::RunTestFromFile(path, &delegate, run_until_idle); |
47 } | 47 } |
48 | 48 |
49 // TODO(abarth): Should we autogenerate these stubs from GYP? | 49 // TODO(abarth): Should we autogenerate these stubs from GYP? |
50 TEST(JSTest, Core) { | 50 TEST(JSTest, Core) { |
51 RunTest("core_unittest.js", true); | 51 RunTest("core_unittest.js", true); |
52 } | 52 } |
53 | 53 |
54 TEST(JSTest, Validation) { | |
55 RunTest("validation_unittest.js", true); | |
56 } | |
57 | |
58 } // namespace | 54 } // namespace |
59 } // namespace js | 55 } // namespace js |
60 } // namespace edk | 56 } // namespace edk |
61 } // namespace mojo | 57 } // namespace mojo |
OLD | NEW |