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

Unified Diff: pkg/analyzer/test/src/task/inputs_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/inputs_test.dart
diff --git a/pkg/analyzer/test/src/task/inputs_test.dart b/pkg/analyzer/test/src/task/inputs_test.dart
index 33bcbee53f38e5920391d359fb276100bd4a4f6f..abb0c04bc3568fef3c358e0ffecdb7aec997cea2 100644
--- a/pkg/analyzer/test/src/task/inputs_test.dart
+++ b/pkg/analyzer/test/src/task/inputs_test.dart
@@ -7,26 +7,28 @@ library analyzer.test.src.task.inputs_test;
import 'package:analyzer/src/task/inputs.dart';
import 'package:analyzer/src/task/model.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 '../../generated/test_support.dart';
import '../../utils.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(ConstantTaskInputBuilderTest);
- defineReflectiveTests(ConstantTaskInputTest);
- defineReflectiveTests(ListTaskInputImplTest);
- defineReflectiveTests(ListToListTaskInputTest);
- defineReflectiveTests(ListToListTaskInputBuilderTest);
- defineReflectiveTests(ListToMapTaskInputBuilderTest);
- defineReflectiveTests(ListToMapTaskInputTest);
- defineReflectiveTests(ObjectToListTaskInputBuilderTest);
- defineReflectiveTests(ObjectToListTaskInputTest);
- defineReflectiveTests(SimpleTaskInputTest);
- defineReflectiveTests(SimpleTaskInputBuilderTest);
- defineReflectiveTests(TopLevelTaskInputBuilderTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(ConstantTaskInputBuilderTest);
+ defineReflectiveTests(ConstantTaskInputTest);
+ defineReflectiveTests(ListTaskInputImplTest);
+ defineReflectiveTests(ListToListTaskInputTest);
+ defineReflectiveTests(ListToListTaskInputBuilderTest);
+ defineReflectiveTests(ListToMapTaskInputBuilderTest);
+ defineReflectiveTests(ListToMapTaskInputTest);
+ defineReflectiveTests(ObjectToListTaskInputBuilderTest);
+ defineReflectiveTests(ObjectToListTaskInputTest);
+ defineReflectiveTests(SimpleTaskInputTest);
+ defineReflectiveTests(SimpleTaskInputBuilderTest);
+ defineReflectiveTests(TopLevelTaskInputBuilderTest);
+ });
}
@reflectiveTest

Powered by Google App Engine
This is Rietveld 408576698