OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 test.src.task.driver_test; | 5 library test.src.task.driver_test; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:collection'; | 8 import 'dart:collection'; |
9 | 9 |
10 import 'package:analyzer/src/cancelable_future.dart'; | 10 import 'package:analyzer/src/cancelable_future.dart'; |
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
702 Source unitSource, Source librarySource) { | 702 Source unitSource, Source librarySource) { |
703 return baseContext.getResolvedCompilationUnit2(unitSource, librarySource); | 703 return baseContext.getResolvedCompilationUnit2(unitSource, librarySource); |
704 } | 704 } |
705 | 705 |
706 @override | 706 @override |
707 HtmlUnit getResolvedHtmlUnit(Source htmlSource) { | 707 HtmlUnit getResolvedHtmlUnit(Source htmlSource) { |
708 return baseContext.getResolvedHtmlUnit(htmlSource); | 708 return baseContext.getResolvedHtmlUnit(htmlSource); |
709 } | 709 } |
710 | 710 |
711 @override | 711 @override |
| 712 List<Source> getSourcesWithFullName(String path) { |
| 713 return baseContext.getSourcesWithFullName(path); |
| 714 } |
| 715 |
| 716 @override |
712 bool handleContentsChanged( | 717 bool handleContentsChanged( |
713 Source source, String originalContents, String newContents, bool notify) { | 718 Source source, String originalContents, String newContents, bool notify) { |
714 return baseContext.handleContentsChanged( | 719 return baseContext.handleContentsChanged( |
715 source, originalContents, newContents, notify); | 720 source, originalContents, newContents, notify); |
716 } | 721 } |
717 | 722 |
718 @override | 723 @override |
719 bool isClientLibrary(Source librarySource) { | 724 bool isClientLibrary(Source librarySource) { |
720 return baseContext.isClientLibrary(librarySource); | 725 return baseContext.isClientLibrary(librarySource); |
721 } | 726 } |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 void setContents(Source source, String contents) { | 783 void setContents(Source source, String contents) { |
779 baseContext.setContents(source, contents); | 784 baseContext.setContents(source, contents); |
780 } | 785 } |
781 | 786 |
782 @override | 787 @override |
783 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, | 788 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, |
784 DataDescriptor rowDesc, CacheState state)) { | 789 DataDescriptor rowDesc, CacheState state)) { |
785 baseContext.visitCacheItems(callback); | 790 baseContext.visitCacheItems(callback); |
786 } | 791 } |
787 } | 792 } |
OLD | NEW |