| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "mojo/dart/embedder/test/dart_test.h" | 5 #include "mojo/dart/unittests/embedder_tester/dart_test.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
| 10 #include "base/rand_util.h" | 10 #include "base/rand_util.h" |
| 11 #include "mojo/dart/embedder/dart_controller.h" | 11 #include "mojo/dart/embedder/dart_controller.h" |
| 12 #include "mojo/public/c/system/types.h" | 12 #include "mojo/public/c/system/types.h" |
| 13 #include "mojo/public/cpp/environment/environment.h" | 13 #include "mojo/public/cpp/environment/environment.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 15 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 } | 56 } |
| 57 | 57 |
| 58 bool success = DartController::RunDartScript(config); | 58 bool success = DartController::RunDartScript(config); |
| 59 EXPECT_TRUE(success) << error; | 59 EXPECT_TRUE(success) << error; |
| 60 EXPECT_EQ(expect_unhandled_exception, unhandled_exception); | 60 EXPECT_EQ(expect_unhandled_exception, unhandled_exception); |
| 61 EXPECT_EQ(expected_unclosed_handles, closed_handles); | 61 EXPECT_EQ(expected_unclosed_handles, closed_handles); |
| 62 } | 62 } |
| 63 | 63 |
| 64 } // namespace dart | 64 } // namespace dart |
| 65 } // namespace mojo | 65 } // namespace mojo |
| OLD | NEW |