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

Unified Diff: pkg/analyzer/test/src/task/strong/inferred_type_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/strong/inferred_type_test.dart
diff --git a/pkg/analyzer/test/src/task/strong/inferred_type_test.dart b/pkg/analyzer/test/src/task/strong/inferred_type_test.dart
index 5a0bc4da4bd3dde4464b6eeaec2a8da2ed57b436..da86f94ba7a0ef31a7751d4abe471c5b81a1ec1c 100644
--- a/pkg/analyzer/test/src/task/strong/inferred_type_test.dart
+++ b/pkg/analyzer/test/src/task/strong/inferred_type_test.dart
@@ -8,14 +8,15 @@
library analyzer.test.src.task.strong.inferred_type_test;
import 'package:analyzer/dart/element/element.dart';
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
-import 'package:unittest/unittest.dart';
import 'strong_test_helper.dart' as helper;
void main() {
- helper.initStrongModeTests();
- defineReflectiveTests(InferredTypeTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(InferredTypeTest);
+ });
}
abstract class InferredTypeMixin {
@@ -4630,4 +4631,12 @@ class InferredTypeTest extends InferredTypeMixin {
CompilationUnitElement checkFile(String content) {
return helper.checkFile(content).element;
}
+
+ void setUp() {
+ helper.doSetUp();
+ }
+
+ void tearDown() {
+ helper.doTearDown();
+ }
}

Powered by Google App Engine
This is Rietveld 408576698