OLD | NEW |
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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 return false; | 593 return false; |
594 } | 594 } |
595 | 595 |
596 @override | 596 @override |
597 bool isServerLibrary(Source librarySource) { | 597 bool isServerLibrary(Source librarySource) { |
598 fail("Unexpected invocation of isServerLibrary"); | 598 fail("Unexpected invocation of isServerLibrary"); |
599 return false; | 599 return false; |
600 } | 600 } |
601 | 601 |
602 @override | 602 @override |
| 603 Stream<ResultChangedEvent> onResultChanged(ResultDescriptor descriptor) { |
| 604 fail("Unexpected invocation of onResultChanged"); |
| 605 return null; |
| 606 } |
| 607 |
| 608 @override |
603 Stream<ComputedResult> onResultComputed(ResultDescriptor descriptor) { | 609 Stream<ComputedResult> onResultComputed(ResultDescriptor descriptor) { |
604 fail("Unexpected invocation of onResultComputed"); | 610 fail("Unexpected invocation of onResultComputed"); |
605 return null; | 611 return null; |
606 } | 612 } |
607 | 613 |
608 @override | 614 @override |
609 CompilationUnit parseCompilationUnit(Source source) { | 615 CompilationUnit parseCompilationUnit(Source source) { |
610 fail("Unexpected invocation of parseCompilationUnit"); | 616 fail("Unexpected invocation of parseCompilationUnit"); |
611 return null; | 617 return null; |
612 } | 618 } |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 bool validateCacheConsistency() { | 684 bool validateCacheConsistency() { |
679 fail("Unexpected invocation of validateCacheConsistency"); | 685 fail("Unexpected invocation of validateCacheConsistency"); |
680 return false; | 686 return false; |
681 } | 687 } |
682 | 688 |
683 @override | 689 @override |
684 void visitContentCache(ContentCacheVisitor visitor) { | 690 void visitContentCache(ContentCacheVisitor visitor) { |
685 fail("Unexpected invocation of visitContentCache"); | 691 fail("Unexpected invocation of visitContentCache"); |
686 } | 692 } |
687 } | 693 } |
OLD | NEW |