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

Unified Diff: pkg/analyzer/test/generated/resolver_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/resolver_test.dart
diff --git a/pkg/analyzer/test/generated/resolver_test.dart b/pkg/analyzer/test/generated/resolver_test.dart
index 1abacd6c1b6137bb1d340a954f68babd0ee37e21..3b743d079c03d7e4ff0f63513cf971ef57cd09b3 100644
--- a/pkg/analyzer/test/generated/resolver_test.dart
+++ b/pkg/analyzer/test/generated/resolver_test.dart
@@ -24,8 +24,8 @@ import 'package:analyzer/src/generated/testing/element_factory.dart';
import 'package:analyzer/src/generated/testing/test_type_provider.dart';
import 'package:analyzer/src/generated/utilities_dart.dart';
import 'package:analyzer/src/source/source_resource.dart';
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
-import 'package:unittest/unittest.dart';
import '../utils.dart';
import 'analysis_context_factory.dart';
@@ -34,20 +34,22 @@ import 'test_support.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(AnalysisDeltaTest);
- defineReflectiveTests(ChangeSetTest);
- defineReflectiveTests(EnclosedScopeTest);
- defineReflectiveTests(ErrorResolverTest);
- defineReflectiveTests(LibraryImportScopeTest);
- defineReflectiveTests(LibraryScopeTest);
- defineReflectiveTests(PrefixedNamespaceTest);
- defineReflectiveTests(ScopeTest);
- defineReflectiveTests(StrictModeTest);
- defineReflectiveTests(SubtypeManagerTest);
- defineReflectiveTests(TypeOverrideManagerTest);
- defineReflectiveTests(TypePropagationTest);
- defineReflectiveTests(TypeProviderImplTest);
- defineReflectiveTests(TypeResolverVisitorTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(AnalysisDeltaTest);
+ defineReflectiveTests(ChangeSetTest);
+ defineReflectiveTests(EnclosedScopeTest);
+ defineReflectiveTests(ErrorResolverTest);
+ defineReflectiveTests(LibraryImportScopeTest);
+ defineReflectiveTests(LibraryScopeTest);
+ defineReflectiveTests(PrefixedNamespaceTest);
+ defineReflectiveTests(ScopeTest);
+ defineReflectiveTests(StrictModeTest);
+ defineReflectiveTests(SubtypeManagerTest);
+ defineReflectiveTests(TypeOverrideManagerTest);
+ defineReflectiveTests(TypePropagationTest);
+ defineReflectiveTests(TypeProviderImplTest);
+ defineReflectiveTests(TypeResolverVisitorTest);
+ });
}
@reflectiveTest

Powered by Google App Engine
This is Rietveld 408576698