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

Side by Side Diff: pkg/analyzer/test/generated/java_io_test.dart

Issue 1513643009: Clean up package imports and library names (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library engine.java_io_test; 5 library analyzer.test.generated.java_io_test;
6 6
7 import 'package:analyzer/src/generated/java_io.dart'; 7 import 'package:analyzer/src/generated/java_io.dart';
8 import 'package:unittest/unittest.dart'; 8 import 'package:unittest/unittest.dart';
9 9
10 import '../utils.dart'; 10 import '../utils.dart';
11 11
12 main() { 12 main() {
13 initializeTestEnvironment(); 13 initializeTestEnvironment();
14 group('JavaFile', () { 14 group('JavaFile', () {
15 group('toURI', () { 15 group('toURI', () {
(...skipping 18 matching lines...) Expand all
34 // it may be not on Windows, if "temp" is on other disk. 34 // it may be not on Windows, if "temp" is on other disk.
35 String relPath = JavaFile.pathContext.relative(path); 35 String relPath = JavaFile.pathContext.relative(path);
36 // test that toURI() returns an absolute URI 36 // test that toURI() returns an absolute URI
37 Uri uri = new JavaFile(relPath).toURI(); 37 Uri uri = new JavaFile(relPath).toURI();
38 expect(uri.isAbsolute, isTrue); 38 expect(uri.isAbsolute, isTrue);
39 expect(uri.scheme, 'file'); 39 expect(uri.scheme, 'file');
40 }); 40 });
41 }); 41 });
42 }); 42 });
43 } 43 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/generated/java_core_test.dart ('k') | pkg/analyzer/test/generated/non_error_resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698