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

Unified Diff: pkg/analysis_server/test/analysis/reanalyze_test.dart

Issue 1750683002: Move folderMap from AnalysisContext to ContextManager (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
Index: pkg/analysis_server/test/analysis/reanalyze_test.dart
diff --git a/pkg/analysis_server/test/analysis/reanalyze_test.dart b/pkg/analysis_server/test/analysis/reanalyze_test.dart
index 0b39e881ec7334c8a2eb7970c2ce7b8c423e3c1e..b7f62d05e555d2a27657926d9a4949c27c741f7a 100644
--- a/pkg/analysis_server/test/analysis/reanalyze_test.dart
+++ b/pkg/analysis_server/test/analysis/reanalyze_test.dart
@@ -32,13 +32,13 @@ class ReanalyzeTest extends AbstractAnalysisTest {
test_reanalyze() {
createProject();
- List<AnalysisContext> contexts = server.folderMap.values.toList();
+ List<AnalysisContext> contexts = server.analysisContexts.toList();
expect(contexts, hasLength(1));
AnalysisContext oldContext = contexts[0];
// Reanalyze should cause a brand new context to be built.
Request request = new Request("0", ANALYSIS_REANALYZE);
handleSuccessfulRequest(request);
- contexts = server.folderMap.values.toList();
+ contexts = server.analysisContexts.toList();
expect(contexts, hasLength(1));
AnalysisContext newContext = contexts[0];
expect(newContext, isNot(same(oldContext)));

Powered by Google App Engine
This is Rietveld 408576698