diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..959972a --- /dev/null +++ b/.codecov.yml @@ -0,0 +1 @@ +comment: false \ No newline at end of file diff --git a/test/Project.toml b/test/Project.toml index 0c899ce..d774034 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -10,6 +10,7 @@ Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +TestsForCodecPackages = "c2e61002-3542-480d-8b3c-5f05cc4f8554" TranscodingStreams = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" ZipArchives = "49080126-0e18-4c2a-b176-c102e4b3760c" p7zip_jll = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0" diff --git a/test/test_ts.jl b/test/test_ts.jl index 77ef7f7..bd13319 100644 --- a/test/test_ts.jl +++ b/test/test_ts.jl @@ -2,13 +2,16 @@ using CodecInflate64 using CodecZlib: DeflateCompressor, DeflateCompressorStream using Random using Test -import TranscodingStreams: - TranscodingStreams, - TranscodingStream, +using TranscodingStreams: TranscodingStream +using TestsForCodecPackages: test_roundtrip_read, test_roundtrip_write, + test_roundtrip_transcode, test_roundtrip_lines, - test_roundtrip_transcode + test_roundtrip_seekstart, + test_roundtrip_fileio, + test_chunked_read, + test_chunked_write @testset "Deflate Codec" begin @@ -18,11 +21,12 @@ import TranscodingStreams: 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_roundtrip_lines(DeflateCompressorStream, DeflateDecompressorStream) + test_roundtrip_seekstart(DeflateCompressorStream, DeflateDecompressorStream) + test_roundtrip_fileio(DeflateCompressor, DeflateDecompressor) + test_chunked_read(DeflateCompressor, DeflateDecompressor) + test_chunked_write(DeflateCompressor, DeflateDecompressor) @test DeflateDecompressorStream <: TranscodingStream end \ No newline at end of file