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

Unified Diff: pkg/analyzer/test/src/dart/ast/utilities_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/ast/utilities_test.dart
diff --git a/pkg/analyzer/test/src/dart/ast/utilities_test.dart b/pkg/analyzer/test/src/dart/ast/utilities_test.dart
index a48fb6e31d99379757daadd4c9ca034d0802eabd..ae481ea66352372d0507f432999dfa7ccb8564f3 100644
--- a/pkg/analyzer/test/src/dart/ast/utilities_test.dart
+++ b/pkg/analyzer/test/src/dart/ast/utilities_test.dart
@@ -16,8 +16,8 @@ import 'package:analyzer/src/generated/java_engine.dart';
import 'package:analyzer/src/generated/testing/ast_factory.dart';
import 'package:analyzer/src/generated/testing/element_factory.dart';
import 'package:analyzer/src/generated/testing/token_factory.dart';
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
-import 'package:unittest/unittest.dart';
import '../../../generated/parser_test.dart' show ParserTestCase;
import '../../../generated/test_support.dart';
@@ -25,11 +25,13 @@ import '../../../utils.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(ConstantEvaluatorTest);
- defineReflectiveTests(NodeLocatorTest);
- defineReflectiveTests(NodeLocator2Test);
- defineReflectiveTests(ResolutionCopierTest);
- defineReflectiveTests(ToSourceVisitorTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(ConstantEvaluatorTest);
+ defineReflectiveTests(NodeLocatorTest);
+ defineReflectiveTests(NodeLocator2Test);
+ defineReflectiveTests(ResolutionCopierTest);
+ defineReflectiveTests(ToSourceVisitorTest);
+ });
}
@reflectiveTest

Powered by Google App Engine
This is Rietveld 408576698