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

Unified Diff: tests/standalone/src/io/ProcessInvalidArgumentsTest.dart

Issue 10252020: test rename overhaul: step 12 - standalone (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « tests/standalone/src/io/ProcessExitTest.dart ('k') | tests/standalone/src/io/ProcessRunOutputTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/io/ProcessInvalidArgumentsTest.dart
diff --git a/tests/standalone/src/io/ProcessInvalidArgumentsTest.dart b/tests/standalone/src/io/ProcessInvalidArgumentsTest.dart
deleted file mode 100644
index ad44d461b1adc1871072f4db6f497c828ec8d1ee..0000000000000000000000000000000000000000
--- a/tests/standalone/src/io/ProcessInvalidArgumentsTest.dart
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-//
-// Process test program to test that invalid arguments throw exceptions.
-
-#import("dart:io");
-
-void main() {
- Expect.throws(() => new Process.start(["true"], []),
- (e) => e is IllegalArgumentException);
- Expect.throws(() => new Process.start("true", "asdf"),
- (e) => e is IllegalArgumentException);
- Expect.throws(() => new Process.start("true", ["asdf", 1]),
- (e) => e is IllegalArgumentException);
- Expect.throws(() => new Process.run(["true"], [], null,
- (exit, out, err) => null),
- (e) => e is IllegalArgumentException);
- Expect.throws(() => new Process.run("true", "asdf", null,
- (exit, out, err) => null),
- (e) => e is IllegalArgumentException);
- Expect.throws(() => new Process.run("true", ["asdf", 1], null,
- (exit, out, err) => null),
- (e) => e is IllegalArgumentException);
- var options = new ProcessOptions();
- options.workingDirectory = 23;
- Expect.throws(() => new Process.start("true", [], options),
- (e) => e is IllegalArgumentException);
- Expect.throws(() => new Process.run("true", [], options,
- (exit, out, err) => null),
- (e) => e is IllegalArgumentException);
- options = new ProcessOptions();
- options.stdoutEncoding = 23;
- Expect.throws(() => new Process.run("true", [], options,
- (exit, out, err) => null),
- (e) => e is IllegalArgumentException);
- options = new ProcessOptions();
- options.stderrEncoding = 23;
- Expect.throws(() => new Process.run("true", [], options,
- (exit, out, err) => null),
- (e) => e is IllegalArgumentException);
-}
« no previous file with comments | « tests/standalone/src/io/ProcessExitTest.dart ('k') | tests/standalone/src/io/ProcessRunOutputTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698