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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 String interfaceFile = splitIsolateStubsOptions[0]; | 142 String interfaceFile = splitIsolateStubsOptions[0]; |
141 String classes = splitIsolateStubsOptions[1]; | 143 String classes = splitIsolateStubsOptions[1]; |
142 generateTestCase(filename, interfaceFile, classes, (String filename) { | 144 generateTestCase(filename, interfaceFile, classes, (String filename) { |
143 createTestCase(filename, optionsFromFile['isNegative']); | 145 createTestCase(filename, optionsFromFile['isNegative']); |
144 testGeneratorDone(); | 146 testGeneratorDone(); |
145 }); | 147 }); |
146 } | 148 } |
147 } | 149 } |
148 } | 150 } |
149 } | 151 } |
OLD | NEW |