Debian Codegraph @

pdata/pmetric/fuzz_test.go

raw
1 // Copyright The OpenTelemetry Authors
2 // SPDX-License-Identifier: Apache-2.0
3
4 package pmetric // import "go.opentelemetry.io/collector/pdata/pmetric"
5
6 import (
7 "testing"
8 )
9
10 func FuzzUnmarshalMetrics(f *testing.F) {
11 f.Fuzz(func(_ *testing.T, data []byte) {
12 u := &JSONUnmarshaler{}
13 _, _ = u.UnmarshalMetrics(data)
14 })
15 }