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

Unified Diff: pkg/analyzer/test/generated/all_the_rest_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/all_the_rest_test.dart
diff --git a/pkg/analyzer/test/generated/all_the_rest_test.dart b/pkg/analyzer/test/generated/all_the_rest_test.dart
index a8411f4846ff767bdd05dd04d8492f0d64233402..6119f4085a5f480b35d37c5e12cd876c52b8354c 100644
--- a/pkg/analyzer/test/generated/all_the_rest_test.dart
+++ b/pkg/analyzer/test/generated/all_the_rest_test.dart
@@ -35,8 +35,8 @@ import 'package:analyzer/src/generated/utilities_dart.dart';
import 'package:analyzer/src/source/source_resource.dart';
import 'package:path/path.dart';
import 'package:source_span/source_span.dart';
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
-import 'package:unittest/unittest.dart';
import '../utils.dart';
import 'parser_test.dart';
@@ -45,26 +45,28 @@ import 'test_support.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(ContentCacheTest);
- // ignore: deprecated_member_use
- defineReflectiveTests(CustomUriResolverTest);
- defineReflectiveTests(DartUriResolverTest);
- // ignore: deprecated_member_use
- defineReflectiveTests(DirectoryBasedDartSdkTest);
- // ignore: deprecated_member_use
- defineReflectiveTests(DirectoryBasedSourceContainerTest);
- defineReflectiveTests(ElementBuilderTest);
- defineReflectiveTests(ElementLocatorTest);
- defineReflectiveTests(EnumMemberBuilderTest);
- defineReflectiveTests(ErrorReporterTest);
- defineReflectiveTests(ErrorSeverityTest);
- defineReflectiveTests(ExitDetectorTest);
- defineReflectiveTests(ExitDetectorTest2);
- defineReflectiveTests(FileBasedSourceTest);
- defineReflectiveTests(ResolveRelativeUriTest);
- // ignore: deprecated_member_use
- defineReflectiveTests(SDKLibrariesReaderTest);
- defineReflectiveTests(UriKindTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(ContentCacheTest);
+ // ignore: deprecated_member_use
+ defineReflectiveTests(CustomUriResolverTest);
+ defineReflectiveTests(DartUriResolverTest);
+ // ignore: deprecated_member_use
+ defineReflectiveTests(DirectoryBasedDartSdkTest);
+ // ignore: deprecated_member_use
+ defineReflectiveTests(DirectoryBasedSourceContainerTest);
+ defineReflectiveTests(ElementBuilderTest);
+ defineReflectiveTests(ElementLocatorTest);
+ defineReflectiveTests(EnumMemberBuilderTest);
+ defineReflectiveTests(ErrorReporterTest);
+ defineReflectiveTests(ErrorSeverityTest);
+ defineReflectiveTests(ExitDetectorTest);
+ defineReflectiveTests(ExitDetectorTest2);
+ defineReflectiveTests(FileBasedSourceTest);
+ defineReflectiveTests(ResolveRelativeUriTest);
+ // ignore: deprecated_member_use
+ defineReflectiveTests(SDKLibrariesReaderTest);
+ defineReflectiveTests(UriKindTest);
+ });
}
/**

Powered by Google App Engine
This is Rietveld 408576698