| 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 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine.engine_test; | 8 library engine.engine_test; |
| 9 | 9 |
| 10 import 'dart:async'; | 10 import 'dart:async'; |
| (...skipping 6005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6016 List<Source> get launchableServerLibrarySources { | 6016 List<Source> get launchableServerLibrarySources { |
| 6017 fail("Unexpected invocation of getLaunchableServerLibrarySources"); | 6017 fail("Unexpected invocation of getLaunchableServerLibrarySources"); |
| 6018 return null; | 6018 return null; |
| 6019 } | 6019 } |
| 6020 @override | 6020 @override |
| 6021 List<Source> get librarySources { | 6021 List<Source> get librarySources { |
| 6022 fail("Unexpected invocation of getLibrarySources"); | 6022 fail("Unexpected invocation of getLibrarySources"); |
| 6023 return null; | 6023 return null; |
| 6024 } | 6024 } |
| 6025 @override | 6025 @override |
| 6026 String get name { |
| 6027 fail("Unexpected invocation of name"); |
| 6028 return null; |
| 6029 } |
| 6030 @override |
| 6031 set name(String value) { |
| 6032 fail("Unexpected invocation of name"); |
| 6033 } |
| 6034 @override |
| 6026 Stream<SourcesChangedEvent> get onSourcesChanged { | 6035 Stream<SourcesChangedEvent> get onSourcesChanged { |
| 6027 fail("Unexpected invocation of onSourcesChanged"); | 6036 fail("Unexpected invocation of onSourcesChanged"); |
| 6028 return null; | 6037 return null; |
| 6029 } | 6038 } |
| 6030 @override | 6039 @override |
| 6031 List<Source> get prioritySources { | 6040 List<Source> get prioritySources { |
| 6032 fail("Unexpected invocation of getPrioritySources"); | 6041 fail("Unexpected invocation of getPrioritySources"); |
| 6033 return null; | 6042 return null; |
| 6034 } | 6043 } |
| 6035 @override | 6044 @override |
| 6036 List<Source> get refactoringUnsafeSources { | 6045 List<Source> get refactoringUnsafeSources { |
| 6037 fail("Unexpected invocation of getRefactoringUnsafeSources"); | 6046 fail("Unexpected invocation of getRefactoringUnsafeSources"); |
| 6038 return null; | 6047 return null; |
| 6039 } | 6048 } |
| 6040 @override | 6049 @override |
| 6050 ResolverVisitorFactory get resolverVisitorFactory { |
| 6051 fail("Unexpected invocation of getResolverVisitorFactory"); |
| 6052 return null; |
| 6053 } |
| 6054 @override |
| 6041 SourceFactory get sourceFactory { | 6055 SourceFactory get sourceFactory { |
| 6042 fail("Unexpected invocation of getSourceFactory"); | 6056 fail("Unexpected invocation of getSourceFactory"); |
| 6043 return null; | 6057 return null; |
| 6044 } | 6058 } |
| 6059 |
| 6045 @override | 6060 @override |
| 6046 void set sourceFactory(SourceFactory factory) { | 6061 void set sourceFactory(SourceFactory factory) { |
| 6047 fail("Unexpected invocation of setSourceFactory"); | 6062 fail("Unexpected invocation of setSourceFactory"); |
| 6048 } | 6063 } |
| 6064 |
| 6049 @override | 6065 @override |
| 6050 AnalysisContextStatistics get statistics { | 6066 AnalysisContextStatistics get statistics { |
| 6051 fail("Unexpected invocation of getStatistics"); | 6067 fail("Unexpected invocation of getStatistics"); |
| 6052 return null; | 6068 return null; |
| 6053 } | 6069 } |
| 6070 |
| 6054 @override | 6071 @override |
| 6055 TypeProvider get typeProvider { | 6072 TypeProvider get typeProvider { |
| 6056 fail("Unexpected invocation of getTypeProvider"); | 6073 fail("Unexpected invocation of getTypeProvider"); |
| 6057 return null; | 6074 return null; |
| 6058 } | 6075 } |
| 6059 | |
| 6060 @override | 6076 @override |
| 6061 TypeResolverVisitorFactory get typeResolverVisitorFactory { | 6077 TypeResolverVisitorFactory get typeResolverVisitorFactory { |
| 6062 fail("Unexpected invocation of getTypeResolverVisitorFactory"); | 6078 fail("Unexpected invocation of getTypeResolverVisitorFactory"); |
| 6063 return null; | 6079 return null; |
| 6064 } | 6080 } |
| 6065 | |
| 6066 @override | |
| 6067 ResolverVisitorFactory get resolverVisitorFactory { | |
| 6068 fail("Unexpected invocation of getResolverVisitorFactory"); | |
| 6069 return null; | |
| 6070 } | |
| 6071 | |
| 6072 @override | 6081 @override |
| 6073 void addListener(AnalysisListener listener) { | 6082 void addListener(AnalysisListener listener) { |
| 6074 fail("Unexpected invocation of addListener"); | 6083 fail("Unexpected invocation of addListener"); |
| 6075 } | 6084 } |
| 6076 @override | 6085 @override |
| 6077 void addSourceInfo(Source source, SourceEntry info) { | 6086 void addSourceInfo(Source source, SourceEntry info) { |
| 6078 fail("Unexpected invocation of addSourceInfo"); | 6087 fail("Unexpected invocation of addSourceInfo"); |
| 6079 } | 6088 } |
| 6080 @override | 6089 @override |
| 6081 void applyAnalysisDelta(AnalysisDelta delta) { | 6090 void applyAnalysisDelta(AnalysisDelta delta) { |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6301 } | 6310 } |
| 6302 @override | 6311 @override |
| 6303 void setChangedContents(Source source, String contents, int offset, | 6312 void setChangedContents(Source source, String contents, int offset, |
| 6304 int oldLength, int newLength) { | 6313 int oldLength, int newLength) { |
| 6305 fail("Unexpected invocation of setChangedContents"); | 6314 fail("Unexpected invocation of setChangedContents"); |
| 6306 } | 6315 } |
| 6307 @override | 6316 @override |
| 6308 void setContents(Source source, String contents) { | 6317 void setContents(Source source, String contents) { |
| 6309 fail("Unexpected invocation of setContents"); | 6318 fail("Unexpected invocation of setContents"); |
| 6310 } | 6319 } |
| 6311 | |
| 6312 @override | 6320 @override |
| 6313 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, | 6321 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, |
| 6314 DataDescriptor rowDesc, CacheState state)) { | 6322 DataDescriptor rowDesc, CacheState state)) { |
| 6315 fail("Unexpected invocation of visitCacheItems"); | 6323 fail("Unexpected invocation of visitCacheItems"); |
| 6316 } | 6324 } |
| 6317 } | 6325 } |
| 6318 | 6326 |
| 6319 | 6327 |
| 6320 class TestAnalysisContext_test_addSourceInfo extends TestAnalysisContext { | 6328 class TestAnalysisContext_test_addSourceInfo extends TestAnalysisContext { |
| 6321 bool invoked = false; | 6329 bool invoked = false; |
| (...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7199 bool exists() => true; | 7207 bool exists() => true; |
| 7200 } | 7208 } |
| 7201 | 7209 |
| 7202 | 7210 |
| 7203 class _UniversalCachePartitionTest_test_setMaxCacheSize implements | 7211 class _UniversalCachePartitionTest_test_setMaxCacheSize implements |
| 7204 CacheRetentionPolicy { | 7212 CacheRetentionPolicy { |
| 7205 @override | 7213 @override |
| 7206 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => | 7214 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => |
| 7207 RetentionPriority.LOW; | 7215 RetentionPriority.LOW; |
| 7208 } | 7216 } |
| OLD | NEW |