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 d5a31c41c420ad5add4e28ff165a48674208f19e..b9f36085b0c2bcf91f7b6174dee67006789e7ecd 100644 |
--- a/pkg/analyzer/test/src/context/cache_test.dart |
+++ b/pkg/analyzer/test/src/context/cache_test.dart |
@@ -22,9 +22,10 @@ import 'package:unittest/unittest.dart'; |
import '../../generated/test_support.dart'; |
import '../../reflective_tests.dart'; |
+import '../../utils.dart'; |
main() { |
- groupSep = ' | '; |
+ initializeTestEnvironment(); |
runReflectiveTests(AnalysisCacheTest); |
runReflectiveTests(CacheEntryTest); |
runReflectiveTests(CacheFlushManagerTest); |
@@ -33,7 +34,8 @@ main() { |
runReflectiveTests(ResultDataTest); |
} |
-AnalysisCache createCache({AnalysisContext context, |
+AnalysisCache createCache( |
+ {AnalysisContext context, |
RetentionPriority policy: RetentionPriority.LOW}) { |
CachePartition partition = new UniversalCachePartition(context); |
return new AnalysisCache(<CachePartition>[partition]); |