tests

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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.

Directories

Path Synopsis
api
v1
v2
v3

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL