| 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 6030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6041 Future<CompilationUnit> computeResolvedCompilationUnitAsync(Source source, | 6041 Future<CompilationUnit> computeResolvedCompilationUnitAsync(Source source, |
| 6042 Source librarySource) { | 6042 Source librarySource) { |
| 6043 fail("Unexpected invocation of getResolvedCompilationUnitFuture"); | 6043 fail("Unexpected invocation of getResolvedCompilationUnitFuture"); |
| 6044 return null; | 6044 return null; |
| 6045 } | 6045 } |
| 6046 @override | 6046 @override |
| 6047 void dispose() { | 6047 void dispose() { |
| 6048 fail("Unexpected invocation of dispose"); | 6048 fail("Unexpected invocation of dispose"); |
| 6049 } | 6049 } |
| 6050 @override | 6050 @override |
| 6051 CompilationUnit ensureAnyResolvedDartUnit(Source source) { |
| 6052 fail("Unexpected invocation of ensureAnyResolvedDartUnit"); |
| 6053 return null; |
| 6054 } |
| 6055 @override |
| 6051 bool exists(Source source) { | 6056 bool exists(Source source) { |
| 6052 fail("Unexpected invocation of exists"); | 6057 fail("Unexpected invocation of exists"); |
| 6053 return false; | 6058 return false; |
| 6054 } | 6059 } |
| 6055 @override | 6060 @override |
| 6056 CompilationUnitElement getCompilationUnitElement(Source unitSource, | 6061 CompilationUnitElement getCompilationUnitElement(Source unitSource, |
| 6057 Source librarySource) { | 6062 Source librarySource) { |
| 6058 fail("Unexpected invocation of getCompilationUnitElement"); | 6063 fail("Unexpected invocation of getCompilationUnitElement"); |
| 6059 return null; | 6064 return null; |
| 6060 } | 6065 } |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6203 } | 6208 } |
| 6204 @override | 6209 @override |
| 6205 void setChangedContents(Source source, String contents, int offset, | 6210 void setChangedContents(Source source, String contents, int offset, |
| 6206 int oldLength, int newLength) { | 6211 int oldLength, int newLength) { |
| 6207 fail("Unexpected invocation of setChangedContents"); | 6212 fail("Unexpected invocation of setChangedContents"); |
| 6208 } | 6213 } |
| 6209 @override | 6214 @override |
| 6210 void setContents(Source source, String contents) { | 6215 void setContents(Source source, String contents) { |
| 6211 fail("Unexpected invocation of setContents"); | 6216 fail("Unexpected invocation of setContents"); |
| 6212 } | 6217 } |
| 6218 |
| 6213 @override | 6219 @override |
| 6214 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, | 6220 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, |
| 6215 DataDescriptor rowDesc, CacheState state)) { | 6221 DataDescriptor rowDesc, CacheState state)) { |
| 6216 fail("Unexpected invocation of visitCacheItems"); | 6222 fail("Unexpected invocation of visitCacheItems"); |
| 6217 } | 6223 } |
| 6218 } | 6224 } |
| 6219 | 6225 |
| 6220 | 6226 |
| 6221 class TestAnalysisContext_test_addSourceInfo extends TestAnalysisContext { | 6227 class TestAnalysisContext_test_addSourceInfo extends TestAnalysisContext { |
| 6222 bool invoked = false; | 6228 bool invoked = false; |
| (...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7086 bool contains(Source source) => source == libB; | 7092 bool contains(Source source) => source == libB; |
| 7087 } | 7093 } |
| 7088 | 7094 |
| 7089 | 7095 |
| 7090 class _UniversalCachePartitionTest_test_setMaxCacheSize implements | 7096 class _UniversalCachePartitionTest_test_setMaxCacheSize implements |
| 7091 CacheRetentionPolicy { | 7097 CacheRetentionPolicy { |
| 7092 @override | 7098 @override |
| 7093 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => | 7099 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => |
| 7094 RetentionPriority.LOW; | 7100 RetentionPriority.LOW; |
| 7095 } | 7101 } |
| OLD | NEW |