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

Unified Diff: pkg/front_end/test/memory_file_system_test.dart

Issue 2988443002: Remove FileSystem.lastModified (Closed)
Patch Set: Created 3 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/front_end/test/memory_file_system_test.dart
diff --git a/pkg/front_end/test/memory_file_system_test.dart b/pkg/front_end/test/memory_file_system_test.dart
index 139fd7082f37d8b994e6dd7c912774f5bd7f597f..f0b44533d9816c1e308ea980ad39ed91a390e36f 100644
--- a/pkg/front_end/test/memory_file_system_test.dart
+++ b/pkg/front_end/test/memory_file_system_test.dart
@@ -58,23 +58,6 @@ class FileTest extends _BaseTestNative {
expect(file.hashCode, entityForPath(join(tempPath, 'file.txt')).hashCode);
}
- test_lastModified_doesNotExist() async {
- expect(file.lastModified(), _throwsFileSystemException);
- }
-
- test_lastModified_increasesOnEachChange() async {
- file.writeAsStringSync('x');
- var mod1 = await file.lastModified();
- file.writeAsStringSync('y');
- var mod2 = await file.lastModified();
- expect(mod2.isAfter(mod1), isTrue);
-
- var file2 = entityForPath(join(tempPath, 'file2.txt'));
- file2.writeAsStringSync('z');
- var mod3 = await file2.lastModified();
- expect(mod3.isAfter(mod2), isTrue);
- }
-
test_path() {
expect(file.uri, context.toUri(path));
}
« no previous file with comments | « pkg/front_end/lib/src/testing/hybrid_file_system.dart ('k') | pkg/front_end/test/physical_file_system_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698