Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Side by Side Diff: pkg/analyzer/test/source/embedder_test.dart

Issue 2265793002: Code clean-up (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analyzer/test/generated/source_factory_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 library analyzer.test.source.embedder_test; 6 library analyzer.test.source.embedder_test;
6 7
7 import 'dart:core' hide Resource; 8 import 'dart:core' hide Resource;
8 9
9 import 'package:analyzer/source/embedder.dart'; 10 import 'package:analyzer/source/embedder.dart';
10 import 'package:analyzer/src/generated/sdk.dart'; 11 import 'package:analyzer/src/generated/sdk.dart';
11 import 'package:analyzer/src/generated/source.dart'; 12 import 'package:analyzer/src/generated/source.dart';
12 import 'package:unittest/unittest.dart'; 13 import 'package:unittest/unittest.dart';
13 14
14 import '../embedder_tests.dart'; 15 import '../embedder_tests.dart';
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 expect(restoreUri.scheme, split[0]); 156 expect(restoreUri.scheme, split[0]);
156 expect(restoreUri.path, split[1]); 157 expect(restoreUri.path, split[1]);
157 } 158 }
158 159
159 expectRestore('dart:deep'); 160 expectRestore('dart:deep');
160 expectRestore('dart:deep/file.dart', 'dart:deep'); 161 expectRestore('dart:deep/file.dart', 'dart:deep');
161 expectRestore('dart:deep/part.dart'); 162 expectRestore('dart:deep/part.dart');
162 expectRestore('dart:deep/deep/file.dart'); 163 expectRestore('dart:deep/deep/file.dart');
163 } 164 }
164 } 165 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/generated/source_factory_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698