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 // This code was auto-generated, is not intended to be edited, and is subject to | |
6 // significant change. Please see the README file for more information. | |
7 | |
8 library analyzer.test.generated.source_factory; | 5 library analyzer.test.generated.source_factory; |
9 | 6 |
10 import 'dart:convert'; | 7 import 'dart:convert'; |
11 | 8 |
12 import 'package:analyzer/file_system/file_system.dart'; | 9 import 'package:analyzer/file_system/file_system.dart'; |
13 import 'package:analyzer/file_system/memory_file_system.dart'; | 10 import 'package:analyzer/file_system/memory_file_system.dart'; |
14 import 'package:analyzer/source/package_map_resolver.dart'; | 11 import 'package:analyzer/source/package_map_resolver.dart'; |
15 import 'package:analyzer/src/generated/java_core.dart'; | 12 import 'package:analyzer/src/generated/java_core.dart'; |
16 import 'package:analyzer/src/generated/java_engine_io.dart'; | 13 import 'package:analyzer/src/generated/java_engine_io.dart'; |
17 import 'package:analyzer/src/generated/java_io.dart'; | 14 import 'package:analyzer/src/generated/java_io.dart'; |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 UriResolver_SourceFactoryTest_test_fromEncoding_valid(this.encoding); | 340 UriResolver_SourceFactoryTest_test_fromEncoding_valid(this.encoding); |
344 | 341 |
345 @override | 342 @override |
346 Source resolveAbsolute(Uri uri, [Uri actualUri]) { | 343 Source resolveAbsolute(Uri uri, [Uri actualUri]) { |
347 if (uri.toString() == encoding) { | 344 if (uri.toString() == encoding) { |
348 return new TestSource(); | 345 return new TestSource(); |
349 } | 346 } |
350 return null; | 347 return null; |
351 } | 348 } |
352 } | 349 } |
OLD | NEW |