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

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

Issue 1349393004: Unused import cleanup. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | pkg/analyzer/test/generated/static_type_warning_code_test.dart » ('j') | 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) 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 engine.java_io_test;
6 6
7 import 'dart:io';
8
9 import 'package:analyzer/src/generated/java_io.dart'; 7 import 'package:analyzer/src/generated/java_io.dart';
10 import 'package:unittest/unittest.dart'; 8 import 'package:unittest/unittest.dart';
11 9
12 import '../utils.dart'; 10 import '../utils.dart';
13 11
14 main() { 12 main() {
15 initializeTestEnvironment(); 13 initializeTestEnvironment();
16 group('JavaFile', () { 14 group('JavaFile', () {
17 group('toURI', () { 15 group('toURI', () {
18 test('forAbsolute', () { 16 test('forAbsolute', () {
(...skipping 17 matching lines...) Expand all
36 // 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.
37 String relPath = JavaFile.pathContext.relative(path); 35 String relPath = JavaFile.pathContext.relative(path);
38 // test that toURI() returns an absolute URI 36 // test that toURI() returns an absolute URI
39 Uri uri = new JavaFile(relPath).toURI(); 37 Uri uri = new JavaFile(relPath).toURI();
40 expect(uri.isAbsolute, isTrue); 38 expect(uri.isAbsolute, isTrue);
41 expect(uri.scheme, 'file'); 39 expect(uri.scheme, 'file');
42 }); 40 });
43 }); 41 });
44 }); 42 });
45 } 43 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/static_type_warning_code_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698