MCPcopy Index your code
hub / github.com/klauspost/compress / TestNewDecoderLarge

Function TestNewDecoderLarge

zstd/decoder_test.go:457–467  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

455}
456
457func TestNewDecoderLarge(t *testing.T) {
458 newFn := func() (*Decoder, error) {
459 return NewReader(nil)
460 }
461 testDecoderFile(t, "testdata/large.zip", newFn)
462 dec, err := NewReader(nil)
463 if err != nil {
464 t.Fatal(err)
465 }
466 testDecoderDecodeAll(t, "testdata/large.zip", dec)
467}
468
469func TestNewReaderRead(t *testing.T) {
470 dec, err := NewReader(nil)

Callers

nothing calls this directly

Calls 4

testDecoderFileFunction · 0.85
testDecoderDecodeAllFunction · 0.85
FatalMethod · 0.80
NewReaderFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…