| 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 6124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6135 Source librarySource) { | 6135 Source librarySource) { |
| 6136 fail("Unexpected invocation of getResolvedCompilationUnit"); | 6136 fail("Unexpected invocation of getResolvedCompilationUnit"); |
| 6137 return null; | 6137 return null; |
| 6138 } | 6138 } |
| 6139 @override | 6139 @override |
| 6140 ht.HtmlUnit getResolvedHtmlUnit(Source htmlSource) { | 6140 ht.HtmlUnit getResolvedHtmlUnit(Source htmlSource) { |
| 6141 fail("Unexpected invocation of getResolvedHtmlUnit"); | 6141 fail("Unexpected invocation of getResolvedHtmlUnit"); |
| 6142 return null; | 6142 return null; |
| 6143 } | 6143 } |
| 6144 @override | 6144 @override |
| 6145 bool handleContentsChanged(Source source, String originalContents, |
| 6146 String newContents, bool notify) { |
| 6147 fail("Unexpected invocation of handleContentsChanged"); |
| 6148 return false; |
| 6149 } |
| 6150 @override |
| 6145 bool isClientLibrary(Source librarySource) { | 6151 bool isClientLibrary(Source librarySource) { |
| 6146 fail("Unexpected invocation of isClientLibrary"); | 6152 fail("Unexpected invocation of isClientLibrary"); |
| 6147 return false; | 6153 return false; |
| 6148 } | 6154 } |
| 6149 @override | 6155 @override |
| 6150 bool isServerLibrary(Source librarySource) { | 6156 bool isServerLibrary(Source librarySource) { |
| 6151 fail("Unexpected invocation of isServerLibrary"); | 6157 fail("Unexpected invocation of isServerLibrary"); |
| 6152 return false; | 6158 return false; |
| 6153 } | 6159 } |
| 6154 @override | 6160 @override |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6193 } | 6199 } |
| 6194 @override | 6200 @override |
| 6195 void setChangedContents(Source source, String contents, int offset, | 6201 void setChangedContents(Source source, String contents, int offset, |
| 6196 int oldLength, int newLength) { | 6202 int oldLength, int newLength) { |
| 6197 fail("Unexpected invocation of setChangedContents"); | 6203 fail("Unexpected invocation of setChangedContents"); |
| 6198 } | 6204 } |
| 6199 @override | 6205 @override |
| 6200 void setContents(Source source, String contents) { | 6206 void setContents(Source source, String contents) { |
| 6201 fail("Unexpected invocation of setContents"); | 6207 fail("Unexpected invocation of setContents"); |
| 6202 } | 6208 } |
| 6203 | |
| 6204 @override | 6209 @override |
| 6205 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, | 6210 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, |
| 6206 DataDescriptor rowDesc, CacheState state)) { | 6211 DataDescriptor rowDesc, CacheState state)) { |
| 6207 fail("Unexpected invocation of visitCacheItems"); | 6212 fail("Unexpected invocation of visitCacheItems"); |
| 6208 } | 6213 } |
| 6209 } | 6214 } |
| 6210 | 6215 |
| 6211 | 6216 |
| 6212 class TestAnalysisContext_test_addSourceInfo extends TestAnalysisContext { | 6217 class TestAnalysisContext_test_addSourceInfo extends TestAnalysisContext { |
| 6213 bool invoked = false; | 6218 bool invoked = false; |
| (...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7077 bool contains(Source source) => source == libB; | 7082 bool contains(Source source) => source == libB; |
| 7078 } | 7083 } |
| 7079 | 7084 |
| 7080 | 7085 |
| 7081 class _UniversalCachePartitionTest_test_setMaxCacheSize implements | 7086 class _UniversalCachePartitionTest_test_setMaxCacheSize implements |
| 7082 CacheRetentionPolicy { | 7087 CacheRetentionPolicy { |
| 7083 @override | 7088 @override |
| 7084 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => | 7089 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => |
| 7085 RetentionPriority.LOW; | 7090 RetentionPriority.LOW; |
| 7086 } | 7091 } |
| OLD | NEW |