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 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 } | 506 } |
507 | 507 |
508 @override | 508 @override |
509 CancelableFuture<CompilationUnit> computeResolvedCompilationUnitAsync( | 509 CancelableFuture<CompilationUnit> computeResolvedCompilationUnitAsync( |
510 Source source, Source librarySource) { | 510 Source source, Source librarySource) { |
511 fail("Unexpected invocation of getResolvedCompilationUnitFuture"); | 511 fail("Unexpected invocation of getResolvedCompilationUnitFuture"); |
512 return null; | 512 return null; |
513 } | 513 } |
514 | 514 |
515 @override | 515 @override |
516 Object/*=V*/ computeResult/*<V>*/( | 516 V computeResult<V>(AnalysisTarget target, ResultDescriptor<V> result) { |
517 AnalysisTarget target, ResultDescriptor/*<V>*/ result) { | |
518 fail("Unexpected invocation of computeResult"); | 517 fail("Unexpected invocation of computeResult"); |
519 return null; | 518 return null; |
520 } | 519 } |
521 | 520 |
522 @override | 521 @override |
523 void dispose() { | 522 void dispose() { |
524 fail("Unexpected invocation of dispose"); | 523 fail("Unexpected invocation of dispose"); |
525 } | 524 } |
526 | 525 |
527 @override | 526 @override |
(...skipping 16 matching lines...) Expand all Loading... |
544 | 543 |
545 @override | 544 @override |
546 CompilationUnitElement getCompilationUnitElement( | 545 CompilationUnitElement getCompilationUnitElement( |
547 Source unitSource, Source librarySource) { | 546 Source unitSource, Source librarySource) { |
548 fail("Unexpected invocation of getCompilationUnitElement"); | 547 fail("Unexpected invocation of getCompilationUnitElement"); |
549 return null; | 548 return null; |
550 } | 549 } |
551 | 550 |
552 @deprecated | 551 @deprecated |
553 @override | 552 @override |
554 Object/*=V*/ getConfigurationData/*<V>*/(ResultDescriptor/*<V>*/ key) { | 553 V getConfigurationData<V>(ResultDescriptor<V> key) { |
555 fail("Unexpected invocation of getConfigurationData"); | 554 fail("Unexpected invocation of getConfigurationData"); |
556 return null; | 555 return null; |
557 } | 556 } |
558 | 557 |
559 @override | 558 @override |
560 TimestampedData<String> getContents(Source source) { | 559 TimestampedData<String> getContents(Source source) { |
561 fail("Unexpected invocation of getContents"); | 560 fail("Unexpected invocation of getContents"); |
562 return null; | 561 return null; |
563 } | 562 } |
564 | 563 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 } | 647 } |
649 | 648 |
650 @override | 649 @override |
651 CompilationUnit getResolvedCompilationUnit2( | 650 CompilationUnit getResolvedCompilationUnit2( |
652 Source unitSource, Source librarySource) { | 651 Source unitSource, Source librarySource) { |
653 fail("Unexpected invocation of getResolvedCompilationUnit"); | 652 fail("Unexpected invocation of getResolvedCompilationUnit"); |
654 return null; | 653 return null; |
655 } | 654 } |
656 | 655 |
657 @override | 656 @override |
658 Object/*=V*/ getResult/*<V>*/( | 657 V getResult<V>(AnalysisTarget target, ResultDescriptor<V> result) { |
659 AnalysisTarget target, ResultDescriptor/*<V>*/ result) { | |
660 fail("Unexpected invocation of getResult"); | 658 fail("Unexpected invocation of getResult"); |
661 return null; | 659 return null; |
662 } | 660 } |
663 | 661 |
664 @override | 662 @override |
665 List<Source> getSourcesWithFullName(String path) { | 663 List<Source> getSourcesWithFullName(String path) { |
666 fail("Unexpected invocation of getSourcesWithFullName"); | 664 fail("Unexpected invocation of getSourcesWithFullName"); |
667 return null; | 665 return null; |
668 } | 666 } |
669 | 667 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 @override | 770 @override |
773 void test_flushAstStructures(Source source) { | 771 void test_flushAstStructures(Source source) { |
774 fail("Unexpected invocation of test_flushAstStructures"); | 772 fail("Unexpected invocation of test_flushAstStructures"); |
775 } | 773 } |
776 | 774 |
777 @override | 775 @override |
778 void visitContentCache(ContentCacheVisitor visitor) { | 776 void visitContentCache(ContentCacheVisitor visitor) { |
779 fail("Unexpected invocation of visitContentCache"); | 777 fail("Unexpected invocation of visitContentCache"); |
780 } | 778 } |
781 } | 779 } |
OLD | NEW |