| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 engine.engine_test; | 5 library engine.engine_test; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:collection'; | 8 import 'dart:collection'; |
| 9 | 9 |
| 10 import 'package:analyzer/file_system/memory_file_system.dart'; | 10 import 'package:analyzer/file_system/memory_file_system.dart'; |
| (...skipping 5931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5942 } | 5942 } |
| 5943 | 5943 |
| 5944 @override | 5944 @override |
| 5945 CompilationUnitElement getCompilationUnitElement( | 5945 CompilationUnitElement getCompilationUnitElement( |
| 5946 Source unitSource, Source librarySource) { | 5946 Source unitSource, Source librarySource) { |
| 5947 fail("Unexpected invocation of getCompilationUnitElement"); | 5947 fail("Unexpected invocation of getCompilationUnitElement"); |
| 5948 return null; | 5948 return null; |
| 5949 } | 5949 } |
| 5950 | 5950 |
| 5951 @override | 5951 @override |
| 5952 Object getConfigurationData(newContext.ResultDescriptor key) { |
| 5953 fail("Unexpected invocation of getConfigurationData"); |
| 5954 } |
| 5955 |
| 5956 @override |
| 5952 TimestampedData<String> getContents(Source source) { | 5957 TimestampedData<String> getContents(Source source) { |
| 5953 fail("Unexpected invocation of getContents"); | 5958 fail("Unexpected invocation of getContents"); |
| 5954 return null; | 5959 return null; |
| 5955 } | 5960 } |
| 5956 | 5961 |
| 5957 @override | 5962 @override |
| 5958 InternalAnalysisContext getContextFor(Source source) { | 5963 InternalAnalysisContext getContextFor(Source source) { |
| 5959 fail("Unexpected invocation of getContextFor"); | 5964 fail("Unexpected invocation of getContextFor"); |
| 5960 return null; | 5965 return null; |
| 5961 } | 5966 } |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6159 return null; | 6164 return null; |
| 6160 } | 6165 } |
| 6161 | 6166 |
| 6162 @override | 6167 @override |
| 6163 void setChangedContents(Source source, String contents, int offset, | 6168 void setChangedContents(Source source, String contents, int offset, |
| 6164 int oldLength, int newLength) { | 6169 int oldLength, int newLength) { |
| 6165 fail("Unexpected invocation of setChangedContents"); | 6170 fail("Unexpected invocation of setChangedContents"); |
| 6166 } | 6171 } |
| 6167 | 6172 |
| 6168 @override | 6173 @override |
| 6174 void setConfigurationData(newContext.ResultDescriptor key, Object data) { |
| 6175 fail("Unexpected invocation of setConfigurationData"); |
| 6176 } |
| 6177 |
| 6178 @override |
| 6169 void setContents(Source source, String contents) { | 6179 void setContents(Source source, String contents) { |
| 6170 fail("Unexpected invocation of setContents"); | 6180 fail("Unexpected invocation of setContents"); |
| 6171 } | 6181 } |
| 6172 | 6182 |
| 6173 @override | 6183 @override |
| 6174 bool shouldErrorsBeAnalyzed(Source source, Object entry) { | 6184 bool shouldErrorsBeAnalyzed(Source source, Object entry) { |
| 6175 fail("Unexpected invocation of shouldErrorsBeAnalyzed"); | 6185 fail("Unexpected invocation of shouldErrorsBeAnalyzed"); |
| 6176 return false; | 6186 return false; |
| 6177 } | 6187 } |
| 6178 | 6188 |
| (...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7020 @override | 7030 @override |
| 7021 bool exists() => true; | 7031 bool exists() => true; |
| 7022 } | 7032 } |
| 7023 | 7033 |
| 7024 class _UniversalCachePartitionTest_test_setMaxCacheSize | 7034 class _UniversalCachePartitionTest_test_setMaxCacheSize |
| 7025 implements CacheRetentionPolicy { | 7035 implements CacheRetentionPolicy { |
| 7026 @override | 7036 @override |
| 7027 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => | 7037 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => |
| 7028 RetentionPriority.LOW; | 7038 RetentionPriority.LOW; |
| 7029 } | 7039 } |
| OLD | NEW |