| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library analyzer.test.src.context.cache_test; | 5 library analyzer.test.src.context.cache_test; |
| 6 | 6 |
| 7 import 'package:analyzer/file_system/file_system.dart'; | 7 import 'package:analyzer/file_system/file_system.dart'; |
| 8 import 'package:analyzer/file_system/memory_file_system.dart'; | 8 import 'package:analyzer/file_system/memory_file_system.dart'; |
| 9 import 'package:analyzer/file_system/physical_file_system.dart'; | 9 import 'package:analyzer/file_system/physical_file_system.dart'; |
| 10 import 'package:analyzer/source/package_map_resolver.dart'; | 10 import 'package:analyzer/source/package_map_resolver.dart'; |
| (...skipping 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1246 @override | 1246 @override |
| 1247 bool gatherChanges(InternalAnalysisContext context, AnalysisTarget target, | 1247 bool gatherChanges(InternalAnalysisContext context, AnalysisTarget target, |
| 1248 ResultDescriptor descriptor, Object value) { | 1248 ResultDescriptor descriptor, Object value) { |
| 1249 return false; | 1249 return false; |
| 1250 } | 1250 } |
| 1251 | 1251 |
| 1252 @override | 1252 @override |
| 1253 void gatherEnd() {} | 1253 void gatherEnd() {} |
| 1254 | 1254 |
| 1255 @override | 1255 @override |
| 1256 bool gatherRequired() => false; |
| 1257 |
| 1258 @override |
| 1256 DeltaResult validate(InternalAnalysisContext context, AnalysisTarget target, | 1259 DeltaResult validate(InternalAnalysisContext context, AnalysisTarget target, |
| 1257 ResultDescriptor descriptor, Object value) { | 1260 ResultDescriptor descriptor, Object value) { |
| 1258 if (descriptor == keepDescriptor) { | 1261 if (descriptor == keepDescriptor) { |
| 1259 return DeltaResult.KEEP_CONTINUE; | 1262 return DeltaResult.KEEP_CONTINUE; |
| 1260 } | 1263 } |
| 1261 return DeltaResult.INVALIDATE; | 1264 return DeltaResult.INVALIDATE; |
| 1262 } | 1265 } |
| 1263 } | 1266 } |
| 1264 | 1267 |
| 1265 class _TestAnalysisTarget implements AnalysisTarget { | 1268 class _TestAnalysisTarget implements AnalysisTarget { |
| 1266 @override | 1269 @override |
| 1267 Source get librarySource => null; | 1270 Source get librarySource => null; |
| 1268 | 1271 |
| 1269 @override | 1272 @override |
| 1270 Source get source => null; | 1273 Source get source => null; |
| 1271 } | 1274 } |
| OLD | NEW |