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

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

Issue 2612723002: Implement 'analysis.analyzedFiles' notification with the new analysis driver. (Closed)
Patch Set: Created 3 years, 12 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_abstract.dart
diff --git a/pkg/analysis_server/test/analysis_abstract.dart b/pkg/analysis_server/test/analysis_abstract.dart
index ac463bb04470dd21608af02fa5e5ec845d3dc63f..c147c23bc7493ed6a2bfe3741033ea081f2c0467 100644
--- a/pkg/analysis_server/test/analysis_abstract.dart
+++ b/pkg/analysis_server/test/analysis_abstract.dart
@@ -197,7 +197,8 @@ class AbstractAnalysisTest {
}
String modifyTestFile(String content) {
- addFile(testFile, content);
+ String path = resourceProvider.convertPath(testFile);
+ resourceProvider.updateFile(path, content);
this.testCode = content;
return testFile;
}

Powered by Google App Engine
This is Rietveld 408576698