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

Unified Diff: pkg/analysis_server/test/single_context_manager_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/single_context_manager_test.dart
diff --git a/pkg/analysis_server/test/single_context_manager_test.dart b/pkg/analysis_server/test/single_context_manager_test.dart
index 62376bf2eb678d52755f3f2ab05aa36923d07f2d..0befa75b5a6c916e133f1880bd54eb32bdc43994 100644
--- a/pkg/analysis_server/test/single_context_manager_test.dart
+++ b/pkg/analysis_server/test/single_context_manager_test.dart
@@ -17,8 +17,8 @@ import 'package:linter/src/plugin/linter_plugin.dart';
import 'package:path/path.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:unittest/unittest.dart';
import 'context_manager_test.dart' show TestContextManagerCallbacks;
import 'mock_sdk.dart';
@@ -27,7 +27,9 @@ import 'utils.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(SingleContextManagerTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(SingleContextManagerTest);
+ });
}
@reflectiveTest

Powered by Google App Engine
This is Rietveld 408576698