OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #library("stub_generator_test_config"); | 5 #library("stub_generator_test_config"); |
6 | 6 |
| 7 #import("dart:io"); |
| 8 |
7 #import("../../tools/testing/dart/test_suite.dart"); | 9 #import("../../tools/testing/dart/test_suite.dart"); |
8 | 10 |
9 class StubGeneratorTestSuite extends StandardTestSuite { | 11 class StubGeneratorTestSuite extends StandardTestSuite { |
10 String dartcPath; | 12 String dartcPath; |
11 | 13 |
12 StubGeneratorTestSuite(Map configuration) | 14 StubGeneratorTestSuite(Map configuration) |
13 : super(configuration, | 15 : super(configuration, |
14 "stub-generator", | 16 "stub-generator", |
15 "tests/stub-generator/src", | 17 "tests/stub-generator/src", |
16 ["tests/stub-generator/stub-generator.status"]) { | 18 ["tests/stub-generator/stub-generator.status"]) { |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 String interfaceFile = splitIsolateStubsOptions[0]; | 155 String interfaceFile = splitIsolateStubsOptions[0]; |
154 String classes = splitIsolateStubsOptions[1]; | 156 String classes = splitIsolateStubsOptions[1]; |
155 generateTestCase(filename, interfaceFile, classes, (String filename) { | 157 generateTestCase(filename, interfaceFile, classes, (String filename) { |
156 createTestCase(filename, optionsFromFile['isNegative']); | 158 createTestCase(filename, optionsFromFile['isNegative']); |
157 testGeneratorDone(); | 159 testGeneratorDone(); |
158 }); | 160 }); |
159 } | 161 } |
160 } | 162 } |
161 } | 163 } |
162 } | 164 } |
OLD | NEW |