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/files/file_util.h" | 7 #include "base/files/file_util.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 #include "crypto/random.h" | 10 #include "crypto/random.h" |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 } | 133 } |
134 | 134 |
135 TEST(DartTest, interface_test) { | 135 TEST(DartTest, interface_test) { |
136 RunTest("interface_test.dart", false, nullptr, 0); | 136 RunTest("interface_test.dart", false, nullptr, 0); |
137 } | 137 } |
138 | 138 |
139 TEST(DartTest, bindings_generation_test) { | 139 TEST(DartTest, bindings_generation_test) { |
140 RunTest("bindings_generation_test.dart", false, nullptr, 0); | 140 RunTest("bindings_generation_test.dart", false, nullptr, 0); |
141 } | 141 } |
142 | 142 |
| 143 TEST(DartTest, sample_service_test) { |
| 144 RunTest("sample_service_test.dart", false, nullptr, 0); |
| 145 } |
| 146 |
143 TEST(DartTest, compile_all_interfaces_test) { | 147 TEST(DartTest, compile_all_interfaces_test) { |
144 RunTest("compile_all_interfaces_test.dart", true, nullptr, 0); | 148 RunTest("compile_all_interfaces_test.dart", true, nullptr, 0); |
145 } | 149 } |
146 | 150 |
147 TEST(DartTest, handle_finalizer_test) { | 151 TEST(DartTest, handle_finalizer_test) { |
148 const int kNumArgs = 2; | 152 const int kNumArgs = 2; |
149 const char* args[kNumArgs]; | 153 const char* args[kNumArgs]; |
150 args[0] = "--new-gen-semi-max-size=1"; | 154 args[0] = "--new-gen-semi-max-size=1"; |
151 args[1] = "--old_gen_growth_rate=1"; | 155 args[1] = "--old_gen_growth_rate=1"; |
152 RunTest("handle_finalizer_test.dart", false, args, kNumArgs); | 156 RunTest("handle_finalizer_test.dart", false, args, kNumArgs); |
153 } | 157 } |
154 | 158 |
155 } // namespace | 159 } // namespace |
156 } // namespace dart | 160 } // namespace dart |
157 } // namespace mojo | 161 } // namespace mojo |
OLD | NEW |