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

Unified Diff: pkg/analyzer/test/src/task/html_test.dart

Issue 2298913003: Pull in test_reflective_loader 0.0.4 and switch analyzer to it. (Closed)
Patch Set: Fixes for review comments. Created 4 years, 4 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/html_test.dart
diff --git a/pkg/analyzer/test/src/task/html_test.dart b/pkg/analyzer/test/src/task/html_test.dart
index a41cc1c797a4d761641ea32868aa6499496d979e..78fee27fe21c928c56a7ee0ec2366d5fbfbd962a 100644
--- a/pkg/analyzer/test/src/task/html_test.dart
+++ b/pkg/analyzer/test/src/task/html_test.dart
@@ -10,17 +10,17 @@ import 'package:analyzer/task/general.dart';
import 'package:analyzer/task/html.dart';
import 'package:analyzer/task/model.dart';
import 'package:html/dom.dart';
+import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'package:unittest/unittest.dart';
-import '../../reflective_tests.dart';
import '../../utils.dart';
import '../context/abstract_context.dart';
main() {
initializeTestEnvironment();
- runReflectiveTests(DartScriptsTaskTest);
- runReflectiveTests(HtmlErrorsTaskTest);
- runReflectiveTests(ParseHtmlTaskTest);
+ defineReflectiveTests(DartScriptsTaskTest);
+ defineReflectiveTests(HtmlErrorsTaskTest);
+ defineReflectiveTests(ParseHtmlTaskTest);
}
isInstanceOf isDartScriptsTask = new isInstanceOf<DartScriptsTask>();

Powered by Google App Engine
This is Rietveld 408576698