Documentation
¶
Index ¶
- func AssertPropertyListMatch(t *testing.T, expected checksums.Checksums, actual []datastore.Property)
- func AssertProtoEqual(t *testing.T, expected checksums.Checksums, actual checksums.ChecksumsProto)
- func ChecksumsToProperties(t *testing.T, c checksums.Checksums) []datastore.Property
- func RandomChecksums(t *testing.T) checksums.Checksums
- type ChecksumsProtoImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertPropertyListMatch ¶
func AssertPropertyListMatch(t *testing.T, expected checksums.Checksums, actual []datastore.Property)
AssertPropertyListMatch asserts the properties in actual has the same values to expected.
func AssertProtoEqual ¶
AssertProtoEquals checks actual has the same values as expected.
func ChecksumsToProperties ¶
ChecksumsToProperties creates a list of datastore.Property with values in c.
Types ¶
type ChecksumsProtoImpl ¶
ChecksumsProtoImpl is a wrapper of Checksums for tests.
func (*ChecksumsProtoImpl) GetCrc32C ¶
func (c *ChecksumsProtoImpl) GetCrc32C() uint32
func (*ChecksumsProtoImpl) GetHasCrc32C ¶
func (c *ChecksumsProtoImpl) GetHasCrc32C() bool
func (*ChecksumsProtoImpl) GetMd5 ¶
func (c *ChecksumsProtoImpl) GetMd5() []byte
Click to show internal directories.
Click to hide internal directories.