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

Side by Side Diff: sdk/lib/_internal/pub/test/pub_test.dart

Issue 22941002: Remove unused imports in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 pub_tests; 5 library pub_tests;
6 6
7 import 'dart:io';
8
9 import 'package:scheduled_test/scheduled_test.dart'; 7 import 'package:scheduled_test/scheduled_test.dart';
10 8
11 import 'descriptor.dart' as d; 9 import 'descriptor.dart' as d;
12 import 'test_pub.dart'; 10 import 'test_pub.dart';
13 11
14 final USAGE_STRING = """ 12 final USAGE_STRING = """
15 Pub is a package manager for Dart. 13 Pub is a package manager for Dart.
16 14
17 Usage: pub command [arguments] 15 Usage: pub command [arguments]
18 16
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // The "version" file generated on developer builds is a little funky and 169 // The "version" file generated on developer builds is a little funky and
172 // we need to make sure we don't choke on it. 170 // we need to make sure we don't choke on it.
173 d.dir(sdkPath, [ 171 d.dir(sdkPath, [
174 d.file('version', '0.1.2.0_r16279_bobross'), 172 d.file('version', '0.1.2.0_r16279_bobross'),
175 ]).create(); 173 ]).create();
176 174
177 schedulePub(args: ['version'], output: "Pub 0.1.2+0.r16279.bobross\n"); 175 schedulePub(args: ['version'], output: "Pub 0.1.2+0.r16279.bobross\n");
178 }); 176 });
179 }); 177 });
180 } 178 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/pub/test/pub_install_and_update_test.dart ('k') | sdk/lib/_internal/pub/test/pubspec_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698