Documentation ¶
Index ¶
- func TestEmptyFields(t *testing.T, hasher *ph.ProtoHasher)
- func TestFloatFields(t *testing.T, hasher *ph.ProtoHasher)
- func TestIntegerFields(t *testing.T, hasher *ph.ProtoHasher)
- func TestMaps(t *testing.T, hasher *ph.ProtoHasher)
- func TestOneOfFields(t *testing.T, hasher *ph.ProtoHasher)
- func TestOtherTypes(t *testing.T, hasher *ph.ProtoHasher)
- func TestRepeatedFields(t *testing.T, hasher *ph.ProtoHasher)
- func TestStringFields(t *testing.T, hasher *ph.ProtoHasher)
- func TestTimestamps(t *testing.T, hasher *ph.ProtoHasher)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestEmptyFields ¶
func TestEmptyFields(t *testing.T, hasher *ph.ProtoHasher)
TestEmptyFields checks that empty proto fields are handled properly.
func TestFloatFields ¶
func TestFloatFields(t *testing.T, hasher *ph.ProtoHasher)
TestFloatFields performs tests on how floating point numbers are handled.
func TestIntegerFields ¶
func TestIntegerFields(t *testing.T, hasher *ph.ProtoHasher)
TestIntegerFields performs tests on how integers are handled.
func TestMaps ¶
func TestMaps(t *testing.T, hasher *ph.ProtoHasher)
TestMaps performs tests on how maps are handled.
func TestOneOfFields ¶
func TestOneOfFields(t *testing.T, hasher *ph.ProtoHasher)
TestOneOfFields checks that oneof fields are handled properly.
func TestOtherTypes ¶
func TestOtherTypes(t *testing.T, hasher *ph.ProtoHasher)
TestOtherTypes performs tests on types that do not have their own test file.
func TestRepeatedFields ¶
func TestRepeatedFields(t *testing.T, hasher *ph.ProtoHasher)
TestRepeatedFields performs tests on how repeated fields are handled.
func TestStringFields ¶
func TestStringFields(t *testing.T, hasher *ph.ProtoHasher)
TestStringFields performs tests on how strings are handled.
func TestTimestamps ¶
func TestTimestamps(t *testing.T, hasher *ph.ProtoHasher)
TestTimestamps confirms that google.protobuf.timestamp protos are hashed properly.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.