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

Unified Diff: pkg/analyzer/test/generated/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/generated/utilities_test.dart
diff --git a/pkg/analyzer/test/generated/utilities_test.dart b/pkg/analyzer/test/generated/utilities_test.dart
index 8e23ae1bece10f229620842d402df56e7989a34d..f7144ecd80b88a76e8b6dbab11a6fe1f6b06b8fe 100644
--- a/pkg/analyzer/test/generated/utilities_test.dart
+++ b/pkg/analyzer/test/generated/utilities_test.dart
@@ -18,24 +18,26 @@ import 'package:analyzer/src/generated/source.dart';
import 'package:analyzer/src/generated/testing/ast_factory.dart';
import 'package:analyzer/src/generated/testing/token_factory.dart';
import 'package:analyzer/src/generated/utilities_collection.dart';
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
-import 'package:unittest/unittest.dart';
import '../utils.dart';
import 'test_support.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(AstClonerTest);
- defineReflectiveTests(NodeReplacerTest);
- defineReflectiveTests(LineInfoTest);
- defineReflectiveTests(SourceRangeTest);
- defineReflectiveTests(BooleanArrayTest);
- defineReflectiveTests(DirectedGraphTest);
- defineReflectiveTests(MultipleMapIteratorTest);
- defineReflectiveTests(SingleMapIteratorTest);
- defineReflectiveTests(TokenMapTest);
- defineReflectiveTests(StringUtilitiesTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(AstClonerTest);
+ defineReflectiveTests(NodeReplacerTest);
+ defineReflectiveTests(LineInfoTest);
+ defineReflectiveTests(SourceRangeTest);
+ defineReflectiveTests(BooleanArrayTest);
+ defineReflectiveTests(DirectedGraphTest);
+ defineReflectiveTests(MultipleMapIteratorTest);
+ defineReflectiveTests(SingleMapIteratorTest);
+ defineReflectiveTests(TokenMapTest);
+ defineReflectiveTests(StringUtilitiesTest);
+ });
}
class AstCloneComparator extends AstComparator {

Powered by Google App Engine
This is Rietveld 408576698