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

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

Issue 1181603004: Add AnalysisContext.onResultComputed(). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Rename ResultComputedEvent -> ComputedResult. 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/task/driver.dart ('k') | pkg/analyzer/test/src/context/context_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 5723 matching lines...) Expand 10 before | Expand all | Expand 10 after
5734 bool isClientLibrary(Source librarySource) { 5734 bool isClientLibrary(Source librarySource) {
5735 fail("Unexpected invocation of isClientLibrary"); 5735 fail("Unexpected invocation of isClientLibrary");
5736 return false; 5736 return false;
5737 } 5737 }
5738 @override 5738 @override
5739 bool isServerLibrary(Source librarySource) { 5739 bool isServerLibrary(Source librarySource) {
5740 fail("Unexpected invocation of isServerLibrary"); 5740 fail("Unexpected invocation of isServerLibrary");
5741 return false; 5741 return false;
5742 } 5742 }
5743 @override 5743 @override
5744 Stream<ComputedResult> onResultComputed(ResultDescriptor descriptor) {
5745 fail("Unexpected invocation of onResultComputed");
5746 return null;
5747 }
5748 @override
5744 CompilationUnit parseCompilationUnit(Source source) { 5749 CompilationUnit parseCompilationUnit(Source source) {
5745 fail("Unexpected invocation of parseCompilationUnit"); 5750 fail("Unexpected invocation of parseCompilationUnit");
5746 return null; 5751 return null;
5747 } 5752 }
5748 @override 5753 @override
5749 ht.HtmlUnit parseHtmlUnit(Source source) { 5754 ht.HtmlUnit parseHtmlUnit(Source source) {
5750 fail("Unexpected invocation of parseHtmlUnit"); 5755 fail("Unexpected invocation of parseHtmlUnit");
5751 return null; 5756 return null;
5752 } 5757 }
5753 @override 5758 @override
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after
6606 @override 6611 @override
6607 bool exists() => true; 6612 bool exists() => true;
6608 } 6613 }
6609 6614
6610 class _UniversalCachePartitionTest_test_setMaxCacheSize 6615 class _UniversalCachePartitionTest_test_setMaxCacheSize
6611 implements CacheRetentionPolicy { 6616 implements CacheRetentionPolicy {
6612 @override 6617 @override
6613 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => 6618 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) =>
6614 RetentionPriority.LOW; 6619 RetentionPriority.LOW;
6615 } 6620 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/task/driver.dart ('k') | pkg/analyzer/test/src/context/context_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698