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

Issue 14962006: Actually end a ZLib stream with a Z_FINISH marker. (Closed)

Created:
7 years, 7 months ago by Anders Johnsen
Modified:
7 years, 6 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Actually end a ZLib stream with a Z_FINISH marker. BUG= R=sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=22830

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -46 lines) Patch
M runtime/bin/filter.h View 3 chunks +12 lines, -3 lines 0 comments Download
M runtime/bin/filter.cc View 4 chunks +18 lines, -12 lines 0 comments Download
M runtime/bin/filter_patch.dart View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/bin/io_natives.cc View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/io/data_transformer.dart View 2 chunks +5 lines, -2 lines 0 comments Download
M tests/standalone/io/zlib_test.dart View 3 chunks +6 lines, -27 lines 2 comments Download

Messages

Total messages: 6 (0 generated)
Anders Johnsen
7 years, 7 months ago (2013-05-16 10:03:24 UTC) #1
kustermann
https://codereview.chromium.org/14962006/diff/1/tests/standalone/io/zlib_test.dart File tests/standalone/io/zlib_test.dart (right): https://codereview.chromium.org/14962006/diff/1/tests/standalone/io/zlib_test.dart#newcode28 tests/standalone/io/zlib_test.dart:28: 0, 46]); I don't know why your tests didn't ...
7 years, 7 months ago (2013-05-16 10:10:08 UTC) #2
Søren Gjesse
lgtm
7 years, 7 months ago (2013-05-16 11:46:18 UTC) #3
Anders Johnsen
Committed patchset #1 manually as r22830 (presubmit successful).
7 years, 7 months ago (2013-05-17 06:28:39 UTC) #4
Anders Johnsen
https://codereview.chromium.org/14962006/diff/1/tests/standalone/io/zlib_test.dart File tests/standalone/io/zlib_test.dart (right): https://codereview.chromium.org/14962006/diff/1/tests/standalone/io/zlib_test.dart#newcode28 tests/standalone/io/zlib_test.dart:28: 0, 46]); On 2013/05/16 10:10:08, kustermann wrote: > I ...
7 years, 6 months ago (2013-06-11 12:15:15 UTC) #5
kustermann
7 years, 6 months ago (2013-06-11 12:18:13 UTC) #6
Message was sent while issue was closed.
On 2013/06/11 12:15:15, Anders Johnsen wrote:
>
https://codereview.chromium.org/14962006/diff/1/tests/standalone/io/zlib_test...
> File tests/standalone/io/zlib_test.dart (right):
> 
>
https://codereview.chromium.org/14962006/diff/1/tests/standalone/io/zlib_test...
> tests/standalone/io/zlib_test.dart:28: 0, 46]);
> On 2013/05/16 10:10:08, kustermann wrote:
> > I don't know why your tests didn't catch this issue. These numbers here are
> > totally opaque to me.
> > 
> > But to make sure we're doing the right thing, I think we should test
> > - gzipping data with /bin/gzip and trying to unzip with builtin code
> > - gzipping with builtin code and trying to unzip with /bin/gunzip
> > - gzipping with builtin code and trying to unzip with builtin code
> 
> The new test is testing that we actually do get a finish chunk. I can't do the
> other tests, as they are not platform independent. We do the last test
already.

It's up to you. But you could still test these things on linux and skip the test
on windows/mac.

Powered by Google App Engine
This is Rietveld 408576698