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/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 Loading... |
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 |
OLD | NEW |