Versions in this module Expand all Collapse all v1 v1.12.2 Mar 3, 2025 Changes in this version + var MultipleTagsTests = []NamedTest + var Tests = []NamedTest + func FuzzStructUnmarshal(codec codecpkg.GeneralCodec, f *testing.F) + func RunAll(t *testing.T, ctor func() codecpkg.GeneralCodec) + func RunAllMultipleTags(t *testing.T, ctor func() codecpkg.GeneralCodec) + func TestArray(t testing.TB, codec codecpkg.GeneralCodec) + func TestArrayOfInterface(t testing.TB, codec codecpkg.GeneralCodec) + func TestBigArray(t testing.TB, codec codecpkg.GeneralCodec) + func TestBool(t testing.TB, codec codecpkg.GeneralCodec) + func TestCanMarshalLargeSlices(t testing.TB, codec codecpkg.GeneralCodec) + func TestEmptySliceSerialization(t testing.TB, codec codecpkg.GeneralCodec) + func TestExtraSpace(t testing.TB, codec codecpkg.GeneralCodec) + func TestImplementsUnmarshalFrom(t testing.TB, codec codecpkg.GeneralCodec) + func TestInterface(t testing.TB, codec codecpkg.GeneralCodec) + func TestMap(t testing.TB, codec codecpkg.GeneralCodec) + func TestMapWithEmptySerialization(t testing.TB, codec codecpkg.GeneralCodec) + func TestMapWithEmptySerializationError(t testing.TB, codec codecpkg.GeneralCodec) + func TestMaxSizeSlice(t testing.TB, codec codecpkg.GeneralCodec) + func TestMultipleTags(t testing.TB, codec codecpkg.GeneralCodec) + func TestNegativeNumbers(t testing.TB, codec codecpkg.GeneralCodec) + func TestNilSlice(t testing.TB, codec codecpkg.GeneralCodec) + func TestNilSliceSerialization(t testing.TB, codec codecpkg.GeneralCodec) + func TestPointerToInterface(t testing.TB, codec codecpkg.GeneralCodec) + func TestPointerToStruct(t testing.TB, codec codecpkg.GeneralCodec) + func TestRegisterStructTwice(t testing.TB, codec codecpkg.GeneralCodec) + func TestSerializeOfNoSerializeField(t testing.TB, codec codecpkg.GeneralCodec) + func TestSerializeUnexportedField(t testing.TB, codec codecpkg.GeneralCodec) + func TestSlice(t testing.TB, codec codecpkg.GeneralCodec) + func TestSliceLengthOverflow(t testing.TB, codec codecpkg.GeneralCodec) + func TestSliceOfInterface(t testing.TB, codec codecpkg.GeneralCodec) + func TestSliceOfStruct(t testing.TB, codec codecpkg.GeneralCodec) + func TestSliceTooLarge(t testing.TB, codec codecpkg.GeneralCodec) + func TestSliceWithEmptySerialization(t testing.TB, codec codecpkg.GeneralCodec) + func TestSliceWithEmptySerializationError(t testing.TB, codec codecpkg.GeneralCodec) + func TestString(t testing.TB, codec codecpkg.GeneralCodec) + func TestStruct(t testing.TB, codec codecpkg.GeneralCodec) + func TestTooLargeUnmarshal(t testing.TB, codec codecpkg.GeneralCodec) + func TestUInt32(t testing.TB, codec codecpkg.GeneralCodec) + func TestUIntPtr(t testing.TB, codec codecpkg.GeneralCodec) + func TestUnmarshalInvalidInterface(t testing.TB, codec codecpkg.GeneralCodec) + type Foo interface + Foo func() int + type MultipleVersionsStruct struct + BothTags string + EitherTags1 string + EitherTags2 string + NoTags string + SingleTag1 string + SingleTag2 string + type MyInnerStruct struct + Str string + func (*MyInnerStruct) Foo() int + type MyInnerStruct2 struct + Bool bool + func (*MyInnerStruct2) Foo() int + type MyInnerStruct3 struct + F Foo + M1 MyInnerStruct + Str string + type NamedTest struct + Name string + Test func(testing.TB, codecpkg.GeneralCodec) + func (tt *NamedTest) Run(t *testing.T, c codecpkg.GeneralCodec)