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

Unified Diff: tests/standalone/io/stdout_stderr_non_blocking_test.dart

Issue 851253002: Reapply revert of "Make stdout/stderr async" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changes to fix build-bot failures Created 5 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
Index: tests/standalone/io/stdout_stderr_non_blocking_test.dart
diff --git a/tests/standalone/io/stdout_stderr_test.dart b/tests/standalone/io/stdout_stderr_non_blocking_test.dart
similarity index 82%
copy from tests/standalone/io/stdout_stderr_test.dart
copy to tests/standalone/io/stdout_stderr_non_blocking_test.dart
index 296a8d6415a76f474f498cfa4f62d5678325ae24..061e8557d3ddcc2083e04ddce859b234b5a22f00 100644
--- a/tests/standalone/io/stdout_stderr_test.dart
+++ b/tests/standalone/io/stdout_stderr_non_blocking_test.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2014, 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.
@@ -33,10 +33,10 @@ callIOSink(IOSink sink) {
}
main() {
- callIOSink(stdout);
- stdout.done.then((_) {
- callIOSink(stderr);
- stderr.done.then((_) {
+ callIOSink(stdout.nonBlocking);
+ stdout.nonBlocking.done.then((_) {
+ callIOSink(stderr.nonBlocking);
+ stderr.nonBlocking.done.then((_) {
stdout.close();
stderr.close();
});
« no previous file with comments | « tests/standalone/io/stdio_nonblocking_test.dart ('k') | tests/standalone/io/stdout_stderr_terminal_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698