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/bind.h" | 5 #include "base/bind.h" |
6 #include "base/files/file_path.h" | 6 #include "base/files/file_path.h" |
7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
8 #include "base/rand_util.h" | 8 #include "base/rand_util.h" |
9 #include "mojo/dart/embedder/dart_controller.h" | 9 #include "mojo/dart/embedder/dart_controller.h" |
10 #include "mojo/public/c/system/types.h" | 10 #include "mojo/public/c/system/types.h" |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 } | 110 } |
111 | 111 |
112 TEST(DartTest, core_test) { | 112 TEST(DartTest, core_test) { |
113 RunTest("core_test.dart"); | 113 RunTest("core_test.dart"); |
114 } | 114 } |
115 | 115 |
116 TEST(DartTest, codec_test) { | 116 TEST(DartTest, codec_test) { |
117 RunTest("codec_test.dart"); | 117 RunTest("codec_test.dart"); |
118 } | 118 } |
119 | 119 |
120 TEST(DartTest, handle_watcher_test) { | |
121 RunTest("handle_watcher_test.dart"); | |
122 } | |
123 | |
124 TEST(DartTest, bindings_generation_test) { | 120 TEST(DartTest, bindings_generation_test) { |
125 RunTest("bindings_generation_test.dart"); | 121 RunTest("bindings_generation_test.dart"); |
126 } | 122 } |
127 | 123 |
128 TEST(DartTest, compile_all_interfaces_test) { | 124 TEST(DartTest, compile_all_interfaces_test) { |
129 const char* args[] = { "--compile_all" }; | 125 const char* args[] = { "--compile_all" }; |
130 RunTest("compile_all_interfaces_test.dart", &args[0], 1); | 126 RunTest("compile_all_interfaces_test.dart", &args[0], 1); |
131 } | 127 } |
132 | 128 |
133 TEST(DartTest, uri_base_test) { | 129 TEST(DartTest, uri_base_test) { |
(...skipping 16 matching lines...) Expand all Loading... |
150 RunTest("handle_finalizer_test.dart", args, kNumArgs); | 146 RunTest("handle_finalizer_test.dart", args, kNumArgs); |
151 } | 147 } |
152 | 148 |
153 TEST(DartTest, unhandled_exception_test) { | 149 TEST(DartTest, unhandled_exception_test) { |
154 RunTest("unhandled_exception_test.dart", nullptr, 0, true, 2); | 150 RunTest("unhandled_exception_test.dart", nullptr, 0, true, 2); |
155 } | 151 } |
156 | 152 |
157 } // namespace | 153 } // namespace |
158 } // namespace dart | 154 } // namespace dart |
159 } // namespace mojo | 155 } // namespace mojo |
OLD | NEW |