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

Unified Diff: pkg/analysis_server/test/services/refactoring/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/refactoring/test_all.dart
diff --git a/pkg/analysis_server/test/services/refactoring/test_all.dart b/pkg/analysis_server/test/services/refactoring/test_all.dart
index 1dcb857581ef44b3e93909d9e131c45fad3ae13c..25a96b252d00f4b8308fb75daff6b8b32a620c06 100644
--- a/pkg/analysis_server/test/services/refactoring/test_all.dart
+++ b/pkg/analysis_server/test/services/refactoring/test_all.dart
@@ -4,7 +4,7 @@
library test.services.refactoring;
-import 'package:unittest/unittest.dart';
+import 'package:test_reflective_loader/test_reflective_loader.dart';
import '../../utils.dart';
import 'convert_getter_to_method_test.dart' as convert_getter_to_method_test;
@@ -26,7 +26,7 @@ import 'rename_unit_member_test.dart' as rename_unit_member_test;
/// Utility for manually running all tests.
main() {
initializeTestEnvironment();
- group('refactoring', () {
+ defineReflectiveSuite(() {
convert_getter_to_method_test.main();
convert_method_to_getter_test.main();
extract_local_test.main();
@@ -42,5 +42,5 @@ main() {
rename_library_test.main();
rename_local_test.main();
rename_unit_member_test.main();
- });
+ }, name: 'refactoring');
}

Powered by Google App Engine
This is Rietveld 408576698