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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 return null; | 476 return null; |
477 } | 477 } |
478 | 478 |
479 @override | 479 @override |
480 CompilationUnitElement getCompilationUnitElement( | 480 CompilationUnitElement getCompilationUnitElement( |
481 Source unitSource, Source librarySource) { | 481 Source unitSource, Source librarySource) { |
482 fail("Unexpected invocation of getCompilationUnitElement"); | 482 fail("Unexpected invocation of getCompilationUnitElement"); |
483 return null; | 483 return null; |
484 } | 484 } |
485 | 485 |
| 486 @deprecated |
486 @override | 487 @override |
487 Object/*=V*/ getConfigurationData/*<V>*/(ResultDescriptor/*<V>*/ key) { | 488 Object/*=V*/ getConfigurationData/*<V>*/(ResultDescriptor/*<V>*/ key) { |
488 fail("Unexpected invocation of getConfigurationData"); | 489 fail("Unexpected invocation of getConfigurationData"); |
489 return null; | 490 return null; |
490 } | 491 } |
491 | 492 |
492 @override | 493 @override |
493 TimestampedData<String> getContents(Source source) { | 494 TimestampedData<String> getContents(Source source) { |
494 fail("Unexpected invocation of getContents"); | 495 fail("Unexpected invocation of getContents"); |
495 return null; | 496 return null; |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 fail("Unexpected invocation of resolveCompilationUnit"); | 679 fail("Unexpected invocation of resolveCompilationUnit"); |
679 return null; | 680 return null; |
680 } | 681 } |
681 | 682 |
682 @override | 683 @override |
683 void setChangedContents(Source source, String contents, int offset, | 684 void setChangedContents(Source source, String contents, int offset, |
684 int oldLength, int newLength) { | 685 int oldLength, int newLength) { |
685 fail("Unexpected invocation of setChangedContents"); | 686 fail("Unexpected invocation of setChangedContents"); |
686 } | 687 } |
687 | 688 |
| 689 @deprecated |
688 @override | 690 @override |
689 void setConfigurationData(ResultDescriptor key, Object data) { | 691 void setConfigurationData(ResultDescriptor key, Object data) { |
690 fail("Unexpected invocation of setConfigurationData"); | 692 fail("Unexpected invocation of setConfigurationData"); |
691 } | 693 } |
692 | 694 |
693 @override | 695 @override |
694 void setContents(Source source, String contents) { | 696 void setContents(Source source, String contents) { |
695 fail("Unexpected invocation of setContents"); | 697 fail("Unexpected invocation of setContents"); |
696 } | 698 } |
697 | 699 |
698 @override | 700 @override |
699 bool shouldErrorsBeAnalyzed(Source source) { | 701 bool shouldErrorsBeAnalyzed(Source source) { |
700 fail("Unexpected invocation of shouldErrorsBeAnalyzed"); | 702 fail("Unexpected invocation of shouldErrorsBeAnalyzed"); |
701 return false; | 703 return false; |
702 } | 704 } |
703 | 705 |
704 @override | 706 @override |
705 void test_flushAstStructures(Source source) { | 707 void test_flushAstStructures(Source source) { |
706 fail("Unexpected invocation of test_flushAstStructures"); | 708 fail("Unexpected invocation of test_flushAstStructures"); |
707 } | 709 } |
708 | 710 |
709 @override | 711 @override |
710 void visitContentCache(ContentCacheVisitor visitor) { | 712 void visitContentCache(ContentCacheVisitor visitor) { |
711 fail("Unexpected invocation of visitContentCache"); | 713 fail("Unexpected invocation of visitContentCache"); |
712 } | 714 } |
713 } | 715 } |
OLD | NEW |