Commit Graph

2 Commits

Author SHA1 Message Date
Damien Neil
4eeab367ab internal/fuzztest: set cap to len on test byte slice
Change-Id: I807995997fe7addf005eb639b0d4843cfb58f52b
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/218018
Reviewed-by: Herbie Ong <herbie@google.com>
2020-02-05 22:46:04 +00:00
Damien Neil
75f53c59e1 internal/fuzztest: factor out common fuzzer tests
All the fuzzers have the same test, which runs the fuzzer against every
entry in the corpus. Move the test logic into a separate package.

Change-Id: I3a7e2ca75d20a5ff6d51ed9e6151629e6667684b
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/212258
Reviewed-by: Joe Tsai <joetsai@google.com>
2019-12-20 22:08:10 +00:00