testutil

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupExtTestEnv

func SetupExtTestEnv() (addr string, cleanup func(string), stop func())

SetupExtTestEnv creates new couchdb instance for test returns couchdb address, cleanup and stop function handle.

func SetupResources added in v0.1.1

func SetupResources() func()

SetupResources sets up all of the mock resource providers

func TestLedgerConf

func TestLedgerConf() *ledger.Config

TestLedgerConf return the ledger configs

func TestPrivateDataConf added in v0.1.1

func TestPrivateDataConf() *pvtdatastorage.PrivateDataConfig

TestPrivateDataConf returns mock private data config for unit tests

Types

This section is empty.

Jump to

Keyboard shortcuts

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