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

Unified Diff: pkg/analyzer/test/src/summary/summarize_ast_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/summary/summarize_ast_test.dart
diff --git a/pkg/analyzer/test/src/summary/summarize_ast_test.dart b/pkg/analyzer/test/src/summary/summarize_ast_test.dart
index 03c638eeb2eefd2985e2156b811b487b7ff2858d..d34b68eba1e18b5dc70da32d1d1df0955bdf8748 100644
--- a/pkg/analyzer/test/src/summary/summarize_ast_test.dart
+++ b/pkg/analyzer/test/src/summary/summarize_ast_test.dart
@@ -18,14 +18,14 @@ import 'package:analyzer/src/summary/link.dart';
import 'package:analyzer/src/summary/package_bundle_reader.dart';
import 'package:analyzer/src/summary/summarize_ast.dart';
import 'package:analyzer/src/summary/summarize_elements.dart';
+import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'package:unittest/unittest.dart';
-import '../../reflective_tests.dart';
import 'summary_common.dart';
main() {
groupSep = ' | ';
- runReflectiveTests(LinkedSummarizeAstSpecTest);
+ defineReflectiveTests(LinkedSummarizeAstSpecTest);
}
@reflectiveTest
@@ -265,7 +265,8 @@ abstract class SummaryLinkerTest {
return null;
}
- LinkerInputs createLinkerInputs(String text, {String path: '/test.dart', String uri}) {
+ LinkerInputs createLinkerInputs(String text,
+ {String path: '/test.dart', String uri}) {
uri ??= absUri(path);
Uri testDartUri = Uri.parse(uri);
CompilationUnit unit = _parseText(text);

Powered by Google App Engine
This is Rietveld 408576698