| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 } | 114 } |
| 115 | 115 |
| 116 TEST(DartTest, codec_test) { | 116 TEST(DartTest, codec_test) { |
| 117 RunTest("codec_test.dart", false, nullptr, 0); | 117 RunTest("codec_test.dart", false, nullptr, 0); |
| 118 } | 118 } |
| 119 | 119 |
| 120 TEST(DartTest, handle_watcher_test) { | 120 TEST(DartTest, handle_watcher_test) { |
| 121 RunTest("handle_watcher_test.dart", false, nullptr, 0); | 121 RunTest("handle_watcher_test.dart", false, nullptr, 0); |
| 122 } | 122 } |
| 123 | 123 |
| 124 TEST(DartTest, interface_test) { | |
| 125 RunTest("interface_test.dart", false, nullptr, 0); | |
| 126 } | |
| 127 | |
| 128 TEST(DartTest, bindings_generation_test) { | 124 TEST(DartTest, bindings_generation_test) { |
| 129 RunTest("bindings_generation_test.dart", false, nullptr, 0); | 125 RunTest("bindings_generation_test.dart", false, nullptr, 0); |
| 130 } | 126 } |
| 131 | 127 |
| 132 TEST(DartTest, compile_all_interfaces_test) { | 128 TEST(DartTest, compile_all_interfaces_test) { |
| 133 RunTest("compile_all_interfaces_test.dart", true, nullptr, 0); | 129 RunTest("compile_all_interfaces_test.dart", true, nullptr, 0); |
| 134 } | 130 } |
| 135 | 131 |
| 136 TEST(DartTest, uri_base_test) { | 132 TEST(DartTest, uri_base_test) { |
| 137 RunTest("uri_base_test.dart", true, nullptr, 0); | 133 RunTest("uri_base_test.dart", true, nullptr, 0); |
| 138 } | 134 } |
| 139 | 135 |
| 140 TEST(DartTest, handle_finalizer_test) { | 136 TEST(DartTest, handle_finalizer_test) { |
| 141 const int kNumArgs = 2; | 137 const int kNumArgs = 2; |
| 142 const char* args[kNumArgs]; | 138 const char* args[kNumArgs]; |
| 143 args[0] = "--new-gen-semi-max-size=1"; | 139 args[0] = "--new-gen-semi-max-size=1"; |
| 144 args[1] = "--old_gen_growth_rate=1"; | 140 args[1] = "--old_gen_growth_rate=1"; |
| 145 RunTest("handle_finalizer_test.dart", false, args, kNumArgs); | 141 RunTest("handle_finalizer_test.dart", false, args, kNumArgs); |
| 146 } | 142 } |
| 147 | 143 |
| 148 } // namespace | 144 } // namespace |
| 149 } // namespace dart | 145 } // namespace dart |
| 150 } // namespace mojo | 146 } // namespace mojo |
| OLD | NEW |