Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: pkg/analyzer/test/generated/engine_test.dart

Issue 1131063004: Remove unused InternalAnalysisContext.addSourceInfo(). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/analyzer/lib/src/generated/engine.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 5523 matching lines...) Expand 10 before | Expand all | Expand 10 after
5534 @override 5534 @override
5535 TypeResolverVisitorFactory get typeResolverVisitorFactory { 5535 TypeResolverVisitorFactory get typeResolverVisitorFactory {
5536 fail("Unexpected invocation of getTypeResolverVisitorFactory"); 5536 fail("Unexpected invocation of getTypeResolverVisitorFactory");
5537 return null; 5537 return null;
5538 } 5538 }
5539 @override 5539 @override
5540 void addListener(AnalysisListener listener) { 5540 void addListener(AnalysisListener listener) {
5541 fail("Unexpected invocation of addListener"); 5541 fail("Unexpected invocation of addListener");
5542 } 5542 }
5543 @override 5543 @override
5544 void addSourceInfo(Source source, SourceEntry info) {
5545 fail("Unexpected invocation of addSourceInfo");
5546 }
5547 @override
5548 void applyAnalysisDelta(AnalysisDelta delta) { 5544 void applyAnalysisDelta(AnalysisDelta delta) {
5549 fail("Unexpected invocation of applyAnalysisDelta"); 5545 fail("Unexpected invocation of applyAnalysisDelta");
5550 } 5546 }
5551 @override 5547 @override
5552 void applyChanges(ChangeSet changeSet) { 5548 void applyChanges(ChangeSet changeSet) {
5553 fail("Unexpected invocation of applyChanges"); 5549 fail("Unexpected invocation of applyChanges");
5554 } 5550 }
5555 @override 5551 @override
5556 String computeDocumentationComment(Element element) { 5552 String computeDocumentationComment(Element element) {
5557 fail("Unexpected invocation of computeDocumentationComment"); 5553 fail("Unexpected invocation of computeDocumentationComment");
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
5792 fail("Unexpected invocation of setContents"); 5788 fail("Unexpected invocation of setContents");
5793 } 5789 }
5794 5790
5795 @override 5791 @override
5796 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, 5792 void visitCacheItems(void callback(Source source, SourceEntry dartEntry,
5797 DataDescriptor rowDesc, CacheState state)) { 5793 DataDescriptor rowDesc, CacheState state)) {
5798 fail("Unexpected invocation of visitCacheItems"); 5794 fail("Unexpected invocation of visitCacheItems");
5799 } 5795 }
5800 } 5796 }
5801 5797
5802 class TestAnalysisContext_test_addSourceInfo extends TestAnalysisContext {
5803 bool invoked = false;
5804 TestAnalysisContext_test_addSourceInfo();
5805 @override
5806 void addSourceInfo(Source source, SourceEntry info) {
5807 invoked = true;
5808 }
5809 }
5810
5811 class TestAnalysisContext_test_applyChanges extends TestAnalysisContext { 5798 class TestAnalysisContext_test_applyChanges extends TestAnalysisContext {
5812 bool invoked = false; 5799 bool invoked = false;
5813 TestAnalysisContext_test_applyChanges(); 5800 TestAnalysisContext_test_applyChanges();
5814 @override 5801 @override
5815 void applyChanges(ChangeSet changeSet) { 5802 void applyChanges(ChangeSet changeSet) {
5816 invoked = true; 5803 invoked = true;
5817 } 5804 }
5818 } 5805 }
5819 5806
5820 class TestAnalysisContext_test_computeDocumentationComment 5807 class TestAnalysisContext_test_computeDocumentationComment
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
6606 @override 6593 @override
6607 bool exists() => true; 6594 bool exists() => true;
6608 } 6595 }
6609 6596
6610 class _UniversalCachePartitionTest_test_setMaxCacheSize 6597 class _UniversalCachePartitionTest_test_setMaxCacheSize
6611 implements CacheRetentionPolicy { 6598 implements CacheRetentionPolicy {
6612 @override 6599 @override
6613 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => 6600 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) =>
6614 RetentionPriority.LOW; 6601 RetentionPriority.LOW;
6615 } 6602 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/engine.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698