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

Unified Diff: pkg/analysis_server/test/services/test_all.dart

Issue 2394683006: Switch analysis_server to use 'package:test'. (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/analysis_server/test/services/test_all.dart
diff --git a/pkg/analysis_server/test/services/test_all.dart b/pkg/analysis_server/test/services/test_all.dart
index e0c20861437318f26b00931c4af615912489b8a3..8b040a2aa0f7d527d270a4efaa5076ff6cc57733 100644
--- a/pkg/analysis_server/test/services/test_all.dart
+++ b/pkg/analysis_server/test/services/test_all.dart
@@ -4,6 +4,8 @@
library test.services;
+import 'package:test_reflective_loader/test_reflective_loader.dart';
+
import '../utils.dart';
import 'completion/test_all.dart' as completion_all;
import 'correction/test_all.dart' as correction_all;
@@ -16,11 +18,13 @@ import 'search/test_all.dart' as search_all;
/// Utility for manually running all tests.
main() {
initializeTestEnvironment();
- completion_all.main();
- correction_all.main();
- dependencies_all.main();
- index_all.main();
- linter_all.main();
- refactoring_all.main();
- search_all.main();
+ defineReflectiveSuite(() {
+ completion_all.main();
+ correction_all.main();
+ dependencies_all.main();
+ index_all.main();
+ linter_all.main();
+ refactoring_all.main();
+ search_all.main();
+ });
}

Powered by Google App Engine
This is Rietveld 408576698