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

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

Issue 1210603002: Add an analyzer method to flush resolved ASTs (for testing). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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
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 5800 matching lines...) Expand 10 before | Expand all | Expand 10 after
5811 void setContents(Source source, String contents) { 5811 void setContents(Source source, String contents) {
5812 fail("Unexpected invocation of setContents"); 5812 fail("Unexpected invocation of setContents");
5813 } 5813 }
5814 @override 5814 @override
5815 bool shouldErrorsBeAnalyzed(Source source, Object entry) { 5815 bool shouldErrorsBeAnalyzed(Source source, Object entry) {
5816 fail("Unexpected invocation of shouldErrorsBeAnalyzed"); 5816 fail("Unexpected invocation of shouldErrorsBeAnalyzed");
5817 return false; 5817 return false;
5818 } 5818 }
5819 5819
5820 @override 5820 @override
5821 void test_flushResolvedUnit(Source source) {
5822 fail("Unexpected invocation of test_flushResolvedUnit");
5823 }
5824
5825 @override
5821 bool validateCacheConsistency() { 5826 bool validateCacheConsistency() {
5822 fail("Unexpected invocation of validateCacheConsistency"); 5827 fail("Unexpected invocation of validateCacheConsistency");
5823 return false; 5828 return false;
5824 } 5829 }
5825 5830
5826 @override 5831 @override
5827 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, 5832 void visitCacheItems(void callback(Source source, SourceEntry dartEntry,
5828 DataDescriptor rowDesc, CacheState state)) { 5833 DataDescriptor rowDesc, CacheState state)) {
5829 fail("Unexpected invocation of visitCacheItems"); 5834 fail("Unexpected invocation of visitCacheItems");
5830 } 5835 }
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
6632 @override 6637 @override
6633 bool exists() => true; 6638 bool exists() => true;
6634 } 6639 }
6635 6640
6636 class _UniversalCachePartitionTest_test_setMaxCacheSize 6641 class _UniversalCachePartitionTest_test_setMaxCacheSize
6637 implements CacheRetentionPolicy { 6642 implements CacheRetentionPolicy {
6638 @override 6643 @override
6639 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => 6644 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) =>
6640 RetentionPriority.LOW; 6645 RetentionPriority.LOW;
6641 } 6646 }
OLDNEW
« pkg/analyzer/lib/src/generated/engine.dart ('K') | « 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