Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_roundtrip_seekstart #82

Merged
merged 1 commit into from
Jun 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ const testdir = @__DIR__
test_roundtrip_read(GzipCompressorStream, GzipDecompressorStream)
test_roundtrip_write(GzipCompressorStream, GzipDecompressorStream)
test_roundtrip_lines(GzipCompressorStream, GzipDecompressorStream)
if isdefined(TranscodingStreams, :test_roundtrip_seekstart)
TranscodingStreams.test_roundtrip_seekstart(GzipCompressorStream, GzipDecompressorStream)
end
test_roundtrip_transcode(GzipCompressor, GzipDecompressor)

@test_throws ArgumentError GzipCompressor(level=10)
Expand Down Expand Up @@ -186,6 +189,9 @@ end
test_roundtrip_read(ZlibCompressorStream, ZlibDecompressorStream)
test_roundtrip_write(ZlibCompressorStream, ZlibDecompressorStream)
test_roundtrip_lines(ZlibCompressorStream, ZlibDecompressorStream)
if isdefined(TranscodingStreams, :test_roundtrip_seekstart)
TranscodingStreams.test_roundtrip_seekstart(ZlibCompressorStream, ZlibDecompressorStream)
end
test_roundtrip_transcode(ZlibCompressor, ZlibDecompressor)

@test_throws ArgumentError ZlibCompressor(level=10)
Expand All @@ -210,6 +216,9 @@ end
test_roundtrip_read(DeflateCompressorStream, DeflateDecompressorStream)
test_roundtrip_write(DeflateCompressorStream, DeflateDecompressorStream)
test_roundtrip_lines(DeflateCompressorStream, DeflateDecompressorStream)
if isdefined(TranscodingStreams, :test_roundtrip_seekstart)
TranscodingStreams.test_roundtrip_seekstart(DeflateCompressorStream, DeflateDecompressorStream)
end
test_roundtrip_transcode(DeflateCompressor, DeflateDecompressor)

@test DeflateCompressorStream <: TranscodingStream
Expand Down