Documentation
¶
Index ¶
- func TestBadness(t *testing.T, hashers oi.ProtoHashers)
- func TestEmptyFields(t *testing.T, hashers oi.ProtoHashers)
- func TestFloatFields(t *testing.T, hashers oi.ProtoHashers)
- func TestIntegerFields(t *testing.T, hashers oi.ProtoHashers)
- func TestMaps(t *testing.T, hashers oi.ProtoHashers)
- func TestOneOfFields(t *testing.T, hashers oi.ProtoHashers)
- func TestOtherTypes(t *testing.T, hashers oi.ProtoHashers)
- func TestProto2DefaultFieldValues(t *testing.T, hashers oi.ProtoHashers)
- func TestRepeatedFields(t *testing.T, hashers oi.ProtoHashers)
- func TestStringFields(t *testing.T, hashers oi.ProtoHashers)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestBadness ¶
func TestBadness(t *testing.T, hashers oi.ProtoHashers)
TestBadness checks that bad protobuf values are rejected properly.
func TestEmptyFields ¶
func TestEmptyFields(t *testing.T, hashers oi.ProtoHashers)
TestEmptyFields checks that empty proto fields are handled properly.
func TestFloatFields ¶
func TestFloatFields(t *testing.T, hashers oi.ProtoHashers)
TestFloatFields performs tests on how floating point numbers are handled.
func TestIntegerFields ¶
func TestIntegerFields(t *testing.T, hashers oi.ProtoHashers)
TestIntegerFields performs tests on how integers are handled.
func TestMaps ¶
func TestMaps(t *testing.T, hashers oi.ProtoHashers)
TestMaps performs tests on how maps are handled.
func TestOneOfFields ¶
func TestOneOfFields(t *testing.T, hashers oi.ProtoHashers)
TestOneOfFields checks that oneof fields are handled properly.
func TestOtherTypes ¶
func TestOtherTypes(t *testing.T, hashers oi.ProtoHashers)
TestOtherTypes performs tests on types that do not have their own test file.
func TestProto2DefaultFieldValues ¶
func TestProto2DefaultFieldValues(t *testing.T, hashers oi.ProtoHashers)
TestProto2DefaultFieldValues checks that proto2 default field values are properly hashed.
func TestRepeatedFields ¶
func TestRepeatedFields(t *testing.T, hashers oi.ProtoHashers)
TestRepeatedFields performs tests on how repeated fields are handled.
func TestStringFields ¶
func TestStringFields(t *testing.T, hashers oi.ProtoHashers)
TestStringFields performs tests on how strings are handled.
Types ¶
This section is empty.