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

Unified Diff: pkg/analyzer/test/generated/declaration_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/declaration_resolver_test.dart
diff --git a/pkg/analyzer/test/generated/declaration_resolver_test.dart b/pkg/analyzer/test/generated/declaration_resolver_test.dart
index fd1dd8a33d77d9a548778cd5aa93488e962acfb8..3fcf4595a182cf57115f4670f53fd0a6f615a1aa 100644
--- a/pkg/analyzer/test/generated/declaration_resolver_test.dart
+++ b/pkg/analyzer/test/generated/declaration_resolver_test.dart
@@ -13,8 +13,8 @@ import 'package:analyzer/src/generated/resolver.dart';
import 'package:analyzer/src/generated/source.dart';
import 'package:analyzer/src/task/dart.dart';
import 'package:analyzer/task/dart.dart';
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
-import 'package:unittest/unittest.dart';
import '../utils.dart';
import 'resolver_test_case.dart';
@@ -22,9 +22,11 @@ import 'test_support.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(DeclarationResolverMetadataTest);
- defineReflectiveTests(DeclarationResolverTest);
- defineReflectiveTests(StrongModeDeclarationResolverTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(DeclarationResolverMetadataTest);
+ defineReflectiveTests(DeclarationResolverTest);
+ defineReflectiveTests(StrongModeDeclarationResolverTest);
+ });
}
CompilationUnit _cloneResolveUnit(CompilationUnit unit) {

Powered by Google App Engine
This is Rietveld 408576698