| Index: pkg/analyzer/test/source/sdk_ext_test.dart
|
| diff --git a/pkg/analyzer/test/source/sdk_ext_test.dart b/pkg/analyzer/test/source/sdk_ext_test.dart
|
| index 02eb035710682987abd029eaeb36b503d742d7b4..288fe3750657cee45de054934c920c3ebf4aa59e 100644
|
| --- a/pkg/analyzer/test/source/sdk_ext_test.dart
|
| +++ b/pkg/analyzer/test/source/sdk_ext_test.dart
|
| @@ -4,31 +4,10 @@
|
|
|
| library test.source.sdk_ext;
|
|
|
| -import 'package:analyzer/file_system/file_system.dart';
|
| import 'package:analyzer/file_system/memory_file_system.dart';
|
| import 'package:analyzer/source/sdk_ext.dart';
|
| import 'package:unittest/unittest.dart';
|
|
|
| -MemoryResourceProvider resourceProvider;
|
| -
|
| -buildResourceProvider() {
|
| - resourceProvider = new MemoryResourceProvider();
|
| - resourceProvider.newFolder('/empty');
|
| - resourceProvider.newFolder('/tmp');
|
| - resourceProvider.newFile('/tmp/_sdkext', r'''
|
| - {
|
| - "dart:fox": "slippy.dart",
|
| - "dart:bear": "grizzly.dart",
|
| - "dart:relative": "../relative.dart",
|
| - "dart:deep": "deep/directory/file.dart",
|
| - "fart:loudly": "nomatter.dart"
|
| - }''');
|
| -}
|
| -
|
| -clearResourceProvider() {
|
| - resourceProvider = null;
|
| -}
|
| -
|
| main() {
|
| groupSep = ' | ';
|
| group('SdkExtUriResolverTest', () {
|
| @@ -95,3 +74,23 @@ main() {
|
| });
|
| });
|
| }
|
| +
|
| +MemoryResourceProvider resourceProvider;
|
| +
|
| +buildResourceProvider() {
|
| + resourceProvider = new MemoryResourceProvider();
|
| + resourceProvider.newFolder('/empty');
|
| + resourceProvider.newFolder('/tmp');
|
| + resourceProvider.newFile('/tmp/_sdkext', r'''
|
| + {
|
| + "dart:fox": "slippy.dart",
|
| + "dart:bear": "grizzly.dart",
|
| + "dart:relative": "../relative.dart",
|
| + "dart:deep": "deep/directory/file.dart",
|
| + "fart:loudly": "nomatter.dart"
|
| + }''');
|
| +}
|
| +
|
| +clearResourceProvider() {
|
| + resourceProvider = null;
|
| +}
|
|
|