tests

package
v0.0.0-...-7b9a879 Latest Latest
Warning

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

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

Documentation

Index

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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