Index: pkg/analyzer/test/src/summary/test_all.dart |
diff --git a/pkg/analyzer/test/src/summary/test_all.dart b/pkg/analyzer/test/src/summary/test_all.dart |
index 2c9966b0c9ee02ed0110ab72e2c6ff5ac59b12e2..dd63f2f50444974a4793084eb1cb7019e818e67b 100644 |
--- a/pkg/analyzer/test/src/summary/test_all.dart |
+++ b/pkg/analyzer/test/src/summary/test_all.dart |
@@ -4,9 +4,8 @@ |
library test.src.serialization.test_all; |
-import 'package:unittest/unittest.dart'; |
+import 'package:test_reflective_loader/test_reflective_loader.dart'; |
-import '../../utils.dart'; |
import 'api_signature_test.dart' as api_signature_test; |
import 'bazel_summary_test.dart' as bazel_summary_test; |
import 'flat_buffers_test.dart' as flat_buffers_test; |
@@ -22,8 +21,7 @@ import 'summarize_ast_test.dart' as summarize_ast_test; |
/// Utility for manually running all tests. |
main() { |
- initializeTestEnvironment(); |
- group('summary tests', () { |
+ defineReflectiveSuite(() { |
api_signature_test.main(); |
bazel_summary_test.main(); |
flat_buffers_test.main(); |
@@ -36,5 +34,5 @@ main() { |
resynthesize_ast_test.main(); |
summarize_ast_strong_test.main(); |
summarize_ast_test.main(); |
- }); |
+ }, name: 'summary'); |
} |