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

Unified Diff: pkg/analyzer/test/src/task/driver_test.dart

Issue 2391423003: Switch 'analyzer' to 'package:test' and test_reflective_loader ^0.1.0. (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/analyzer/test/src/task/driver_test.dart
diff --git a/pkg/analyzer/test/src/task/driver_test.dart b/pkg/analyzer/test/src/task/driver_test.dart
index 35ff65709f289cb917bcd977d1b4d50a1de63cb5..d8e8ddec362a93b5eccb1ef44181b18c974ca601 100644
--- a/pkg/analyzer/test/src/task/driver_test.dart
+++ b/pkg/analyzer/test/src/task/driver_test.dart
@@ -11,9 +11,9 @@ import 'package:analyzer/src/task/driver.dart';
import 'package:analyzer/src/task/inputs.dart';
import 'package:analyzer/src/task/manager.dart';
import 'package:analyzer/task/model.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 '../../generated/test_support.dart';
import '../../utils.dart';
@@ -21,10 +21,12 @@ import 'test_support.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(AnalysisDriverTest);
- defineReflectiveTests(CycleAwareDependencyWalkerTest);
- defineReflectiveTests(WorkItemTest);
- defineReflectiveTests(WorkOrderTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(AnalysisDriverTest);
+ defineReflectiveTests(CycleAwareDependencyWalkerTest);
+ defineReflectiveTests(WorkItemTest);
+ defineReflectiveTests(WorkOrderTest);
+ });
}
class AbstractDriverTest {

Powered by Google App Engine
This is Rietveld 408576698