testutils

package
v0.0.0-...-05bc493 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const LocalDebug = false

Variables

This section is empty.

Functions

func AssertConditionalBuilderJumpStep

func AssertConditionalBuilderJumpStep(t *testing.T, f smachine.StateFunc) func() smachine.ConditionalBuilder

func AssertJumpStep

func AssertJumpStep(t *testing.T, expected smachine.StateFunc) func(smachine.StateFunc) smachine.StateUpdate

func AssertMigration

func AssertMigration(t *testing.T, expected smachine.MigrateFunc) func(smachine.MigrateFunc)

func CmpStateFuncs

func CmpStateFuncs(want, got interface{}) bool

func IsLocalDebug

func IsLocalDebug() bool

func LeakTester

func LeakTester(t goleak.TestingT, extraOpts ...goleak.Option)

func NewPlatformCryptographyScheme

func NewPlatformCryptographyScheme() cryptography.PlatformCryptographyScheme

func NodesErrorLogReader

func NodesErrorLogReader(logsDir string, writer io.Writer) chan struct{}

nodesErrorLogReader reads launchnet logs and trying to find errors it them when errors found notification writes to 'writer'. It reads files in different goroutines and return chan for stopping them.

func WaitSignalsTimed

func WaitSignalsTimed(t Tester, timeout time.Duration, signals ...<-chan struct{})

WaitSignalsTimed waits with timeout for signal channels to be closed or signaled with a message once. Waiting is ordered and not parallel, this may be beneficial in some situation and hurtful in others.

Types

type CertificateGetterMock

type CertificateGetterMock struct {
	GetCertMock mCertificateGetterMockGetCert
	// contains filtered or unexported fields
}

CertificateGetterMock implements nodeinfo.CertificateGetter

func NewCertificateGetterMock

func NewCertificateGetterMock(t minimock.Tester) *CertificateGetterMock

NewCertificateGetterMock returns a mock for nodeinfo.CertificateGetter

func (*CertificateGetterMock) GetCert

func (mmGetCert *CertificateGetterMock) GetCert(ctx context.Context, g1 reference.Global) (c2 mm_nodeinfo.Certificate, err error)

GetCert implements nodeinfo.CertificateGetter

func (*CertificateGetterMock) GetCertAfterCounter

func (mmGetCert *CertificateGetterMock) GetCertAfterCounter() uint64

GetCertAfterCounter returns a count of finished CertificateGetterMock.GetCert invocations

func (*CertificateGetterMock) GetCertBeforeCounter

func (mmGetCert *CertificateGetterMock) GetCertBeforeCounter() uint64

GetCertBeforeCounter returns a count of CertificateGetterMock.GetCert invocations

func (*CertificateGetterMock) MinimockFinish

func (m *CertificateGetterMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*CertificateGetterMock) MinimockGetCertDone

func (m *CertificateGetterMock) MinimockGetCertDone() bool

MinimockGetCertDone returns true if the count of the GetCert invocations corresponds the number of defined expectations

func (*CertificateGetterMock) MinimockGetCertInspect

func (m *CertificateGetterMock) MinimockGetCertInspect()

MinimockGetCertInspect logs each unmet expectation

func (*CertificateGetterMock) MinimockWait

func (m *CertificateGetterMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

type CertificateGetterMockGetCertExpectation

type CertificateGetterMockGetCertExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

CertificateGetterMockGetCertExpectation specifies expectation struct of the CertificateGetter.GetCert

func (*CertificateGetterMockGetCertExpectation) Then

Then sets up CertificateGetter.GetCert return parameters for the expectation previously defined by the When method

type CertificateGetterMockGetCertParams

type CertificateGetterMockGetCertParams struct {
	// contains filtered or unexported fields
}

CertificateGetterMockGetCertParams contains parameters of the CertificateGetter.GetCert

type CertificateGetterMockGetCertResults

type CertificateGetterMockGetCertResults struct {
	// contains filtered or unexported fields
}

CertificateGetterMockGetCertResults contains results of the CertificateGetter.GetCert

type CertificateManagerMock

type CertificateManagerMock struct {
	GetCertificateMock mCertificateManagerMockGetCertificate
	// contains filtered or unexported fields
}

CertificateManagerMock implements nodeinfo.CertificateManager

func NewCertificateManagerMock

func NewCertificateManagerMock(t minimock.Tester) *CertificateManagerMock

NewCertificateManagerMock returns a mock for nodeinfo.CertificateManager

func (*CertificateManagerMock) GetCertificate

func (mmGetCertificate *CertificateManagerMock) GetCertificate() (c1 mm_nodeinfo.Certificate)

GetCertificate implements nodeinfo.CertificateManager

func (*CertificateManagerMock) GetCertificateAfterCounter

func (mmGetCertificate *CertificateManagerMock) GetCertificateAfterCounter() uint64

GetCertificateAfterCounter returns a count of finished CertificateManagerMock.GetCertificate invocations

func (*CertificateManagerMock) GetCertificateBeforeCounter

func (mmGetCertificate *CertificateManagerMock) GetCertificateBeforeCounter() uint64

GetCertificateBeforeCounter returns a count of CertificateManagerMock.GetCertificate invocations

func (*CertificateManagerMock) MinimockFinish

func (m *CertificateManagerMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*CertificateManagerMock) MinimockGetCertificateDone

func (m *CertificateManagerMock) MinimockGetCertificateDone() bool

MinimockGetCertificateDone returns true if the count of the GetCertificate invocations corresponds the number of defined expectations

func (*CertificateManagerMock) MinimockGetCertificateInspect

func (m *CertificateManagerMock) MinimockGetCertificateInspect()

MinimockGetCertificateInspect logs each unmet expectation

func (*CertificateManagerMock) MinimockWait

func (m *CertificateManagerMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

type CertificateManagerMockGetCertificateExpectation

type CertificateManagerMockGetCertificateExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

CertificateManagerMockGetCertificateExpectation specifies expectation struct of the CertificateManager.GetCertificate

type CertificateManagerMockGetCertificateResults

type CertificateManagerMockGetCertificateResults struct {
	// contains filtered or unexported fields
}

CertificateManagerMockGetCertificateResults contains results of the CertificateManager.GetCertificate

type CertificateMock

type CertificateMock struct {
	GetDiscoveryNodesMock mCertificateMockGetDiscoveryNodes

	GetDiscoverySignsMock mCertificateMockGetDiscoverySigns

	GetMajorityRuleMock mCertificateMockGetMajorityRule

	GetMinRolesMock mCertificateMockGetMinRoles

	GetNodeRefMock mCertificateMockGetNodeRef

	GetPublicKeyMock mCertificateMockGetPublicKey

	GetRoleMock mCertificateMockGetRole

	SerializeNodePartMock mCertificateMockSerializeNodePart
	// contains filtered or unexported fields
}

CertificateMock implements nodeinfo.Certificate

func NewCertificateMock

func NewCertificateMock(t minimock.Tester) *CertificateMock

NewCertificateMock returns a mock for nodeinfo.Certificate

func (*CertificateMock) GetDiscoveryNodes

func (mmGetDiscoveryNodes *CertificateMock) GetDiscoveryNodes() (da1 []mm_nodeinfo.DiscoveryNode)

GetDiscoveryNodes implements nodeinfo.Certificate

func (*CertificateMock) GetDiscoveryNodesAfterCounter

func (mmGetDiscoveryNodes *CertificateMock) GetDiscoveryNodesAfterCounter() uint64

GetDiscoveryNodesAfterCounter returns a count of finished CertificateMock.GetDiscoveryNodes invocations

func (*CertificateMock) GetDiscoveryNodesBeforeCounter

func (mmGetDiscoveryNodes *CertificateMock) GetDiscoveryNodesBeforeCounter() uint64

GetDiscoveryNodesBeforeCounter returns a count of CertificateMock.GetDiscoveryNodes invocations

func (*CertificateMock) GetDiscoverySigns

func (mmGetDiscoverySigns *CertificateMock) GetDiscoverySigns() (m1 map[reference.Global][]byte)

GetDiscoverySigns implements nodeinfo.Certificate

func (*CertificateMock) GetDiscoverySignsAfterCounter

func (mmGetDiscoverySigns *CertificateMock) GetDiscoverySignsAfterCounter() uint64

GetDiscoverySignsAfterCounter returns a count of finished CertificateMock.GetDiscoverySigns invocations

func (*CertificateMock) GetDiscoverySignsBeforeCounter

func (mmGetDiscoverySigns *CertificateMock) GetDiscoverySignsBeforeCounter() uint64

GetDiscoverySignsBeforeCounter returns a count of CertificateMock.GetDiscoverySigns invocations

func (*CertificateMock) GetMajorityRule

func (mmGetMajorityRule *CertificateMock) GetMajorityRule() (i1 int)

GetMajorityRule implements nodeinfo.Certificate

func (*CertificateMock) GetMajorityRuleAfterCounter

func (mmGetMajorityRule *CertificateMock) GetMajorityRuleAfterCounter() uint64

GetMajorityRuleAfterCounter returns a count of finished CertificateMock.GetMajorityRule invocations

func (*CertificateMock) GetMajorityRuleBeforeCounter

func (mmGetMajorityRule *CertificateMock) GetMajorityRuleBeforeCounter() uint64

GetMajorityRuleBeforeCounter returns a count of CertificateMock.GetMajorityRule invocations

func (*CertificateMock) GetMinRoles

func (mmGetMinRoles *CertificateMock) GetMinRoles() (virtual uint, heavyMaterial uint, lightMaterial uint)

GetMinRoles implements nodeinfo.Certificate

func (*CertificateMock) GetMinRolesAfterCounter

func (mmGetMinRoles *CertificateMock) GetMinRolesAfterCounter() uint64

GetMinRolesAfterCounter returns a count of finished CertificateMock.GetMinRoles invocations

func (*CertificateMock) GetMinRolesBeforeCounter

func (mmGetMinRoles *CertificateMock) GetMinRolesBeforeCounter() uint64

GetMinRolesBeforeCounter returns a count of CertificateMock.GetMinRoles invocations

func (*CertificateMock) GetNodeRef

func (mmGetNodeRef *CertificateMock) GetNodeRef() (g1 reference.Global)

GetNodeRef implements nodeinfo.Certificate

func (*CertificateMock) GetNodeRefAfterCounter

func (mmGetNodeRef *CertificateMock) GetNodeRefAfterCounter() uint64

GetNodeRefAfterCounter returns a count of finished CertificateMock.GetNodeRef invocations

func (*CertificateMock) GetNodeRefBeforeCounter

func (mmGetNodeRef *CertificateMock) GetNodeRefBeforeCounter() uint64

GetNodeRefBeforeCounter returns a count of CertificateMock.GetNodeRef invocations

func (*CertificateMock) GetPublicKey

func (mmGetPublicKey *CertificateMock) GetPublicKey() (p1 crypto.PublicKey)

GetPublicKey implements nodeinfo.Certificate

func (*CertificateMock) GetPublicKeyAfterCounter

func (mmGetPublicKey *CertificateMock) GetPublicKeyAfterCounter() uint64

GetPublicKeyAfterCounter returns a count of finished CertificateMock.GetPublicKey invocations

func (*CertificateMock) GetPublicKeyBeforeCounter

func (mmGetPublicKey *CertificateMock) GetPublicKeyBeforeCounter() uint64

GetPublicKeyBeforeCounter returns a count of CertificateMock.GetPublicKey invocations

func (*CertificateMock) GetRole

func (mmGetRole *CertificateMock) GetRole() (p1 member.PrimaryRole)

GetRole implements nodeinfo.Certificate

func (*CertificateMock) GetRoleAfterCounter

func (mmGetRole *CertificateMock) GetRoleAfterCounter() uint64

GetRoleAfterCounter returns a count of finished CertificateMock.GetRole invocations

func (*CertificateMock) GetRoleBeforeCounter

func (mmGetRole *CertificateMock) GetRoleBeforeCounter() uint64

GetRoleBeforeCounter returns a count of CertificateMock.GetRole invocations

func (*CertificateMock) MinimockFinish

func (m *CertificateMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*CertificateMock) MinimockGetDiscoveryNodesDone

func (m *CertificateMock) MinimockGetDiscoveryNodesDone() bool

MinimockGetDiscoveryNodesDone returns true if the count of the GetDiscoveryNodes invocations corresponds the number of defined expectations

func (*CertificateMock) MinimockGetDiscoveryNodesInspect

func (m *CertificateMock) MinimockGetDiscoveryNodesInspect()

MinimockGetDiscoveryNodesInspect logs each unmet expectation

func (*CertificateMock) MinimockGetDiscoverySignsDone

func (m *CertificateMock) MinimockGetDiscoverySignsDone() bool

MinimockGetDiscoverySignsDone returns true if the count of the GetDiscoverySigns invocations corresponds the number of defined expectations

func (*CertificateMock) MinimockGetDiscoverySignsInspect

func (m *CertificateMock) MinimockGetDiscoverySignsInspect()

MinimockGetDiscoverySignsInspect logs each unmet expectation

func (*CertificateMock) MinimockGetMajorityRuleDone

func (m *CertificateMock) MinimockGetMajorityRuleDone() bool

MinimockGetMajorityRuleDone returns true if the count of the GetMajorityRule invocations corresponds the number of defined expectations

func (*CertificateMock) MinimockGetMajorityRuleInspect

func (m *CertificateMock) MinimockGetMajorityRuleInspect()

MinimockGetMajorityRuleInspect logs each unmet expectation

func (*CertificateMock) MinimockGetMinRolesDone

func (m *CertificateMock) MinimockGetMinRolesDone() bool

MinimockGetMinRolesDone returns true if the count of the GetMinRoles invocations corresponds the number of defined expectations

func (*CertificateMock) MinimockGetMinRolesInspect

func (m *CertificateMock) MinimockGetMinRolesInspect()

MinimockGetMinRolesInspect logs each unmet expectation

func (*CertificateMock) MinimockGetNodeRefDone

func (m *CertificateMock) MinimockGetNodeRefDone() bool

MinimockGetNodeRefDone returns true if the count of the GetNodeRef invocations corresponds the number of defined expectations

func (*CertificateMock) MinimockGetNodeRefInspect

func (m *CertificateMock) MinimockGetNodeRefInspect()

MinimockGetNodeRefInspect logs each unmet expectation

func (*CertificateMock) MinimockGetPublicKeyDone

func (m *CertificateMock) MinimockGetPublicKeyDone() bool

MinimockGetPublicKeyDone returns true if the count of the GetPublicKey invocations corresponds the number of defined expectations

func (*CertificateMock) MinimockGetPublicKeyInspect

func (m *CertificateMock) MinimockGetPublicKeyInspect()

MinimockGetPublicKeyInspect logs each unmet expectation

func (*CertificateMock) MinimockGetRoleDone

func (m *CertificateMock) MinimockGetRoleDone() bool

MinimockGetRoleDone returns true if the count of the GetRole invocations corresponds the number of defined expectations

func (*CertificateMock) MinimockGetRoleInspect

func (m *CertificateMock) MinimockGetRoleInspect()

MinimockGetRoleInspect logs each unmet expectation

func (*CertificateMock) MinimockSerializeNodePartDone

func (m *CertificateMock) MinimockSerializeNodePartDone() bool

MinimockSerializeNodePartDone returns true if the count of the SerializeNodePart invocations corresponds the number of defined expectations

func (*CertificateMock) MinimockSerializeNodePartInspect

func (m *CertificateMock) MinimockSerializeNodePartInspect()

MinimockSerializeNodePartInspect logs each unmet expectation

func (*CertificateMock) MinimockWait

func (m *CertificateMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*CertificateMock) SerializeNodePart

func (mmSerializeNodePart *CertificateMock) SerializeNodePart() (ba1 []byte)

SerializeNodePart implements nodeinfo.Certificate

func (*CertificateMock) SerializeNodePartAfterCounter

func (mmSerializeNodePart *CertificateMock) SerializeNodePartAfterCounter() uint64

SerializeNodePartAfterCounter returns a count of finished CertificateMock.SerializeNodePart invocations

func (*CertificateMock) SerializeNodePartBeforeCounter

func (mmSerializeNodePart *CertificateMock) SerializeNodePartBeforeCounter() uint64

SerializeNodePartBeforeCounter returns a count of CertificateMock.SerializeNodePart invocations

type CertificateMockGetDiscoveryNodesExpectation

type CertificateMockGetDiscoveryNodesExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

CertificateMockGetDiscoveryNodesExpectation specifies expectation struct of the Certificate.GetDiscoveryNodes

type CertificateMockGetDiscoveryNodesResults

type CertificateMockGetDiscoveryNodesResults struct {
	// contains filtered or unexported fields
}

CertificateMockGetDiscoveryNodesResults contains results of the Certificate.GetDiscoveryNodes

type CertificateMockGetDiscoverySignsExpectation

type CertificateMockGetDiscoverySignsExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

CertificateMockGetDiscoverySignsExpectation specifies expectation struct of the Certificate.GetDiscoverySigns

type CertificateMockGetDiscoverySignsResults

type CertificateMockGetDiscoverySignsResults struct {
	// contains filtered or unexported fields
}

CertificateMockGetDiscoverySignsResults contains results of the Certificate.GetDiscoverySigns

type CertificateMockGetMajorityRuleExpectation

type CertificateMockGetMajorityRuleExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

CertificateMockGetMajorityRuleExpectation specifies expectation struct of the Certificate.GetMajorityRule

type CertificateMockGetMajorityRuleResults

type CertificateMockGetMajorityRuleResults struct {
	// contains filtered or unexported fields
}

CertificateMockGetMajorityRuleResults contains results of the Certificate.GetMajorityRule

type CertificateMockGetMinRolesExpectation

type CertificateMockGetMinRolesExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

CertificateMockGetMinRolesExpectation specifies expectation struct of the Certificate.GetMinRoles

type CertificateMockGetMinRolesResults

type CertificateMockGetMinRolesResults struct {
	// contains filtered or unexported fields
}

CertificateMockGetMinRolesResults contains results of the Certificate.GetMinRoles

type CertificateMockGetNodeRefExpectation

type CertificateMockGetNodeRefExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

CertificateMockGetNodeRefExpectation specifies expectation struct of the Certificate.GetNodeRef

type CertificateMockGetNodeRefResults

type CertificateMockGetNodeRefResults struct {
	// contains filtered or unexported fields
}

CertificateMockGetNodeRefResults contains results of the Certificate.GetNodeRef

type CertificateMockGetPublicKeyExpectation

type CertificateMockGetPublicKeyExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

CertificateMockGetPublicKeyExpectation specifies expectation struct of the Certificate.GetPublicKey

type CertificateMockGetPublicKeyResults

type CertificateMockGetPublicKeyResults struct {
	// contains filtered or unexported fields
}

CertificateMockGetPublicKeyResults contains results of the Certificate.GetPublicKey

type CertificateMockGetRoleExpectation

type CertificateMockGetRoleExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

CertificateMockGetRoleExpectation specifies expectation struct of the Certificate.GetRole

type CertificateMockGetRoleResults

type CertificateMockGetRoleResults struct {
	// contains filtered or unexported fields
}

CertificateMockGetRoleResults contains results of the Certificate.GetRole

type CertificateMockSerializeNodePartExpectation

type CertificateMockSerializeNodePartExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

CertificateMockSerializeNodePartExpectation specifies expectation struct of the Certificate.SerializeNodePart

type CertificateMockSerializeNodePartResults

type CertificateMockSerializeNodePartResults struct {
	// contains filtered or unexported fields
}

CertificateMockSerializeNodePartResults contains results of the Certificate.SerializeNodePart

type DiscoveryNodeMock

type DiscoveryNodeMock struct {
	GetHostMock mDiscoveryNodeMockGetHost

	GetNodeRefMock mDiscoveryNodeMockGetNodeRef

	GetPublicKeyMock mDiscoveryNodeMockGetPublicKey
	// contains filtered or unexported fields
}

DiscoveryNodeMock implements nodeinfo.DiscoveryNode

func NewDiscoveryNodeMock

func NewDiscoveryNodeMock(t minimock.Tester) *DiscoveryNodeMock

NewDiscoveryNodeMock returns a mock for nodeinfo.DiscoveryNode

func (*DiscoveryNodeMock) GetHost

func (mmGetHost *DiscoveryNodeMock) GetHost() (s1 string)

GetHost implements nodeinfo.DiscoveryNode

func (*DiscoveryNodeMock) GetHostAfterCounter

func (mmGetHost *DiscoveryNodeMock) GetHostAfterCounter() uint64

GetHostAfterCounter returns a count of finished DiscoveryNodeMock.GetHost invocations

func (*DiscoveryNodeMock) GetHostBeforeCounter

func (mmGetHost *DiscoveryNodeMock) GetHostBeforeCounter() uint64

GetHostBeforeCounter returns a count of DiscoveryNodeMock.GetHost invocations

func (*DiscoveryNodeMock) GetNodeRef

func (mmGetNodeRef *DiscoveryNodeMock) GetNodeRef() (g1 reference.Global)

GetNodeRef implements nodeinfo.DiscoveryNode

func (*DiscoveryNodeMock) GetNodeRefAfterCounter

func (mmGetNodeRef *DiscoveryNodeMock) GetNodeRefAfterCounter() uint64

GetNodeRefAfterCounter returns a count of finished DiscoveryNodeMock.GetNodeRef invocations

func (*DiscoveryNodeMock) GetNodeRefBeforeCounter

func (mmGetNodeRef *DiscoveryNodeMock) GetNodeRefBeforeCounter() uint64

GetNodeRefBeforeCounter returns a count of DiscoveryNodeMock.GetNodeRef invocations

func (*DiscoveryNodeMock) GetPublicKey

func (mmGetPublicKey *DiscoveryNodeMock) GetPublicKey() (p1 crypto.PublicKey)

GetPublicKey implements nodeinfo.DiscoveryNode

func (*DiscoveryNodeMock) GetPublicKeyAfterCounter

func (mmGetPublicKey *DiscoveryNodeMock) GetPublicKeyAfterCounter() uint64

GetPublicKeyAfterCounter returns a count of finished DiscoveryNodeMock.GetPublicKey invocations

func (*DiscoveryNodeMock) GetPublicKeyBeforeCounter

func (mmGetPublicKey *DiscoveryNodeMock) GetPublicKeyBeforeCounter() uint64

GetPublicKeyBeforeCounter returns a count of DiscoveryNodeMock.GetPublicKey invocations

func (*DiscoveryNodeMock) MinimockFinish

func (m *DiscoveryNodeMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*DiscoveryNodeMock) MinimockGetHostDone

func (m *DiscoveryNodeMock) MinimockGetHostDone() bool

MinimockGetHostDone returns true if the count of the GetHost invocations corresponds the number of defined expectations

func (*DiscoveryNodeMock) MinimockGetHostInspect

func (m *DiscoveryNodeMock) MinimockGetHostInspect()

MinimockGetHostInspect logs each unmet expectation

func (*DiscoveryNodeMock) MinimockGetNodeRefDone

func (m *DiscoveryNodeMock) MinimockGetNodeRefDone() bool

MinimockGetNodeRefDone returns true if the count of the GetNodeRef invocations corresponds the number of defined expectations

func (*DiscoveryNodeMock) MinimockGetNodeRefInspect

func (m *DiscoveryNodeMock) MinimockGetNodeRefInspect()

MinimockGetNodeRefInspect logs each unmet expectation

func (*DiscoveryNodeMock) MinimockGetPublicKeyDone

func (m *DiscoveryNodeMock) MinimockGetPublicKeyDone() bool

MinimockGetPublicKeyDone returns true if the count of the GetPublicKey invocations corresponds the number of defined expectations

func (*DiscoveryNodeMock) MinimockGetPublicKeyInspect

func (m *DiscoveryNodeMock) MinimockGetPublicKeyInspect()

MinimockGetPublicKeyInspect logs each unmet expectation

func (*DiscoveryNodeMock) MinimockWait

func (m *DiscoveryNodeMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

type DiscoveryNodeMockGetHostExpectation

type DiscoveryNodeMockGetHostExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

DiscoveryNodeMockGetHostExpectation specifies expectation struct of the DiscoveryNode.GetHost

type DiscoveryNodeMockGetHostResults

type DiscoveryNodeMockGetHostResults struct {
	// contains filtered or unexported fields
}

DiscoveryNodeMockGetHostResults contains results of the DiscoveryNode.GetHost

type DiscoveryNodeMockGetNodeRefExpectation

type DiscoveryNodeMockGetNodeRefExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

DiscoveryNodeMockGetNodeRefExpectation specifies expectation struct of the DiscoveryNode.GetNodeRef

type DiscoveryNodeMockGetNodeRefResults

type DiscoveryNodeMockGetNodeRefResults struct {
	// contains filtered or unexported fields
}

DiscoveryNodeMockGetNodeRefResults contains results of the DiscoveryNode.GetNodeRef

type DiscoveryNodeMockGetPublicKeyExpectation

type DiscoveryNodeMockGetPublicKeyExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

DiscoveryNodeMockGetPublicKeyExpectation specifies expectation struct of the DiscoveryNode.GetPublicKey

type DiscoveryNodeMockGetPublicKeyResults

type DiscoveryNodeMockGetPublicKeyResults struct {
	// contains filtered or unexported fields
}

DiscoveryNodeMockGetPublicKeyResults contains results of the DiscoveryNode.GetPublicKey

type KeyProcessorMock

type KeyProcessorMock struct {
	ExportPrivateKeyPEMMock mKeyProcessorMockExportPrivateKeyPEM

	ExportPublicKeyBinaryMock mKeyProcessorMockExportPublicKeyBinary

	ExportPublicKeyPEMMock mKeyProcessorMockExportPublicKeyPEM

	ExtractPublicKeyMock mKeyProcessorMockExtractPublicKey

	GeneratePrivateKeyMock mKeyProcessorMockGeneratePrivateKey

	ImportPrivateKeyPEMMock mKeyProcessorMockImportPrivateKeyPEM

	ImportPublicKeyBinaryMock mKeyProcessorMockImportPublicKeyBinary

	ImportPublicKeyPEMMock mKeyProcessorMockImportPublicKeyPEM
	// contains filtered or unexported fields
}

KeyProcessorMock implements cryptography.KeyProcessor

func NewKeyProcessorMock

func NewKeyProcessorMock(t minimock.Tester) *KeyProcessorMock

NewKeyProcessorMock returns a mock for cryptography.KeyProcessor

func (*KeyProcessorMock) ExportPrivateKeyPEM

func (mmExportPrivateKeyPEM *KeyProcessorMock) ExportPrivateKeyPEM(p1 crypto.PrivateKey) (ba1 []byte, err error)

ExportPrivateKeyPEM implements cryptography.KeyProcessor

func (*KeyProcessorMock) ExportPrivateKeyPEMAfterCounter

func (mmExportPrivateKeyPEM *KeyProcessorMock) ExportPrivateKeyPEMAfterCounter() uint64

ExportPrivateKeyPEMAfterCounter returns a count of finished KeyProcessorMock.ExportPrivateKeyPEM invocations

func (*KeyProcessorMock) ExportPrivateKeyPEMBeforeCounter

func (mmExportPrivateKeyPEM *KeyProcessorMock) ExportPrivateKeyPEMBeforeCounter() uint64

ExportPrivateKeyPEMBeforeCounter returns a count of KeyProcessorMock.ExportPrivateKeyPEM invocations

func (*KeyProcessorMock) ExportPublicKeyBinary

func (mmExportPublicKeyBinary *KeyProcessorMock) ExportPublicKeyBinary(p1 crypto.PublicKey) (ba1 []byte, err error)

ExportPublicKeyBinary implements cryptography.KeyProcessor

func (*KeyProcessorMock) ExportPublicKeyBinaryAfterCounter

func (mmExportPublicKeyBinary *KeyProcessorMock) ExportPublicKeyBinaryAfterCounter() uint64

ExportPublicKeyBinaryAfterCounter returns a count of finished KeyProcessorMock.ExportPublicKeyBinary invocations

func (*KeyProcessorMock) ExportPublicKeyBinaryBeforeCounter

func (mmExportPublicKeyBinary *KeyProcessorMock) ExportPublicKeyBinaryBeforeCounter() uint64

ExportPublicKeyBinaryBeforeCounter returns a count of KeyProcessorMock.ExportPublicKeyBinary invocations

func (*KeyProcessorMock) ExportPublicKeyPEM

func (mmExportPublicKeyPEM *KeyProcessorMock) ExportPublicKeyPEM(p1 crypto.PublicKey) (ba1 []byte, err error)

ExportPublicKeyPEM implements cryptography.KeyProcessor

func (*KeyProcessorMock) ExportPublicKeyPEMAfterCounter

func (mmExportPublicKeyPEM *KeyProcessorMock) ExportPublicKeyPEMAfterCounter() uint64

ExportPublicKeyPEMAfterCounter returns a count of finished KeyProcessorMock.ExportPublicKeyPEM invocations

func (*KeyProcessorMock) ExportPublicKeyPEMBeforeCounter

func (mmExportPublicKeyPEM *KeyProcessorMock) ExportPublicKeyPEMBeforeCounter() uint64

ExportPublicKeyPEMBeforeCounter returns a count of KeyProcessorMock.ExportPublicKeyPEM invocations

func (*KeyProcessorMock) ExtractPublicKey

func (mmExtractPublicKey *KeyProcessorMock) ExtractPublicKey(p1 crypto.PrivateKey) (p2 crypto.PublicKey)

ExtractPublicKey implements cryptography.KeyProcessor

func (*KeyProcessorMock) ExtractPublicKeyAfterCounter

func (mmExtractPublicKey *KeyProcessorMock) ExtractPublicKeyAfterCounter() uint64

ExtractPublicKeyAfterCounter returns a count of finished KeyProcessorMock.ExtractPublicKey invocations

func (*KeyProcessorMock) ExtractPublicKeyBeforeCounter

func (mmExtractPublicKey *KeyProcessorMock) ExtractPublicKeyBeforeCounter() uint64

ExtractPublicKeyBeforeCounter returns a count of KeyProcessorMock.ExtractPublicKey invocations

func (*KeyProcessorMock) GeneratePrivateKey

func (mmGeneratePrivateKey *KeyProcessorMock) GeneratePrivateKey() (p1 crypto.PrivateKey, err error)

GeneratePrivateKey implements cryptography.KeyProcessor

func (*KeyProcessorMock) GeneratePrivateKeyAfterCounter

func (mmGeneratePrivateKey *KeyProcessorMock) GeneratePrivateKeyAfterCounter() uint64

GeneratePrivateKeyAfterCounter returns a count of finished KeyProcessorMock.GeneratePrivateKey invocations

func (*KeyProcessorMock) GeneratePrivateKeyBeforeCounter

func (mmGeneratePrivateKey *KeyProcessorMock) GeneratePrivateKeyBeforeCounter() uint64

GeneratePrivateKeyBeforeCounter returns a count of KeyProcessorMock.GeneratePrivateKey invocations

func (*KeyProcessorMock) ImportPrivateKeyPEM

func (mmImportPrivateKeyPEM *KeyProcessorMock) ImportPrivateKeyPEM(ba1 []byte) (p1 crypto.PrivateKey, err error)

ImportPrivateKeyPEM implements cryptography.KeyProcessor

func (*KeyProcessorMock) ImportPrivateKeyPEMAfterCounter

func (mmImportPrivateKeyPEM *KeyProcessorMock) ImportPrivateKeyPEMAfterCounter() uint64

ImportPrivateKeyPEMAfterCounter returns a count of finished KeyProcessorMock.ImportPrivateKeyPEM invocations

func (*KeyProcessorMock) ImportPrivateKeyPEMBeforeCounter

func (mmImportPrivateKeyPEM *KeyProcessorMock) ImportPrivateKeyPEMBeforeCounter() uint64

ImportPrivateKeyPEMBeforeCounter returns a count of KeyProcessorMock.ImportPrivateKeyPEM invocations

func (*KeyProcessorMock) ImportPublicKeyBinary

func (mmImportPublicKeyBinary *KeyProcessorMock) ImportPublicKeyBinary(ba1 []byte) (p1 crypto.PublicKey, err error)

ImportPublicKeyBinary implements cryptography.KeyProcessor

func (*KeyProcessorMock) ImportPublicKeyBinaryAfterCounter

func (mmImportPublicKeyBinary *KeyProcessorMock) ImportPublicKeyBinaryAfterCounter() uint64

ImportPublicKeyBinaryAfterCounter returns a count of finished KeyProcessorMock.ImportPublicKeyBinary invocations

func (*KeyProcessorMock) ImportPublicKeyBinaryBeforeCounter

func (mmImportPublicKeyBinary *KeyProcessorMock) ImportPublicKeyBinaryBeforeCounter() uint64

ImportPublicKeyBinaryBeforeCounter returns a count of KeyProcessorMock.ImportPublicKeyBinary invocations

func (*KeyProcessorMock) ImportPublicKeyPEM

func (mmImportPublicKeyPEM *KeyProcessorMock) ImportPublicKeyPEM(ba1 []byte) (p1 crypto.PublicKey, err error)

ImportPublicKeyPEM implements cryptography.KeyProcessor

func (*KeyProcessorMock) ImportPublicKeyPEMAfterCounter

func (mmImportPublicKeyPEM *KeyProcessorMock) ImportPublicKeyPEMAfterCounter() uint64

ImportPublicKeyPEMAfterCounter returns a count of finished KeyProcessorMock.ImportPublicKeyPEM invocations

func (*KeyProcessorMock) ImportPublicKeyPEMBeforeCounter

func (mmImportPublicKeyPEM *KeyProcessorMock) ImportPublicKeyPEMBeforeCounter() uint64

ImportPublicKeyPEMBeforeCounter returns a count of KeyProcessorMock.ImportPublicKeyPEM invocations

func (*KeyProcessorMock) MinimockExportPrivateKeyPEMDone

func (m *KeyProcessorMock) MinimockExportPrivateKeyPEMDone() bool

MinimockExportPrivateKeyPEMDone returns true if the count of the ExportPrivateKeyPEM invocations corresponds the number of defined expectations

func (*KeyProcessorMock) MinimockExportPrivateKeyPEMInspect

func (m *KeyProcessorMock) MinimockExportPrivateKeyPEMInspect()

MinimockExportPrivateKeyPEMInspect logs each unmet expectation

func (*KeyProcessorMock) MinimockExportPublicKeyBinaryDone

func (m *KeyProcessorMock) MinimockExportPublicKeyBinaryDone() bool

MinimockExportPublicKeyBinaryDone returns true if the count of the ExportPublicKeyBinary invocations corresponds the number of defined expectations

func (*KeyProcessorMock) MinimockExportPublicKeyBinaryInspect

func (m *KeyProcessorMock) MinimockExportPublicKeyBinaryInspect()

MinimockExportPublicKeyBinaryInspect logs each unmet expectation

func (*KeyProcessorMock) MinimockExportPublicKeyPEMDone

func (m *KeyProcessorMock) MinimockExportPublicKeyPEMDone() bool

MinimockExportPublicKeyPEMDone returns true if the count of the ExportPublicKeyPEM invocations corresponds the number of defined expectations

func (*KeyProcessorMock) MinimockExportPublicKeyPEMInspect

func (m *KeyProcessorMock) MinimockExportPublicKeyPEMInspect()

MinimockExportPublicKeyPEMInspect logs each unmet expectation

func (*KeyProcessorMock) MinimockExtractPublicKeyDone

func (m *KeyProcessorMock) MinimockExtractPublicKeyDone() bool

MinimockExtractPublicKeyDone returns true if the count of the ExtractPublicKey invocations corresponds the number of defined expectations

func (*KeyProcessorMock) MinimockExtractPublicKeyInspect

func (m *KeyProcessorMock) MinimockExtractPublicKeyInspect()

MinimockExtractPublicKeyInspect logs each unmet expectation

func (*KeyProcessorMock) MinimockFinish

func (m *KeyProcessorMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*KeyProcessorMock) MinimockGeneratePrivateKeyDone

func (m *KeyProcessorMock) MinimockGeneratePrivateKeyDone() bool

MinimockGeneratePrivateKeyDone returns true if the count of the GeneratePrivateKey invocations corresponds the number of defined expectations

func (*KeyProcessorMock) MinimockGeneratePrivateKeyInspect

func (m *KeyProcessorMock) MinimockGeneratePrivateKeyInspect()

MinimockGeneratePrivateKeyInspect logs each unmet expectation

func (*KeyProcessorMock) MinimockImportPrivateKeyPEMDone

func (m *KeyProcessorMock) MinimockImportPrivateKeyPEMDone() bool

MinimockImportPrivateKeyPEMDone returns true if the count of the ImportPrivateKeyPEM invocations corresponds the number of defined expectations

func (*KeyProcessorMock) MinimockImportPrivateKeyPEMInspect

func (m *KeyProcessorMock) MinimockImportPrivateKeyPEMInspect()

MinimockImportPrivateKeyPEMInspect logs each unmet expectation

func (*KeyProcessorMock) MinimockImportPublicKeyBinaryDone

func (m *KeyProcessorMock) MinimockImportPublicKeyBinaryDone() bool

MinimockImportPublicKeyBinaryDone returns true if the count of the ImportPublicKeyBinary invocations corresponds the number of defined expectations

func (*KeyProcessorMock) MinimockImportPublicKeyBinaryInspect

func (m *KeyProcessorMock) MinimockImportPublicKeyBinaryInspect()

MinimockImportPublicKeyBinaryInspect logs each unmet expectation

func (*KeyProcessorMock) MinimockImportPublicKeyPEMDone

func (m *KeyProcessorMock) MinimockImportPublicKeyPEMDone() bool

MinimockImportPublicKeyPEMDone returns true if the count of the ImportPublicKeyPEM invocations corresponds the number of defined expectations

func (*KeyProcessorMock) MinimockImportPublicKeyPEMInspect

func (m *KeyProcessorMock) MinimockImportPublicKeyPEMInspect()

MinimockImportPublicKeyPEMInspect logs each unmet expectation

func (*KeyProcessorMock) MinimockWait

func (m *KeyProcessorMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

type KeyProcessorMockExportPrivateKeyPEMExpectation

type KeyProcessorMockExportPrivateKeyPEMExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

KeyProcessorMockExportPrivateKeyPEMExpectation specifies expectation struct of the KeyProcessor.ExportPrivateKeyPEM

func (*KeyProcessorMockExportPrivateKeyPEMExpectation) Then

Then sets up KeyProcessor.ExportPrivateKeyPEM return parameters for the expectation previously defined by the When method

type KeyProcessorMockExportPrivateKeyPEMParams

type KeyProcessorMockExportPrivateKeyPEMParams struct {
	// contains filtered or unexported fields
}

KeyProcessorMockExportPrivateKeyPEMParams contains parameters of the KeyProcessor.ExportPrivateKeyPEM

type KeyProcessorMockExportPrivateKeyPEMResults

type KeyProcessorMockExportPrivateKeyPEMResults struct {
	// contains filtered or unexported fields
}

KeyProcessorMockExportPrivateKeyPEMResults contains results of the KeyProcessor.ExportPrivateKeyPEM

type KeyProcessorMockExportPublicKeyBinaryExpectation

type KeyProcessorMockExportPublicKeyBinaryExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

KeyProcessorMockExportPublicKeyBinaryExpectation specifies expectation struct of the KeyProcessor.ExportPublicKeyBinary

func (*KeyProcessorMockExportPublicKeyBinaryExpectation) Then

Then sets up KeyProcessor.ExportPublicKeyBinary return parameters for the expectation previously defined by the When method

type KeyProcessorMockExportPublicKeyBinaryParams

type KeyProcessorMockExportPublicKeyBinaryParams struct {
	// contains filtered or unexported fields
}

KeyProcessorMockExportPublicKeyBinaryParams contains parameters of the KeyProcessor.ExportPublicKeyBinary

type KeyProcessorMockExportPublicKeyBinaryResults

type KeyProcessorMockExportPublicKeyBinaryResults struct {
	// contains filtered or unexported fields
}

KeyProcessorMockExportPublicKeyBinaryResults contains results of the KeyProcessor.ExportPublicKeyBinary

type KeyProcessorMockExportPublicKeyPEMExpectation

type KeyProcessorMockExportPublicKeyPEMExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

KeyProcessorMockExportPublicKeyPEMExpectation specifies expectation struct of the KeyProcessor.ExportPublicKeyPEM

func (*KeyProcessorMockExportPublicKeyPEMExpectation) Then

Then sets up KeyProcessor.ExportPublicKeyPEM return parameters for the expectation previously defined by the When method

type KeyProcessorMockExportPublicKeyPEMParams

type KeyProcessorMockExportPublicKeyPEMParams struct {
	// contains filtered or unexported fields
}

KeyProcessorMockExportPublicKeyPEMParams contains parameters of the KeyProcessor.ExportPublicKeyPEM

type KeyProcessorMockExportPublicKeyPEMResults

type KeyProcessorMockExportPublicKeyPEMResults struct {
	// contains filtered or unexported fields
}

KeyProcessorMockExportPublicKeyPEMResults contains results of the KeyProcessor.ExportPublicKeyPEM

type KeyProcessorMockExtractPublicKeyExpectation

type KeyProcessorMockExtractPublicKeyExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

KeyProcessorMockExtractPublicKeyExpectation specifies expectation struct of the KeyProcessor.ExtractPublicKey

func (*KeyProcessorMockExtractPublicKeyExpectation) Then

Then sets up KeyProcessor.ExtractPublicKey return parameters for the expectation previously defined by the When method

type KeyProcessorMockExtractPublicKeyParams

type KeyProcessorMockExtractPublicKeyParams struct {
	// contains filtered or unexported fields
}

KeyProcessorMockExtractPublicKeyParams contains parameters of the KeyProcessor.ExtractPublicKey

type KeyProcessorMockExtractPublicKeyResults

type KeyProcessorMockExtractPublicKeyResults struct {
	// contains filtered or unexported fields
}

KeyProcessorMockExtractPublicKeyResults contains results of the KeyProcessor.ExtractPublicKey

type KeyProcessorMockGeneratePrivateKeyExpectation

type KeyProcessorMockGeneratePrivateKeyExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

KeyProcessorMockGeneratePrivateKeyExpectation specifies expectation struct of the KeyProcessor.GeneratePrivateKey

type KeyProcessorMockGeneratePrivateKeyResults

type KeyProcessorMockGeneratePrivateKeyResults struct {
	// contains filtered or unexported fields
}

KeyProcessorMockGeneratePrivateKeyResults contains results of the KeyProcessor.GeneratePrivateKey

type KeyProcessorMockImportPrivateKeyPEMExpectation

type KeyProcessorMockImportPrivateKeyPEMExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

KeyProcessorMockImportPrivateKeyPEMExpectation specifies expectation struct of the KeyProcessor.ImportPrivateKeyPEM

func (*KeyProcessorMockImportPrivateKeyPEMExpectation) Then

Then sets up KeyProcessor.ImportPrivateKeyPEM return parameters for the expectation previously defined by the When method

type KeyProcessorMockImportPrivateKeyPEMParams

type KeyProcessorMockImportPrivateKeyPEMParams struct {
	// contains filtered or unexported fields
}

KeyProcessorMockImportPrivateKeyPEMParams contains parameters of the KeyProcessor.ImportPrivateKeyPEM

type KeyProcessorMockImportPrivateKeyPEMResults

type KeyProcessorMockImportPrivateKeyPEMResults struct {
	// contains filtered or unexported fields
}

KeyProcessorMockImportPrivateKeyPEMResults contains results of the KeyProcessor.ImportPrivateKeyPEM

type KeyProcessorMockImportPublicKeyBinaryExpectation

type KeyProcessorMockImportPublicKeyBinaryExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

KeyProcessorMockImportPublicKeyBinaryExpectation specifies expectation struct of the KeyProcessor.ImportPublicKeyBinary

func (*KeyProcessorMockImportPublicKeyBinaryExpectation) Then

Then sets up KeyProcessor.ImportPublicKeyBinary return parameters for the expectation previously defined by the When method

type KeyProcessorMockImportPublicKeyBinaryParams

type KeyProcessorMockImportPublicKeyBinaryParams struct {
	// contains filtered or unexported fields
}

KeyProcessorMockImportPublicKeyBinaryParams contains parameters of the KeyProcessor.ImportPublicKeyBinary

type KeyProcessorMockImportPublicKeyBinaryResults

type KeyProcessorMockImportPublicKeyBinaryResults struct {
	// contains filtered or unexported fields
}

KeyProcessorMockImportPublicKeyBinaryResults contains results of the KeyProcessor.ImportPublicKeyBinary

type KeyProcessorMockImportPublicKeyPEMExpectation

type KeyProcessorMockImportPublicKeyPEMExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

KeyProcessorMockImportPublicKeyPEMExpectation specifies expectation struct of the KeyProcessor.ImportPublicKeyPEM

func (*KeyProcessorMockImportPublicKeyPEMExpectation) Then

Then sets up KeyProcessor.ImportPublicKeyPEM return parameters for the expectation previously defined by the When method

type KeyProcessorMockImportPublicKeyPEMParams

type KeyProcessorMockImportPublicKeyPEMParams struct {
	// contains filtered or unexported fields
}

KeyProcessorMockImportPublicKeyPEMParams contains parameters of the KeyProcessor.ImportPublicKeyPEM

type KeyProcessorMockImportPublicKeyPEMResults

type KeyProcessorMockImportPublicKeyPEMResults struct {
	// contains filtered or unexported fields
}

KeyProcessorMockImportPublicKeyPEMResults contains results of the KeyProcessor.ImportPublicKeyPEM

type PulseGenerator

type PulseGenerator struct {
	// contains filtered or unexported fields
}

func NewPulseGenerator

func NewPulseGenerator(delta uint16, online census.OnlinePopulation, entropyGenerator entropygenerator.EntropyGenerator) *PulseGenerator

func (*PulseGenerator) CountBackPacket

func (g *PulseGenerator) CountBackPacket(count uint) pulsar.PulsePacket

func (*PulseGenerator) Generate

func (g *PulseGenerator) Generate() pulse.Data

func (*PulseGenerator) GetDelta

func (g *PulseGenerator) GetDelta() uint16

func (*PulseGenerator) GetLastBeat

func (g *PulseGenerator) GetLastBeat() beat.Beat

func (*PulseGenerator) GetLastPulseData

func (g *PulseGenerator) GetLastPulseData() pulse.Data

func (*PulseGenerator) GetLastPulsePacket

func (g *PulseGenerator) GetLastPulsePacket() pulsar.PulsePacket

func (*PulseGenerator) GetPrevBeat

func (g *PulseGenerator) GetPrevBeat() beat.Beat

type SyncT

type SyncT struct {
	testing.TB
	// contains filtered or unexported fields
}

func (*SyncT) Error

func (t *SyncT) Error(args ...interface{})

func (*SyncT) Errorf

func (t *SyncT) Errorf(format string, args ...interface{})

func (*SyncT) Fail

func (t *SyncT) Fail()

func (*SyncT) FailNow

func (t *SyncT) FailNow()

func (*SyncT) Failed

func (t *SyncT) Failed() bool

func (*SyncT) Fatal

func (t *SyncT) Fatal(args ...interface{})

func (*SyncT) Fatalf

func (t *SyncT) Fatalf(format string, args ...interface{})

func (*SyncT) Helper

func (t *SyncT) Helper()

func (*SyncT) Log

func (t *SyncT) Log(args ...interface{})

func (*SyncT) Logf

func (t *SyncT) Logf(format string, args ...interface{})

func (*SyncT) Name

func (t *SyncT) Name() string

func (*SyncT) Skip

func (t *SyncT) Skip(args ...interface{})

func (*SyncT) SkipNow

func (t *SyncT) SkipNow()

func (*SyncT) Skipf

func (t *SyncT) Skipf(format string, args ...interface{})

func (*SyncT) Skipped

func (t *SyncT) Skipped() bool

type Tester

type Tester interface {
	Helper()
	Errorf(format string, args ...interface{})
	FailNow()
}

Jump to

Keyboard shortcuts

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