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

Unified Diff: pkg/analyzer/test/src/context/builder_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/context/builder_test.dart
diff --git a/pkg/analyzer/test/src/context/builder_test.dart b/pkg/analyzer/test/src/context/builder_test.dart
index de4ac1d57934b1e4d598e7901321e1e05e74d677..f9b703cc9a1be715c299c5780167b60a257f6553 100644
--- a/pkg/analyzer/test/src/context/builder_test.dart
+++ b/pkg/analyzer/test/src/context/builder_test.dart
@@ -18,8 +18,8 @@ import 'package:package_config/packages.dart';
import 'package:package_config/src/packages_impl.dart';
import 'package:path/path.dart' as path;
import 'package:plugin/src/plugin_impl.dart';
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
-import 'package:unittest/unittest.dart';
import '../../embedder_tests.dart';
import '../../generated/test_support.dart';
@@ -28,8 +28,10 @@ import 'mock_sdk.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(ContextBuilderTest);
- defineReflectiveTests(EmbedderYamlLocatorTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(ContextBuilderTest);
+ defineReflectiveTests(EmbedderYamlLocatorTest);
+ });
}
@reflectiveTest

Powered by Google App Engine
This is Rietveld 408576698