OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 analyzer.test.src.dart.test_all; | 5 library analyzer.test.src.dart.test_all; |
6 | 6 |
7 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 7 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
8 | 8 |
9 import '../../utils.dart'; | |
10 import 'ast/test_all.dart' as ast; | 9 import 'ast/test_all.dart' as ast; |
11 import 'constant/test_all.dart' as constant; | 10 import 'constant/test_all.dart' as constant; |
12 import 'element/test_all.dart' as element; | 11 import 'element/test_all.dart' as element; |
13 import 'sdk/test_all.dart' as sdk; | 12 import 'sdk/test_all.dart' as sdk; |
14 | 13 |
15 /// Utility for manually running all tests. | 14 /// Utility for manually running all tests. |
16 main() { | 15 main() { |
17 initializeTestEnvironment(); | |
18 defineReflectiveSuite(() { | 16 defineReflectiveSuite(() { |
19 ast.main(); | 17 ast.main(); |
20 constant.main(); | 18 constant.main(); |
21 element.main(); | 19 element.main(); |
22 sdk.main(); | 20 sdk.main(); |
23 }, name: 'dart'); | 21 }, name: 'dart'); |
24 } | 22 } |
OLD | NEW |