Skip to content

Commit

Permalink
test_roundtrip_seekstart
Browse files Browse the repository at this point in the history
  • Loading branch information
nhz2 committed Jun 10, 2024
1 parent 1a97b57 commit f204a21
Showing 1 changed file with 9 additions and 0 deletions.
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

0 comments on commit f204a21

Please sign in to comment.