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

Unified Diff: pkg/analyzer/test/src/dart/constant/evaluation_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/dart/constant/evaluation_test.dart
diff --git a/pkg/analyzer/test/src/dart/constant/evaluation_test.dart b/pkg/analyzer/test/src/dart/constant/evaluation_test.dart
index 9de8247f5e2285f205cc2b2ce5d73f35521b71aa..f5bac8206e7da7d32b6fecac1da82348a9414dbc 100644
--- a/pkg/analyzer/test/src/dart/constant/evaluation_test.dart
+++ b/pkg/analyzer/test/src/dart/constant/evaluation_test.dart
@@ -21,8 +21,8 @@ import 'package:analyzer/src/generated/testing/ast_factory.dart';
import 'package:analyzer/src/generated/testing/test_type_provider.dart';
import 'package:analyzer/src/task/dart.dart';
import 'package:path/path.dart';
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
-import 'package:unittest/unittest.dart';
import '../../../generated/resolver_test_case.dart';
import '../../../generated/test_support.dart';
@@ -30,9 +30,11 @@ import '../../../utils.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(ConstantValueComputerTest);
- defineReflectiveTests(ConstantVisitorTest);
- defineReflectiveTests(StrongConstantValueComputerTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(ConstantValueComputerTest);
+ defineReflectiveTests(ConstantVisitorTest);
+ defineReflectiveTests(StrongConstantValueComputerTest);
+ });
}
/**

Powered by Google App Engine
This is Rietveld 408576698