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

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

Issue 228093003: Make File:openRead always have one outstanding read, when invoking callbacks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « sdk/lib/io/file_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/file_input_stream_test.dart
diff --git a/tests/standalone/io/file_input_stream_test.dart b/tests/standalone/io/file_input_stream_test.dart
index 8357d534f0b3594f346049b431e45e4e1f505090..923a44ccf8753454ee32488cf3cb81a94fab4e50 100644
--- a/tests/standalone/io/file_input_stream_test.dart
+++ b/tests/standalone/io/file_input_stream_test.dart
@@ -55,7 +55,7 @@ void testOpenStreamAsync() {
int writeLongFileSync(File file) {
file.createSync();
StringBuffer buffer = new StringBuffer();
- for (var i = 0; i < 10000; i++) {
+ for (var i = 0; i < 50000; i++) {
buffer.write("Hello, world");
}
file.writeAsStringSync(buffer.toString());
« no previous file with comments | « sdk/lib/io/file_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698