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:unittest/unittest.dart'; | 7 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
8 | 8 |
9 import '../../utils.dart'; | 9 import '../../utils.dart'; |
10 import 'ast/test_all.dart' as ast; | 10 import 'ast/test_all.dart' as ast; |
11 import 'constant/test_all.dart' as constant; | 11 import 'constant/test_all.dart' as constant; |
12 import 'element/test_all.dart' as element; | 12 import 'element/test_all.dart' as element; |
13 import 'sdk/test_all.dart' as sdk; | 13 import 'sdk/test_all.dart' as sdk; |
14 | 14 |
15 /// Utility for manually running all tests. | 15 /// Utility for manually running all tests. |
16 main() { | 16 main() { |
17 initializeTestEnvironment(); | 17 initializeTestEnvironment(); |
18 group('dart tests', () { | 18 defineReflectiveSuite(() { |
19 ast.main(); | 19 ast.main(); |
20 constant.main(); | 20 constant.main(); |
21 element.main(); | 21 element.main(); |
22 sdk.main(); | 22 sdk.main(); |
23 }); | 23 }, name: 'dart'); |
24 } | 24 } |
OLD | NEW |