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

Issue 10544134: Add test for buffered file input stream on dart:io File class. (Closed)

Created:
8 years, 6 months ago by Bill Hesse
Modified:
8 years, 6 months ago
Reviewers:
Anders Johnsen
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add test for buffered file input stream on dart:io File class. BUG= TEST=standalone/io/file_test Committed: https://code.google.com/p/dart/source/detail?r=8643

Patch Set 1 #

Total comments: 9

Patch Set 2 : Make int _FileInputStream.readInto return 0 if stream is closed, not null. #

Patch Set 3 : Add piping test, address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -2 lines) Patch
M runtime/bin/stream_util.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/file_test.dart View 1 2 3 chunks +122 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Bill Hesse
8 years, 6 months ago (2012-06-13 12:31:51 UTC) #1
Anders Johnsen
http://codereview.chromium.org/10544134/diff/1/tests/standalone/io/file_test.dart File tests/standalone/io/file_test.dart (right): http://codereview.chromium.org/10544134/diff/1/tests/standalone/io/file_test.dart#newcode168 tests/standalone/io/file_test.dart:168: static void testReadWriteStreamLargeFile() { We should also test the ...
8 years, 6 months ago (2012-06-13 12:51:31 UTC) #2
Bill Hesse
Added a test of .pipe. Addressed comments. This now also fixes the bug that manifested ...
8 years, 6 months ago (2012-06-13 14:18:46 UTC) #3
Anders Johnsen
8 years, 6 months ago (2012-06-14 06:13:05 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698