| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
package pmetricotlp |
| 5 |
|
| 6 |
import ( |
| 7 |
"testing" |
| 8 |
) |
| 9 |
|
| 10 |
func FuzzRequestUnmarshalJSON(f *testing.F) { |
| 11 |
f.Fuzz(func(_ *testing.T, data []byte) { |
| 12 |
er := NewExportRequest() |
| 13 |
_ = er.UnmarshalJSON(data) |
| 14 |
}) |
| 15 |
} |
| 16 |
|
| 17 |
func FuzzResponseUnmarshalJSON(f *testing.F) { |
| 18 |
f.Fuzz(func(_ *testing.T, data []byte) { |
| 19 |
er := NewExportResponse() |
| 20 |
_ = er.UnmarshalJSON(data) |
| 21 |
}) |
| 22 |
} |
| 23 |
|
| 24 |
func FuzzRequestUnmarshalProto(f *testing.F) { |
| 25 |
f.Fuzz(func(_ *testing.T, data []byte) { |
| 26 |
er := NewExportRequest() |
| 27 |
_ = er.UnmarshalJSON(data) |
| 28 |
}) |
| 29 |
} |
| 30 |
|
| 31 |
func FuzzResponseUnmarshalProto(f *testing.F) { |
| 32 |
f.Fuzz(func(_ *testing.T, data []byte) { |
| 33 |
er := NewExportResponse() |
| 34 |
_ = er.UnmarshalJSON(data) |
| 35 |
}) |
| 36 |
} |