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

Unified Diff: pkg/analysis_server/test/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/context_manager_test.dart
diff --git a/pkg/analysis_server/test/context_manager_test.dart b/pkg/analysis_server/test/context_manager_test.dart
index 75a2e8e0be4459e38b338b404ff8c99d0c0d49d9..e7afc004f4962986f7d289a874a5f8361fc82130 100644
--- a/pkg/analysis_server/test/context_manager_test.dart
+++ b/pkg/analysis_server/test/context_manager_test.dart
@@ -5,7 +5,6 @@
library test.context.directory.manager;
import 'dart:collection';
-import 'dart:io' as io;
import 'package:analysis_server/src/context_manager.dart';
import 'package:analyzer/error/error.dart';
@@ -28,8 +27,8 @@ import 'package:linter/src/rules/avoid_as.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 'mock_sdk.dart';
import 'mocks.dart';
@@ -37,9 +36,11 @@ import 'utils.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(AbstractContextManagerTest);
- defineReflectiveTests(ContextManagerWithNewOptionsTest);
- defineReflectiveTests(ContextManagerWithOldOptionsTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(AbstractContextManagerTest);
+ defineReflectiveTests(ContextManagerWithNewOptionsTest);
+ defineReflectiveTests(ContextManagerWithOldOptionsTest);
+ });
}
@reflectiveTest

Powered by Google App Engine
This is Rietveld 408576698