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

Unified Diff: pkg/analysis_server/test/services/refactoring/move_file_test.dart

Issue 2653683004: Stop using SDK summary bundle. Analyze dart:xxx as any other libraries. (Closed)
Patch Set: Restore optional SDK bundle. Created 3 years, 11 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/analysis_server/test/services/refactoring/move_file_test.dart
diff --git a/pkg/analysis_server/test/services/refactoring/move_file_test.dart b/pkg/analysis_server/test/services/refactoring/move_file_test.dart
index c0cecec6ebacad6e8da169701f71fad9782d7f26..a421d21286fbac111dd1a374f5f8e312a78f36d4 100644
--- a/pkg/analysis_server/test/services/refactoring/move_file_test.dart
+++ b/pkg/analysis_server/test/services/refactoring/move_file_test.dart
@@ -13,7 +13,6 @@ import 'package:analyzer/src/generated/engine.dart';
import 'package:analyzer/src/generated/source.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
-import '../../abstract_context.dart';
import 'abstract_refactoring.dart';
main() {
@@ -114,7 +113,7 @@ import '22/new_name.dart';
'my_pkg': <Folder>[provider.getResource('/packages/my_pkg/lib')]
};
context.sourceFactory = new SourceFactory([
- AbstractContextTest.SDK_RESOLVER,
+ new DartUriResolver(sdk),
new PackageMapUriResolver(provider, packageMap),
resourceResolver
]);
@@ -241,7 +240,7 @@ export 'package:testName/myLib.dart';
''');
// configure Uri resolves
context.sourceFactory = new SourceFactory([
- AbstractContextTest.SDK_RESOLVER,
+ new DartUriResolver(sdk),
new PackageMapUriResolver(provider, <String, List<Folder>>{
'testName': <Folder>[provider.getResource('/testName/lib')]
}),

Powered by Google App Engine
This is Rietveld 408576698