Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(596)

Unified Diff: pkg/analyzer/test/src/summary/test_all.dart

Issue 2391423003: Switch 'analyzer' to 'package:test' and test_reflective_loader ^0.1.0. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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');
}

Powered by Google App Engine
This is Rietveld 408576698