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

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

Issue 1555073003: Replace ResultProvider with 'aboutToComputeResult'. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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/task/driver_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 library analyzer.test.generated.engine_test; 5 library analyzer.test.generated.engine_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analyzer/dart/element/element.dart'; 9 import 'package:analyzer/dart/element/element.dart';
10 import 'package:analyzer/source/embedder.dart'; 10 import 'package:analyzer/source/embedder.dart';
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 return null; 341 return null;
342 } 342 }
343 343
344 @override 344 @override
345 List<WorkManager> get workManagers { 345 List<WorkManager> get workManagers {
346 fail("Unexpected invocation of workManagers"); 346 fail("Unexpected invocation of workManagers");
347 return null; 347 return null;
348 } 348 }
349 349
350 @override 350 @override
351 bool aboutToComputeResult(CacheEntry entry, ResultDescriptor result) {
352 fail("Unexpected invocation of aboutToComputeResult");
353 return false;
354 }
355
356 @override
351 void addListener(AnalysisListener listener) { 357 void addListener(AnalysisListener listener) {
352 fail("Unexpected invocation of addListener"); 358 fail("Unexpected invocation of addListener");
353 } 359 }
354 360
355 @override 361 @override
356 void applyAnalysisDelta(AnalysisDelta delta) { 362 void applyAnalysisDelta(AnalysisDelta delta) {
357 fail("Unexpected invocation of applyAnalysisDelta"); 363 fail("Unexpected invocation of applyAnalysisDelta");
358 } 364 }
359 365
360 @override 366 @override
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 bool validateCacheConsistency() { 673 bool validateCacheConsistency() {
668 fail("Unexpected invocation of validateCacheConsistency"); 674 fail("Unexpected invocation of validateCacheConsistency");
669 return false; 675 return false;
670 } 676 }
671 677
672 @override 678 @override
673 void visitContentCache(ContentCacheVisitor visitor) { 679 void visitContentCache(ContentCacheVisitor visitor) {
674 fail("Unexpected invocation of visitContentCache"); 680 fail("Unexpected invocation of visitContentCache");
675 } 681 }
676 } 682 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/task/driver.dart ('k') | pkg/analyzer/test/src/task/driver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698