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

Unified Diff: utils/tests/pub/pub_uploader_test.dart

Issue 12036065: Make pub use the SDK's "version" file for its version. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Comment regex. Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/tests/pub/pub_test.dart ('k') | utils/tests/pub/real_version_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/pub_uploader_test.dart
diff --git a/utils/tests/pub/pub_uploader_test.dart b/utils/tests/pub/pub_uploader_test.dart
index 93e1100adac4359a1e717309976882cd41bcbb0e..fa585af0bf0e2bcd60a26b3b66805fc83b7c9580 100644
--- a/utils/tests/pub/pub_uploader_test.dart
+++ b/utils/tests/pub/pub_uploader_test.dart
@@ -32,15 +32,20 @@ ScheduledProcess startPubUploader(ScheduledServer server, List<String> args) {
main() {
group('displays usage', () {
- test('when run with no arguments', () =>
- runPub(args: ['uploader'], output: USAGE_STRING, exitCode: 64));
+ integration('when run with no arguments', () {
+ schedulePub(args: ['uploader'],
+ output: USAGE_STRING, exitCode: 64);
+ });
- test('when run with only a command', () =>
- runPub(args: ['uploader', 'add'], output: USAGE_STRING, exitCode: 64));
+ integration('when run with only a command', () {
+ schedulePub(args: ['uploader', 'add'],
+ output: USAGE_STRING, exitCode: 64);
+ });
- test('when run with an invalid command', () => runPub(
- args: ['uploader', 'foo', 'email'],
- output: USAGE_STRING, exitCode: 64));
+ integration('when run with an invalid command', () {
+ schedulePub(args: ['uploader', 'foo', 'email'],
+ output: USAGE_STRING, exitCode: 64);
+ });
});
integration('adds an uploader', () {
« no previous file with comments | « utils/tests/pub/pub_test.dart ('k') | utils/tests/pub/real_version_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698