OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 /// Meta-test that runs all tests we have written. | 5 /// Meta-test that runs all tests we have written. |
6 library ddc.test.all_tests; | 6 library dev_compiler.test.all_tests; |
7 | 7 |
8 import 'package:unittest/compact_vm_config.dart'; | 8 import 'package:unittest/compact_vm_config.dart'; |
9 import 'package:unittest/unittest.dart'; | 9 import 'package:unittest/unittest.dart'; |
10 | 10 |
11 import 'checker/checker_test.dart' as checker_test; | 11 import 'checker/checker_test.dart' as checker_test; |
12 import 'checker/inferred_type_test.dart' as inferred_type_test; | 12 import 'checker/inferred_type_test.dart' as inferred_type_test; |
13 import 'codegen_test.dart' as codegen_test; | 13 import 'codegen_test.dart' as codegen_test; |
14 import 'end_to_end_test.dart' as e2e; | 14 import 'end_to_end_test.dart' as e2e; |
15 import 'report_test.dart' as report_test; | 15 import 'report_test.dart' as report_test; |
16 import 'runtime/dart_runtime_test.dart' as runtime_test; | 16 import 'runtime/dart_runtime_test.dart' as runtime_test; |
17 | 17 |
18 main(args) { | 18 main(args) { |
19 useCompactVMConfiguration(); | 19 useCompactVMConfiguration(); |
20 group('end-to-end', e2e.main); | 20 group('end-to-end', e2e.main); |
21 group('inferred types', inferred_type_test.main); | 21 group('inferred types', inferred_type_test.main); |
22 group('checker', checker_test.main); | 22 group('checker', checker_test.main); |
23 group('report', report_test.main); | 23 group('report', report_test.main); |
24 group('runtime', runtime_test.main); | 24 group('runtime', runtime_test.main); |
25 group('codegen', () => codegen_test.main(args)); | 25 group('codegen', () => codegen_test.main(args)); |
26 var args2 = new List.from((args == null) ? [] : args, growable: true); | 26 var args2 = new List.from((args == null) ? [] : args, growable: true); |
27 args2.add("--dart-gen"); | 27 args2.add("--dart-gen"); |
28 group('dart_codegen', () => codegen_test.main(args2)); | 28 group('dart_codegen', () => codegen_test.main(args2)); |
29 } | 29 } |
OLD | NEW |