test

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 7 Imported by: 0

README

IMPORTANT

All the unit tests (mostly) depend on having a LIVE HSM with 2 RF nodes discovered: x0c0s1b0 & x0c0s2b0; Use the RFSim & HSMSim to set this environment up. Or just run ./runUnitTest.sh. Dont expect these tests to work without that.

You have been warned!!!

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGlobals

type MockGlobals struct {
	Logger             *logrus.Logger
	BaseTRSTask        trsapi.HttpTask
	Running            *bool
	TLOC_rf            trsapi.TrsAPI
	TLOC_svc           trsapi.TrsAPI
	RFHttpClient       *hms_certs.HTTPClientPair
	SVCHttpClient      *hms_certs.HTTPClientPair
	StateManagerServer string
	VaultEnabled       bool
	VaultKeypath       string
	LockEnabled        bool
}

func (*MockGlobals) NewGlobals

func (glob *MockGlobals) NewGlobals()

Jump to

Keyboard shortcuts

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