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

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

Issue 1195183002: Move cache consistency validation into Analysis Server. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Rework the CL. Created 5 years, 6 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
« 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 5796 matching lines...) Expand 10 before | Expand all | Expand 10 after
5807 void setContents(Source source, String contents) { 5807 void setContents(Source source, String contents) {
5808 fail("Unexpected invocation of setContents"); 5808 fail("Unexpected invocation of setContents");
5809 } 5809 }
5810 @override 5810 @override
5811 bool shouldErrorsBeAnalyzed(Source source, Object entry) { 5811 bool shouldErrorsBeAnalyzed(Source source, Object entry) {
5812 fail("Unexpected invocation of shouldErrorsBeAnalyzed"); 5812 fail("Unexpected invocation of shouldErrorsBeAnalyzed");
5813 return false; 5813 return false;
5814 } 5814 }
5815 5815
5816 @override 5816 @override
5817 bool validateCacheConsistency() {
5818 fail("Unexpected invocation of validateCacheConsistency");
5819 return false;
5820 }
5821
5822 @override
5817 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, 5823 void visitCacheItems(void callback(Source source, SourceEntry dartEntry,
5818 DataDescriptor rowDesc, CacheState state)) { 5824 DataDescriptor rowDesc, CacheState state)) {
5819 fail("Unexpected invocation of visitCacheItems"); 5825 fail("Unexpected invocation of visitCacheItems");
5820 } 5826 }
5821 } 5827 }
5822 5828
5823 class TestAnalysisContext_test_applyChanges extends TestAnalysisContext { 5829 class TestAnalysisContext_test_applyChanges extends TestAnalysisContext {
5824 bool invoked = false; 5830 bool invoked = false;
5825 TestAnalysisContext_test_applyChanges(); 5831 TestAnalysisContext_test_applyChanges();
5826 @override 5832 @override
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
6618 @override 6624 @override
6619 bool exists() => true; 6625 bool exists() => true;
6620 } 6626 }
6621 6627
6622 class _UniversalCachePartitionTest_test_setMaxCacheSize 6628 class _UniversalCachePartitionTest_test_setMaxCacheSize
6623 implements CacheRetentionPolicy { 6629 implements CacheRetentionPolicy {
6624 @override 6630 @override
6625 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => 6631 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) =>
6626 RetentionPriority.LOW; 6632 RetentionPriority.LOW;
6627 } 6633 }
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