| 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 test.context.directory.manager; | 5 library test.context.directory.manager; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 | 8 |
| 9 import 'package:analysis_server/src/context_manager.dart'; | 9 import 'package:analysis_server/src/context_manager.dart'; |
| 10 import 'package:analyzer/file_system/file_system.dart'; | 10 import 'package:analyzer/file_system/file_system.dart'; |
| (...skipping 1547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1558 @override | 1558 @override |
| 1559 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 1559 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
| 1560 } | 1560 } |
| 1561 | 1561 |
| 1562 class TestUriResolver extends UriResolver { | 1562 class TestUriResolver extends UriResolver { |
| 1563 Map<Uri, Source> uriMap; | 1563 Map<Uri, Source> uriMap; |
| 1564 | 1564 |
| 1565 TestUriResolver(this.uriMap); | 1565 TestUriResolver(this.uriMap); |
| 1566 | 1566 |
| 1567 @override | 1567 @override |
| 1568 Source resolveAbsolute(Uri uri) { | 1568 Source resolveAbsolute(Uri uri, [Uri actualUri]) { |
| 1569 return uriMap[uri]; | 1569 return uriMap[uri]; |
| 1570 } | 1570 } |
| 1571 } | 1571 } |
| OLD | NEW |