test

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateThirdPartyAttributeDataEntry

func CreateThirdPartyAttributeDataEntry(t *testing.T, expiryDate *time.Time, stringDefinitions []string, tokenValue string) yotiprotoshare.DataEntry

CreateThirdPartyAttributeDataEntry creates a data entry of type "THIRD_PARTY_ATTRIBUTE", with the specified IssuingAttribute details.

func GetTestFileAsString

func GetTestFileAsString(t *testing.T, filename string) string

GetTestFileAsString returns a file as a string

func GetTestFileBytes

func GetTestFileBytes(t *testing.T, filename string) (result []byte)

GetTestFileBytes takes a filepath, decodes it from base64, and returns a byte representation of it

Types

This section is empty.

Jump to

Keyboard shortcuts

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