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

Unified Diff: pkg/analysis_server/test/context_manager_test.dart

Issue 1739913003: Start work to remove the context manager callbacks (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « pkg/analysis_server/lib/src/context_manager.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/context_manager_test.dart
diff --git a/pkg/analysis_server/test/context_manager_test.dart b/pkg/analysis_server/test/context_manager_test.dart
index a94314bc2377ef1b1b0745823bce069c3a9cee36..b43e501d07d001e3972fdebb67257d695ed88c9c 100644
--- a/pkg/analysis_server/test/context_manager_test.dart
+++ b/pkg/analysis_server/test/context_manager_test.dart
@@ -142,7 +142,8 @@ class AbstractContextManagerTest {
providePackageResolver,
provideEmbeddedUriResolver,
packageMapProvider,
- InstrumentationService.NULL_SERVICE);
+ InstrumentationService.NULL_SERVICE,
+ new AnalysisOptionsImpl());
callbacks = new TestContextManagerCallbacks(resourceProvider);
manager.callbacks = callbacks;
resourceProvider.newFolder(projPath);
@@ -2363,9 +2364,6 @@ class TestContextManagerCallbacks extends ContextManagerCallbacks {
Iterable<String> get currentContextPaths => currentContextTimestamps.keys;
@override
- AnalysisOptions get defaultAnalysisOptions => new AnalysisOptionsImpl();
-
- @override
AnalysisContext addContext(
Folder folder, AnalysisOptions options, FolderDisposition disposition) {
String path = folder.path;
« no previous file with comments | « pkg/analysis_server/lib/src/context_manager.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698