Documentation ¶
Index ¶
- func GetExtStateDBProvider(t testing.TB, dbProvider statedb.VersionedDBProvider) statedb.VersionedDBProvider
- func InvokeOrSkip(func())
- func MarbleValue(name, color, owner string, size int) string
- func SetupExtTestEnv() (addr string, cleanup func(string), stop func())
- func SetupResources() func()
- func SetupV2Data(t *testing.T, config *ledger.Config) func()
- func Skip(t *testing.T, msg string)
- func TestLedgerConf() *ledger.Config
- func TestPrivateDataConf() *pvtdatastorage.PrivateDataConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExtStateDBProvider ¶
func GetExtStateDBProvider(t testing.TB, dbProvider statedb.VersionedDBProvider) statedb.VersionedDBProvider
GetExtStateDBProvider returns the implementation of the versionedDBProvider
func MarbleValue ¶
func SetupExtTestEnv ¶
SetupExtTestEnv creates new couchdb instance for test returns couchdbd address, cleanup and stop function handle.
func SetupResources ¶
func SetupResources() func()
SetupResources sets up all of the mock resource providers
func TestPrivateDataConf ¶
func TestPrivateDataConf() *pvtdatastorage.PrivateDataConfig
TestPrivateDataConf return the private data configs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.