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

Unified Diff: pkg/analysis_server/test/analysis_server_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/analysis_server_test.dart
diff --git a/pkg/analysis_server/test/analysis_server_test.dart b/pkg/analysis_server/test/analysis_server_test.dart
index ed5056358079840d99fb2abad05137986cb91e07..935d60a314cfcb434cd0ef74e430eb83196bb35c 100644
--- a/pkg/analysis_server/test/analysis_server_test.dart
+++ b/pkg/analysis_server/test/analysis_server_test.dart
@@ -23,9 +23,9 @@ import 'package:analyzer/src/generated/sdk.dart';
import 'package:analyzer/src/generated/source.dart';
import 'package:plugin/manager.dart';
import 'package:plugin/plugin.dart';
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'package:typed_mock/typed_mock.dart';
-import 'package:unittest/unittest.dart';
import 'mock_sdk.dart';
import 'mocks.dart';
@@ -33,7 +33,9 @@ import 'utils.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(AnalysisServerTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(AnalysisServerTest);
+ });
}
@reflectiveTest

Powered by Google App Engine
This is Rietveld 408576698