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

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

Issue 1133513003: Cache flushing implementation for the task model. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes for review comments. 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/task/model.dart ('k') | pkg/analyzer/test/src/context/cache_test.dart » ('j') | 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 5467 matching lines...) Expand 10 before | Expand all | Expand 10 after
5478 @override 5478 @override
5479 Stream<SourcesChangedEvent> get onSourcesChanged { 5479 Stream<SourcesChangedEvent> get onSourcesChanged {
5480 fail("Unexpected invocation of onSourcesChanged"); 5480 fail("Unexpected invocation of onSourcesChanged");
5481 return null; 5481 return null;
5482 } 5482 }
5483 @override 5483 @override
5484 List<Source> get prioritySources { 5484 List<Source> get prioritySources {
5485 fail("Unexpected invocation of getPrioritySources"); 5485 fail("Unexpected invocation of getPrioritySources");
5486 return null; 5486 return null;
5487 } 5487 }
5488
5488 @override 5489 @override
5489 List<AnalysisTarget> get priorityTargets { 5490 List<AnalysisTarget> get priorityTargets {
5490 fail("Unexpected invocation of visitCacheItems"); 5491 fail("Unexpected invocation of visitCacheItems");
5491 return null; 5492 return null;
5492 } 5493 }
5493 5494
5494 @override 5495 @override
5495 ResolverVisitorFactory get resolverVisitorFactory { 5496 ResolverVisitorFactory get resolverVisitorFactory {
5496 fail("Unexpected invocation of getResolverVisitorFactory"); 5497 fail("Unexpected invocation of getResolverVisitorFactory");
5497 return null; 5498 return null;
5498 } 5499 }
5499 5500
5500 @override 5501 @override
5501 SourceFactory get sourceFactory { 5502 SourceFactory get sourceFactory {
5502 fail("Unexpected invocation of getSourceFactory"); 5503 fail("Unexpected invocation of getSourceFactory");
5503 return null; 5504 return null;
5504 } 5505 }
5505
5506 @override 5506 @override
5507 void set sourceFactory(SourceFactory factory) { 5507 void set sourceFactory(SourceFactory factory) {
5508 fail("Unexpected invocation of setSourceFactory"); 5508 fail("Unexpected invocation of setSourceFactory");
5509 } 5509 }
5510 @override 5510 @override
5511 List<Source> get sources { 5511 List<Source> get sources {
5512 fail("Unexpected invocation of sources"); 5512 fail("Unexpected invocation of sources");
5513 return null; 5513 return null;
5514 } 5514 }
5515 @override 5515 @override
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
5743 } 5743 }
5744 @override 5744 @override
5745 AnalysisResult performAnalysisTask() { 5745 AnalysisResult performAnalysisTask() {
5746 fail("Unexpected invocation of performAnalysisTask"); 5746 fail("Unexpected invocation of performAnalysisTask");
5747 return null; 5747 return null;
5748 } 5748 }
5749 @override 5749 @override
5750 void recordLibraryElements(Map<Source, LibraryElement> elementMap) { 5750 void recordLibraryElements(Map<Source, LibraryElement> elementMap) {
5751 fail("Unexpected invocation of recordLibraryElements"); 5751 fail("Unexpected invocation of recordLibraryElements");
5752 } 5752 }
5753
5753 @override 5754 @override
5754 void removeListener(AnalysisListener listener) { 5755 void removeListener(AnalysisListener listener) {
5755 fail("Unexpected invocation of removeListener"); 5756 fail("Unexpected invocation of removeListener");
5756 } 5757 }
5757 5758
5758 @override 5759 @override
5759 CompilationUnit resolveCompilationUnit( 5760 CompilationUnit resolveCompilationUnit(
5760 Source unitSource, LibraryElement library) { 5761 Source unitSource, LibraryElement library) {
5761 fail("Unexpected invocation of resolveCompilationUnit"); 5762 fail("Unexpected invocation of resolveCompilationUnit");
5762 return null; 5763 return null;
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
6600 @override 6601 @override
6601 bool exists() => true; 6602 bool exists() => true;
6602 } 6603 }
6603 6604
6604 class _UniversalCachePartitionTest_test_setMaxCacheSize 6605 class _UniversalCachePartitionTest_test_setMaxCacheSize
6605 implements CacheRetentionPolicy { 6606 implements CacheRetentionPolicy {
6606 @override 6607 @override
6607 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => 6608 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) =>
6608 RetentionPriority.LOW; 6609 RetentionPriority.LOW;
6609 } 6610 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/task/model.dart ('k') | pkg/analyzer/test/src/context/cache_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698