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

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

Issue 2552023002: Send 'analysis.flushResults' on file removal. (Closed)
Patch Set: Created 4 years 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 46a2d44dd3a70f4f6c09f361b0936fe26a27746d..c95252b21a13f7905bbdd925d1e7d1ec09281b44 100644
--- a/pkg/analysis_server/test/context_manager_test.dart
+++ b/pkg/analysis_server/test/context_manager_test.dart
@@ -2521,6 +2521,11 @@ class TestContextManagerCallbacks extends ContextManagerCallbacks {
currentContext.applyChanges(changeSet);
}
+ @override
+ void applyFileRemoved(AnalysisDriver driver, String file) {
+ throw new StateError('Unexpected invocation of applyFileRemoved');
+ }
+
void assertContextFiles(String contextPath, List<String> expectedFiles) {
var actualFiles = currentContextFilePaths[contextPath].keys;
expect(actualFiles, unorderedEquals(expectedFiles));
« 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