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

Unified Diff: pkg/analysis_server/test/services/correction/change_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/change_test.dart
diff --git a/pkg/analysis_server/test/services/correction/change_test.dart b/pkg/analysis_server/test/services/correction/change_test.dart
index 0cc92b4ab7e6d4971c7b8f330a4a0fd24c169787..24e87f49dde28183f26c2b1e67fe43af50f9801a 100644
--- a/pkg/analysis_server/test/services/correction/change_test.dart
+++ b/pkg/analysis_server/test/services/correction/change_test.dart
@@ -7,19 +7,21 @@ library test.services.correction.change;
import 'package:analysis_server/src/constants.dart';
import 'package:analysis_server/src/protocol_server.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 '../../utils.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(ChangeTest);
- defineReflectiveTests(EditTest);
- defineReflectiveTests(FileEditTest);
- defineReflectiveTests(LinkedEditGroupTest);
- defineReflectiveTests(LinkedEditSuggestionTest);
- defineReflectiveTests(PositionTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(ChangeTest);
+ defineReflectiveTests(EditTest);
+ defineReflectiveTests(FileEditTest);
+ defineReflectiveTests(LinkedEditGroupTest);
+ defineReflectiveTests(LinkedEditSuggestionTest);
+ defineReflectiveTests(PositionTest);
+ });
}
@reflectiveTest

Powered by Google App Engine
This is Rietveld 408576698