OLD | NEW |
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'; | 7 import 'dart:io'; |
8 | 8 |
9 import '../../../pkg/scheduled_test/lib/scheduled_test.dart'; | 9 import 'package:scheduled_test/scheduled_test.dart'; |
10 | 10 |
11 import 'descriptor.dart' as d; | 11 import 'descriptor.dart' as d; |
12 import 'test_pub.dart'; | 12 import 'test_pub.dart'; |
13 | 13 |
14 final USAGE_STRING = """ | 14 final USAGE_STRING = """ |
15 Pub is a package manager for Dart. | 15 Pub is a package manager for Dart. |
16 | 16 |
17 Usage: pub command [arguments] | 17 Usage: pub command [arguments] |
18 | 18 |
19 Global options: | 19 Global options: |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 // The "version" file generated on developer builds is a little funky and | 143 // The "version" file generated on developer builds is a little funky and |
144 // we need to make sure we don't choke on it. | 144 // we need to make sure we don't choke on it. |
145 d.dir(sdkPath, [ | 145 d.dir(sdkPath, [ |
146 d.file('version', '0.1.2.0_r16279_bobross'), | 146 d.file('version', '0.1.2.0_r16279_bobross'), |
147 ]).create(); | 147 ]).create(); |
148 | 148 |
149 schedulePub(args: ['version'], output: "Pub 0.1.2+0.r16279.bobross\n"); | 149 schedulePub(args: ['version'], output: "Pub 0.1.2+0.r16279.bobross\n"); |
150 }); | 150 }); |
151 }); | 151 }); |
152 } | 152 } |
OLD | NEW |