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

Unified Diff: pkg/analyzer/test/file_system/memory_file_system_test.dart

Issue 2132073003: Validate cache consistency asynchronously. Compute modification times of physical files in a separa… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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/file_system/memory_file_system_test.dart
diff --git a/pkg/analyzer/test/file_system/memory_file_system_test.dart b/pkg/analyzer/test/file_system/memory_file_system_test.dart
index a6adddd21f97ca7bd4329d63b77db484eb07f870..2787ce2ca08736402270f17ca580a2c76e1305a7 100644
--- a/pkg/analyzer/test/file_system/memory_file_system_test.dart
+++ b/pkg/analyzer/test/file_system/memory_file_system_test.dart
@@ -615,6 +615,13 @@ class MemoryResourceProviderTest {
}, throwsA(new isInstanceOf<ArgumentError>()));
}
+ test_getModificationTimes() async {
+ File file = provider.newFile('/test.dart', '');
+ Source source = file.createSource();
+ List<int> times = await provider.getModificationTimes([source]);
+ expect(times, [source.modificationStamp]);
+ }
+
test_watch_createFile() {
String rootPath = '/my/path';
provider.newFolder(rootPath);

Powered by Google App Engine
This is Rietveld 408576698