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 b172dcfc1dcef220c544e0c4611765c6079439c2..369cbdd8f0cbaa846e7d72a630ab346b6d82cde6 100644 |
--- a/pkg/analyzer/test/src/context/cache_test.dart |
+++ b/pkg/analyzer/test/src/context/cache_test.dart |
@@ -933,7 +933,7 @@ class CacheFlushManagerTest { |
test_new() { |
expect(manager.maxActiveSize, 15); |
expect(manager.maxIdleSize, 3); |
- expect(manager.maxSize, 3); |
+ expect(manager.maxSize, 15); |
expect(manager.currentSize, 0); |
expect(manager.recentlyUsed, isEmpty); |
} |
@@ -994,6 +994,8 @@ class CacheFlushManagerTest { |
} |
test_resultStored() { |
+ CacheFlushManager manager = new CacheFlushManager( |
+ new SimpleResultCachingPolicy(3, 3), (AnalysisTarget target) => false); |
ResultDescriptor descriptor1 = new ResultDescriptor('result1', null); |
ResultDescriptor descriptor2 = new ResultDescriptor('result2', null); |
ResultDescriptor descriptor3 = new ResultDescriptor('result3', null); |