| Index: tests/stub-generator/test_config.dart
|
| diff --git a/tests/stub-generator/test_config.dart b/tests/stub-generator/test_config.dart
|
| index e57ce66f9555cf2830e3d233fd853c9236c88731..8d1f2887668f8c0276aea69e9c8c6252adf640cb 100644
|
| --- a/tests/stub-generator/test_config.dart
|
| +++ b/tests/stub-generator/test_config.dart
|
| @@ -101,7 +101,7 @@ class StubGeneratorTestSuite extends StandardTestSuite {
|
| String classes,
|
| Function onGenerated) {
|
| testGeneratorStarted();
|
| - Directory temp = createOutputDirectory(interfaceFile, '');
|
| + Directory temp = createOutputDirectory(filename, 'stub_generator');
|
|
|
| File stubsOutFile = new File("${temp.path}/${interfaceFile}");
|
| stubsOutFile.createSync();
|
| @@ -121,6 +121,7 @@ class StubGeneratorTestSuite extends StandardTestSuite {
|
| }
|
|
|
| void processFile(String filename) {
|
| + filename = filename.replaceAll('\\', '/') ;
|
| // Only run the tests that match the pattern.
|
| RegExp pattern = configuration['selectors'][suiteName];
|
| if (!pattern.hasMatch(filename)) return;
|
|
|