Index: pkg/analyzer/test/resource_utils.dart |
diff --git a/pkg/analyzer/test/resource_utils.dart b/pkg/analyzer/test/resource_utils.dart |
index 5936144f19d2d9e9a9147b1b3977ae431e7c2ae2..65f7069d4914ae37207645620429255872daba08 100644 |
--- a/pkg/analyzer/test/resource_utils.dart |
+++ b/pkg/analyzer/test/resource_utils.dart |
@@ -4,10 +4,12 @@ |
library analyzer.test.resource_utils; |
+import 'dart:async'; |
import 'dart:core' hide Resource; |
import 'package:analyzer/file_system/file_system.dart'; |
import 'package:analyzer/file_system/memory_file_system.dart'; |
+import 'package:analyzer/src/generated/source.dart'; |
import 'package:analyzer/src/util/absolute_path.dart'; |
import 'package:path/path.dart' as path; |
import 'package:unittest/unittest.dart'; |
@@ -104,6 +106,11 @@ class TestResourceProvider implements ResourceProvider { |
Folder getFolder(String path) => _provider.getFolder(_assertPath(path)); |
@override |
+ Future<List<int>> getModificationTimes(List<Source> sources) async { |
+ return sources.map((source) => 0).toList(); |
+ } |
+ |
+ @override |
Resource getResource(String path) => _provider.getResource(_assertPath(path)); |
@override |