mirror of
https://github.com/aler9/gortsplib
synced 2025-10-13 02:43:53 +08:00
rewrite fuzz tests of decoders in order to get deterministic results (#261)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
go test fuzz v1
|
||||
[]byte("")
|
||||
bool(false)
|
||||
[]byte("1000")
|
||||
bool(false)
|
5
pkg/formats/rtpvp8/testdata/fuzz/FuzzDecoder/079a435e5445c35b
vendored
Normal file
5
pkg/formats/rtpvp8/testdata/fuzz/FuzzDecoder/079a435e5445c35b
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
go test fuzz v1
|
||||
[]byte("")
|
||||
bool(false)
|
||||
[]byte("")
|
||||
bool(false)
|
5
pkg/formats/rtpvp8/testdata/fuzz/FuzzDecoder/2b9461645a4b90d2
vendored
Normal file
5
pkg/formats/rtpvp8/testdata/fuzz/FuzzDecoder/2b9461645a4b90d2
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
go test fuzz v1
|
||||
[]byte("\xf8\x9a\x9f000")
|
||||
bool(true)
|
||||
[]byte(" 00000")
|
||||
bool(false)
|
@@ -1,3 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("0")
|
||||
bool(false)
|
@@ -1,3 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte(" 000")
|
||||
bool(false)
|
Reference in New Issue
Block a user