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

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

Issue 1753083003: Fix issue where errors aren't reported for a new overlay (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 } 570 }
571 571
572 @override 572 @override
573 List<Source> getSourcesWithFullName(String path) { 573 List<Source> getSourcesWithFullName(String path) {
574 fail("Unexpected invocation of getSourcesWithFullName"); 574 fail("Unexpected invocation of getSourcesWithFullName");
575 return null; 575 return null;
576 } 576 }
577 577
578 @override 578 @override
579 bool handleContentsChanged( 579 bool handleContentsChanged(
580 Source source, String originalContents, String newContents, bool notify) { 580 Source source, String originalContents, String newContents, bool notify,
581 {bool explicit: false}) {
581 fail("Unexpected invocation of handleContentsChanged"); 582 fail("Unexpected invocation of handleContentsChanged");
582 return false; 583 return false;
583 } 584 }
584 585
585 @override 586 @override
586 void invalidateLibraryHints(Source librarySource) { 587 void invalidateLibraryHints(Source librarySource) {
587 fail("Unexpected invocation of invalidateLibraryHints"); 588 fail("Unexpected invocation of invalidateLibraryHints");
588 } 589 }
589 590
590 @override 591 @override
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 bool validateCacheConsistency() { 679 bool validateCacheConsistency() {
679 fail("Unexpected invocation of validateCacheConsistency"); 680 fail("Unexpected invocation of validateCacheConsistency");
680 return false; 681 return false;
681 } 682 }
682 683
683 @override 684 @override
684 void visitContentCache(ContentCacheVisitor visitor) { 685 void visitContentCache(ContentCacheVisitor visitor) {
685 fail("Unexpected invocation of visitContentCache"); 686 fail("Unexpected invocation of visitContentCache");
686 } 687 }
687 } 688 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698