Index: pkg/analyzer/test/dart/ast/ast_test.dart |
diff --git a/pkg/analyzer/test/dart/ast/ast_test.dart b/pkg/analyzer/test/dart/ast/ast_test.dart |
index cfc85bd032eb2f760a41d443cdc649103735ec4f..208d7c0bdd2d1a2e4d78e63e92bb5fb8c4b755d0 100644 |
--- a/pkg/analyzer/test/dart/ast/ast_test.dart |
+++ b/pkg/analyzer/test/dart/ast/ast_test.dart |
@@ -9,8 +9,8 @@ import 'package:analyzer/dart/ast/token.dart'; |
import 'package:analyzer/src/dart/ast/token.dart'; |
import 'package:analyzer/src/generated/testing/ast_factory.dart'; |
import 'package:analyzer/src/generated/testing/token_factory.dart'; |
+import 'package:test/test.dart'; |
import 'package:test_reflective_loader/test_reflective_loader.dart'; |
-import 'package:unittest/unittest.dart'; |
import '../../generated/parser_test.dart' show ParserTestCase; |
import '../../generated/test_support.dart'; |
@@ -18,17 +18,19 @@ import '../../utils.dart'; |
main() { |
initializeTestEnvironment(); |
- defineReflectiveTests(ClassDeclarationTest); |
- defineReflectiveTests(ClassTypeAliasTest); |
- defineReflectiveTests(ConstructorDeclarationTest); |
- defineReflectiveTests(FieldFormalParameterTest); |
- defineReflectiveTests(IndexExpressionTest); |
- defineReflectiveTests(MethodDeclarationTest); |
- defineReflectiveTests(NodeListTest); |
- defineReflectiveTests(SimpleIdentifierTest); |
- defineReflectiveTests(SimpleStringLiteralTest); |
- defineReflectiveTests(StringInterpolationTest); |
- defineReflectiveTests(VariableDeclarationTest); |
+ defineReflectiveSuite(() { |
+ defineReflectiveTests(ClassDeclarationTest); |
+ defineReflectiveTests(ClassTypeAliasTest); |
+ defineReflectiveTests(ConstructorDeclarationTest); |
+ defineReflectiveTests(FieldFormalParameterTest); |
+ defineReflectiveTests(IndexExpressionTest); |
+ defineReflectiveTests(MethodDeclarationTest); |
+ defineReflectiveTests(NodeListTest); |
+ defineReflectiveTests(SimpleIdentifierTest); |
+ defineReflectiveTests(SimpleStringLiteralTest); |
+ defineReflectiveTests(StringInterpolationTest); |
+ defineReflectiveTests(VariableDeclarationTest); |
+ }); |
} |
@reflectiveTest |