MCPcopy
hub / github.com/grafana/tempo / TestAllVersions

Function TestAllVersions

tempodb/encoding/versioned_test.go:70–77  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

68}
69
70func TestAllVersions(t *testing.T) {
71 for _, v := range AllEncodings() {
72 encoding, err := FromVersion(v.Version())
73
74 require.Equal(t, v.Version(), encoding.Version())
75 require.NoError(t, err)
76 }
77}

Callers

nothing calls this directly

Calls 4

AllEncodingsFunction · 0.85
FromVersionFunction · 0.85
VersionMethod · 0.65
EqualMethod · 0.45

Tested by

no test coverage detected