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

Unified Diff: pkg/analyzer/test/src/context/cache_test.dart

Issue 2383203003: Add an analysis option to disable cache flushing. (Closed)
Patch Set: Created 4 years, 3 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/analyzer/test/src/context/cache_test.dart
diff --git a/pkg/analyzer/test/src/context/cache_test.dart b/pkg/analyzer/test/src/context/cache_test.dart
index d6af6ce666d657006f221194fc8f6e43a24f2d88..44f609549cec0f8de3d3077888ef000049dd635a 100644
--- a/pkg/analyzer/test/src/context/cache_test.dart
+++ b/pkg/analyzer/test/src/context/cache_test.dart
@@ -1287,7 +1287,10 @@ class UniversalCachePartitionTest extends CachePartitionTest {
}
class _InternalAnalysisContextMock extends TypedMock
- implements InternalAnalysisContext {}
+ implements InternalAnalysisContext {
+ @override
+ final AnalysisOptions analysisOptions = new AnalysisOptionsImpl();
+}
/**
* Keep the given [keepDescriptor], invalidate all the other results.
« no previous file with comments | « pkg/analyzer/test/src/context/builder_test.dart ('k') | pkg/analyzer/test/src/task/dart_work_manager_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698