| 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 5844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5855 void addListener(AnalysisListener listener) { | 5855 void addListener(AnalysisListener listener) { |
| 5856 fail("Unexpected invocation of addListener"); | 5856 fail("Unexpected invocation of addListener"); |
| 5857 } | 5857 } |
| 5858 | 5858 |
| 5859 @override | 5859 @override |
| 5860 void applyAnalysisDelta(AnalysisDelta delta) { | 5860 void applyAnalysisDelta(AnalysisDelta delta) { |
| 5861 fail("Unexpected invocation of applyAnalysisDelta"); | 5861 fail("Unexpected invocation of applyAnalysisDelta"); |
| 5862 } | 5862 } |
| 5863 | 5863 |
| 5864 @override | 5864 @override |
| 5865 void applyChanges(ChangeSet changeSet) { | 5865 ApplyChangesStatus applyChanges(ChangeSet changeSet) { |
| 5866 fail("Unexpected invocation of applyChanges"); | 5866 fail("Unexpected invocation of applyChanges"); |
| 5867 return null; |
| 5867 } | 5868 } |
| 5868 | 5869 |
| 5869 @override | 5870 @override |
| 5870 String computeDocumentationComment(Element element) { | 5871 String computeDocumentationComment(Element element) { |
| 5871 fail("Unexpected invocation of computeDocumentationComment"); | 5872 fail("Unexpected invocation of computeDocumentationComment"); |
| 5872 return null; | 5873 return null; |
| 5873 } | 5874 } |
| 5874 | 5875 |
| 5875 @override | 5876 @override |
| 5876 List<AnalysisError> computeErrors(Source source) { | 5877 List<AnalysisError> computeErrors(Source source) { |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6224 @override | 6225 @override |
| 6225 void visitContentCache(ContentCacheVisitor visitor) { | 6226 void visitContentCache(ContentCacheVisitor visitor) { |
| 6226 fail("Unexpected invocation of visitContentCache"); | 6227 fail("Unexpected invocation of visitContentCache"); |
| 6227 } | 6228 } |
| 6228 } | 6229 } |
| 6229 | 6230 |
| 6230 class TestAnalysisContext_test_applyChanges extends TestAnalysisContext { | 6231 class TestAnalysisContext_test_applyChanges extends TestAnalysisContext { |
| 6231 bool invoked = false; | 6232 bool invoked = false; |
| 6232 TestAnalysisContext_test_applyChanges(); | 6233 TestAnalysisContext_test_applyChanges(); |
| 6233 @override | 6234 @override |
| 6234 void applyChanges(ChangeSet changeSet) { | 6235 ApplyChangesStatus applyChanges(ChangeSet changeSet) { |
| 6235 invoked = true; | 6236 invoked = true; |
| 6237 return new ApplyChangesStatus(false); |
| 6236 } | 6238 } |
| 6237 } | 6239 } |
| 6238 | 6240 |
| 6239 class TestAnalysisContext_test_computeDocumentationComment | 6241 class TestAnalysisContext_test_computeDocumentationComment |
| 6240 extends TestAnalysisContext { | 6242 extends TestAnalysisContext { |
| 6241 bool invoked = false; | 6243 bool invoked = false; |
| 6242 TestAnalysisContext_test_computeDocumentationComment(); | 6244 TestAnalysisContext_test_computeDocumentationComment(); |
| 6243 @override | 6245 @override |
| 6244 String computeDocumentationComment(Element element) { | 6246 String computeDocumentationComment(Element element) { |
| 6245 invoked = true; | 6247 invoked = true; |
| (...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7047 @override | 7049 @override |
| 7048 bool exists() => true; | 7050 bool exists() => true; |
| 7049 } | 7051 } |
| 7050 | 7052 |
| 7051 class _UniversalCachePartitionTest_test_setMaxCacheSize | 7053 class _UniversalCachePartitionTest_test_setMaxCacheSize |
| 7052 implements CacheRetentionPolicy { | 7054 implements CacheRetentionPolicy { |
| 7053 @override | 7055 @override |
| 7054 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => | 7056 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => |
| 7055 RetentionPriority.LOW; | 7057 RetentionPriority.LOW; |
| 7056 } | 7058 } |
| OLD | NEW |