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

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

Issue 1776023002: Add AnalysisContext.onResultInvalidated(descriptor). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixes for review comments. Created 4 years, 9 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 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/ast/ast.dart'; 9 import 'package:analyzer/dart/ast/ast.dart';
10 import 'package:analyzer/dart/element/element.dart'; 10 import 'package:analyzer/dart/element/element.dart';
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 return false; 599 return false;
600 } 600 }
601 601
602 @override 602 @override
603 Stream<ComputedResult> onResultComputed(ResultDescriptor descriptor) { 603 Stream<ComputedResult> onResultComputed(ResultDescriptor descriptor) {
604 fail("Unexpected invocation of onResultComputed"); 604 fail("Unexpected invocation of onResultComputed");
605 return null; 605 return null;
606 } 606 }
607 607
608 @override 608 @override
609 Stream<InvalidatedResultEvent> onResultInvalidated(
610 ResultDescriptor descriptor) {
611 fail("Unexpected invocation of onResultInvalidated");
612 return null;
613 }
614
615 @override
609 CompilationUnit parseCompilationUnit(Source source) { 616 CompilationUnit parseCompilationUnit(Source source) {
610 fail("Unexpected invocation of parseCompilationUnit"); 617 fail("Unexpected invocation of parseCompilationUnit");
611 return null; 618 return null;
612 } 619 }
613 620
614 @override 621 @override
615 Document parseHtmlDocument(Source source) { 622 Document parseHtmlDocument(Source source) {
616 fail("Unexpected invocation of parseHtmlDocument"); 623 fail("Unexpected invocation of parseHtmlDocument");
617 return null; 624 return null;
618 } 625 }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 bool validateCacheConsistency() { 685 bool validateCacheConsistency() {
679 fail("Unexpected invocation of validateCacheConsistency"); 686 fail("Unexpected invocation of validateCacheConsistency");
680 return false; 687 return false;
681 } 688 }
682 689
683 @override 690 @override
684 void visitContentCache(ContentCacheVisitor visitor) { 691 void visitContentCache(ContentCacheVisitor visitor) {
685 fail("Unexpected invocation of visitContentCache"); 692 fail("Unexpected invocation of visitContentCache");
686 } 693 }
687 } 694 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698