| OLD | NEW |
| 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/file_util.h" | 5 #include "base/file_util.h" |
| 6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 #define MAYBE_sample_test DISABLED_sample_test | 53 #define MAYBE_sample_test DISABLED_sample_test |
| 54 #else | 54 #else |
| 55 #define MAYBE_sample_test sample_test | 55 #define MAYBE_sample_test sample_test |
| 56 #endif | 56 #endif |
| 57 TEST(JSTest, MAYBE_sample_test) { | 57 TEST(JSTest, MAYBE_sample_test) { |
| 58 RunTest("sample_service_unittests.js", true); | 58 RunTest("sample_service_unittests.js", true); |
| 59 } | 59 } |
| 60 | 60 |
| 61 // http://crbug.com/351214 | 61 // http://crbug.com/351214 |
| 62 #if defined(OS_POSIX) | 62 #if defined(OS_POSIX) |
| 63 #define MAYBE_connection DISABLED_connection | 63 #define MAYBE_connector DISABLED_connector |
| 64 #else | 64 #else |
| 65 #define MAYBE_connection connection | 65 #define MAYBE_connector connector |
| 66 #endif | 66 #endif |
| 67 TEST(JSTest, MAYBE_connection) { | 67 TEST(JSTest, MAYBE_connector) { |
| 68 RunTest("connection_unittests.js", true); | 68 RunTest("connector_unittests.js", true); |
| 69 } | 69 } |
| 70 | 70 |
| 71 TEST(JSTest, monotonic_clock) { | 71 TEST(JSTest, monotonic_clock) { |
| 72 RunTest("monotonic_clock_unittests.js", false); | 72 RunTest("monotonic_clock_unittests.js", false); |
| 73 } | 73 } |
| 74 | 74 |
| 75 } // namespace | 75 } // namespace |
| 76 } // namespace js | 76 } // namespace js |
| 77 } // namespace mojo | 77 } // namespace mojo |
| OLD | NEW |