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

Unified Diff: pkg/analyzer/test/src/task/options_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/task/options_test.dart
diff --git a/pkg/analyzer/test/src/task/options_test.dart b/pkg/analyzer/test/src/task/options_test.dart
index 8e50dc03f273c6faa7348de98030b4e12d0a6d4b..0ae4c39765384ba1ae14e4616e0236a1cc0529ec 100644
--- a/pkg/analyzer/test/src/task/options_test.dart
+++ b/pkg/analyzer/test/src/task/options_test.dart
@@ -15,8 +15,8 @@ import 'package:analyzer/src/task/options.dart'
import 'package:analyzer/src/task/options.dart';
import 'package:analyzer/task/general.dart';
import 'package:analyzer/task/model.dart';
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
-import 'package:unittest/unittest.dart';
import 'package:yaml/yaml.dart';
import '../../generated/test_support.dart';
@@ -25,10 +25,12 @@ import '../context/abstract_context.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(ContextConfigurationTest);
- defineReflectiveTests(GenerateNewOptionsErrorsTaskTest);
- defineReflectiveTests(GenerateOldOptionsErrorsTaskTest);
- defineReflectiveTests(OptionsFileValidatorTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(ContextConfigurationTest);
+ defineReflectiveTests(GenerateNewOptionsErrorsTaskTest);
+ defineReflectiveTests(GenerateOldOptionsErrorsTaskTest);
+ defineReflectiveTests(OptionsFileValidatorTest);
+ });
}
isInstanceOf isGenerateOptionsErrorsTask =

Powered by Google App Engine
This is Rietveld 408576698