| 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 @deprecated | 5 @deprecated |
| 6 library analyzer.test.source.embedder_test; | 6 library analyzer.test.source.embedder_test; |
| 7 | 7 |
| 8 import 'dart:core' hide Resource; | 8 import 'dart:core'; |
| 9 | 9 |
| 10 import 'package:analyzer/source/embedder.dart'; | 10 import 'package:analyzer/source/embedder.dart'; |
| 11 import 'package:analyzer/src/generated/sdk.dart'; | 11 import 'package:analyzer/src/generated/sdk.dart'; |
| 12 import 'package:analyzer/src/generated/source.dart'; | 12 import 'package:analyzer/src/generated/source.dart'; |
| 13 import 'package:unittest/unittest.dart'; | 13 import 'package:unittest/unittest.dart'; |
| 14 | 14 |
| 15 import '../embedder_tests.dart'; | 15 import '../embedder_tests.dart'; |
| 16 import '../reflective_tests.dart'; | 16 import '../reflective_tests.dart'; |
| 17 import '../resource_utils.dart'; | 17 import '../resource_utils.dart'; |
| 18 | 18 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 expect(restoreUri.scheme, split[0]); | 156 expect(restoreUri.scheme, split[0]); |
| 157 expect(restoreUri.path, split[1]); | 157 expect(restoreUri.path, split[1]); |
| 158 } | 158 } |
| 159 | 159 |
| 160 expectRestore('dart:deep'); | 160 expectRestore('dart:deep'); |
| 161 expectRestore('dart:deep/file.dart', 'dart:deep'); | 161 expectRestore('dart:deep/file.dart', 'dart:deep'); |
| 162 expectRestore('dart:deep/part.dart'); | 162 expectRestore('dart:deep/part.dart'); |
| 163 expectRestore('dart:deep/deep/file.dart'); | 163 expectRestore('dart:deep/deep/file.dart'); |
| 164 } | 164 } |
| 165 } | 165 } |
| OLD | NEW |