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

Unified Diff: pkg/analyzer/test/src/util/absolute_path_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/util/absolute_path_test.dart
diff --git a/pkg/analyzer/test/src/util/absolute_path_test.dart b/pkg/analyzer/test/src/util/absolute_path_test.dart
index f8be96bc475871cd7ae56a241de2aa45d5f32e1b..75cd31ca8f89ebb346b7bdfa59b60c93140dfefb 100644
--- a/pkg/analyzer/test/src/util/absolute_path_test.dart
+++ b/pkg/analyzer/test/src/util/absolute_path_test.dart
@@ -5,15 +5,17 @@
library analyzer.test.src.util.absolute_path_test;
import 'package:analyzer/src/util/absolute_path.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(AbsolutePathContextPosixTest);
- defineReflectiveTests(AbsolutePathContextWindowsTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(AbsolutePathContextPosixTest);
+ defineReflectiveTests(AbsolutePathContextWindowsTest);
+ });
}
@reflectiveTest

Powered by Google App Engine
This is Rietveld 408576698