| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012, 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 /** | 5 /** | 
| 6  * This is a helper for run.sh. We try to run all of the Dart code in one | 6  * This is a helper for run.sh. We try to run all of the Dart code in one | 
| 7  * instance of the Dart VM to reduce warm-up time. | 7  * instance of the Dart VM to reduce warm-up time. | 
| 8  */ | 8  */ | 
| 9 library run_impl; | 9 library run_impl; | 
| 10 | 10 | 
| 11 import 'dart:io'; | 11 import 'dart:io'; | 
| 12 import 'package:unittest/unittest.dart'; | 12 import 'package:unittest/unittest.dart'; | 
| 13 import 'package:unittest/vm_config.dart'; | 13 import 'package:unittest/vm_config.dart'; | 
| 14 import 'package:web_components/dwc.dart' as dwc; | 14 import 'package:web_ui/dwc.dart' as dwc; | 
| 15 | 15 | 
| 16 import 'analyzer_test.dart' as analyzer_test; | 16 import 'analyzer_test.dart' as analyzer_test; | 
| 17 import 'compiler_test.dart' as compiler_test; | 17 import 'compiler_test.dart' as compiler_test; | 
| 18 import 'directive_parser_test.dart' as directive_test; | 18 import 'directive_parser_test.dart' as directive_test; | 
| 19 import 'emitter_test.dart' as emitter_test; | 19 import 'emitter_test.dart' as emitter_test; | 
| 20 import 'html5_utils_test.dart' as html5_utils_test; | 20 import 'html5_utils_test.dart' as html5_utils_test; | 
| 21 import 'html_cleaner_test.dart' as html_cleaner_test; | 21 import 'html_cleaner_test.dart' as html_cleaner_test; | 
| 22 import 'path_info_test.dart' as path_info_test; | 22 import 'path_info_test.dart' as path_info_test; | 
| 23 import 'utils_test.dart' as utils_test; | 23 import 'utils_test.dart' as utils_test; | 
| 24 import 'watcher_test.dart' as watcher_test; | 24 import 'watcher_test.dart' as watcher_test; | 
| (...skipping 21 matching lines...) Expand all  Loading... | 
| 46     if (!path.endsWith('_test.html') || !pattern.hasMatch(path)) return; | 46     if (!path.endsWith('_test.html') || !pattern.hasMatch(path)) return; | 
| 47 | 47 | 
| 48     test(path, () { | 48     test(path, () { | 
| 49       expect(dwc.run(['-v', '-o', 'data/output/', path]).transform((_) { | 49       expect(dwc.run(['-v', '-o', 'data/output/', path]).transform((_) { | 
| 50         // add empty line for formatting | 50         // add empty line for formatting | 
| 51         print(''); | 51         print(''); | 
| 52       }), completes); | 52       }), completes); | 
| 53     }); | 53     }); | 
| 54   }; | 54   }; | 
| 55 } | 55 } | 
| OLD | NEW | 
|---|