| Index: pkg/analyzer/test/generated/analysis_context_factory.dart
|
| diff --git a/pkg/analyzer/test/generated/analysis_context_factory.dart b/pkg/analyzer/test/generated/analysis_context_factory.dart
|
| index 04560c2f4115606e3d3bfd2fc3e0148ffb58c0e2..cca5d3bdeffc8bc0211618ca8570b281f5a98fa3 100644
|
| --- a/pkg/analyzer/test/generated/analysis_context_factory.dart
|
| +++ b/pkg/analyzer/test/generated/analysis_context_factory.dart
|
| @@ -512,17 +512,19 @@ class AnalysisContextHelper {
|
| }
|
|
|
| class TestPackageUriResolver extends UriResolver {
|
| - Map<Uri, Source> sourceMap = new HashMap<Uri, Source>();
|
| + Map<String, Source> sourceMap = new HashMap<String, Source>();
|
|
|
| TestPackageUriResolver(Map<String, String> map) {
|
| map.forEach((String uri, String contents) {
|
| - sourceMap[Uri.parse(uri)] =
|
| - new StringSource(contents, '/test_pkg_source.dart');
|
| + sourceMap[uri] = new StringSource(contents, '/test_pkg_source.dart');
|
| });
|
| }
|
|
|
| @override
|
| - Source resolveAbsolute(Uri uri, [Uri actualUri]) => sourceMap[uri];
|
| + Source resolveAbsolute(Uri uri, [Uri actualUri]) {
|
| + String uriString = uri.toString();
|
| + return sourceMap[uriString];
|
| + }
|
|
|
| @override
|
| Uri restoreAbsolute(Source source) => throw new UnimplementedError();
|
|
|