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

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

Issue 630863003: Stop sending launchData for non-analyzed files (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 6 years, 2 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/domain_execution_test.dart
diff --git a/pkg/analysis_server/test/domain_execution_test.dart b/pkg/analysis_server/test/domain_execution_test.dart
index c074fa1b14c8d4144b76acb0d6be8e2c1136950d..24aea8d6a8cad0953c18738d2924b40f24ef02ef 100644
--- a/pkg/analysis_server/test/domain_execution_test.dart
+++ b/pkg/analysis_server/test/domain_execution_test.dart
@@ -177,8 +177,12 @@ main() {
when(context.getLibrariesReferencedFromHtml(anyObject))
.thenReturn([source6, source7]);
+ ServerContextManager manager = new ServerContextManagerMock();
+ when(manager.isInAnalysisRoot(anyString)).thenReturn(true);
+
AnalysisServer server = new AnalysisServerMock();
when(server.getAnalysisContexts()).thenReturn([context]);
+ when(server.contextDirectoryManager).thenReturn(manager);
when(server.isAnalysisComplete()).thenReturn(false);
StreamController controller = new StreamController.broadcast(sync: true);
« no previous file with comments | « pkg/analysis_server/lib/src/domain_execution.dart ('k') | pkg/analysis_server/test/operation/operation_queue_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698