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

Unified Diff: pkg/analysis_server/test/services/correction/fix_test.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/correction/fix_test.dart
diff --git a/pkg/analysis_server/test/services/correction/fix_test.dart b/pkg/analysis_server/test/services/correction/fix_test.dart
index c7ed0bb0b0a6a58bd26ca639fc3ef09a6e63fe66..7b4dfd8b4439c86418e66ad983df387fa87be41d 100644
--- a/pkg/analysis_server/test/services/correction/fix_test.dart
+++ b/pkg/analysis_server/test/services/correction/fix_test.dart
@@ -18,8 +18,8 @@ import 'package:analyzer/source/package_map_resolver.dart';
import 'package:analyzer/src/error/codes.dart';
import 'package:analyzer/src/generated/parser.dart';
import 'package:analyzer/src/generated/source.dart';
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
-import 'package:unittest/unittest.dart';
import '../../abstract_context.dart';
import '../../abstract_single_unit.dart';
@@ -27,8 +27,10 @@ import '../../utils.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(FixProcessorTest);
- defineReflectiveTests(LintFixTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(FixProcessorTest);
+ defineReflectiveTests(LintFixTest);
+ });
}
typedef bool AnalysisErrorFilter(AnalysisError error);

Powered by Google App Engine
This is Rietveld 408576698