| 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/at_exit.h" | 5 #include "base/at_exit.h" |
| 6 #include "base/file_util.h" | |
| 7 #include "base/files/file_path.h" | 6 #include "base/files/file_path.h" |
| 7 #include "base/files/file_util.h" |
| 8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
| 9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "gin/public/isolate_holder.h" | 11 #include "gin/public/isolate_holder.h" |
| 12 #include "mojo/apps/js/mojo_runner_delegate.h" | 12 #include "mojo/apps/js/mojo_runner_delegate.h" |
| 13 #include "mojo/apps/js/test/js_to_cpp.mojom.h" | 13 #include "mojo/apps/js/test/js_to_cpp.mojom.h" |
| 14 #include "mojo/common/common_type_converters.h" | 14 #include "mojo/common/common_type_converters.h" |
| 15 #include "mojo/common/test/test_utils.h" | 15 #include "mojo/common/test/test_utils.h" |
| 16 #include "mojo/public/cpp/system/core.h" | 16 #include "mojo/public/cpp/system/core.h" |
| 17 #include "mojo/public/cpp/system/macros.h" | 17 #include "mojo/public/cpp/system/macros.h" |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 if (IsRunningOnIsolatedBot()) | 445 if (IsRunningOnIsolatedBot()) |
| 446 return; | 446 return; |
| 447 | 447 |
| 448 BackPointerCppSideConnection cpp_side_connection; | 448 BackPointerCppSideConnection cpp_side_connection; |
| 449 RunTest("mojo/apps/js/test/js_to_cpp_unittest", &cpp_side_connection); | 449 RunTest("mojo/apps/js/test/js_to_cpp_unittest", &cpp_side_connection); |
| 450 EXPECT_TRUE(cpp_side_connection.DidSucceed()); | 450 EXPECT_TRUE(cpp_side_connection.DidSucceed()); |
| 451 } | 451 } |
| 452 | 452 |
| 453 } // namespace js | 453 } // namespace js |
| 454 } // namespace mojo | 454 } // namespace mojo |
| OLD | NEW |