Documentation ¶
Overview ¶
Package ledgertestutils contains high level API tests and test utils for other modules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TmpLedger ¶
func TmpLedger(t *testing.T, dir string, handlersRole core.StaticRole, c core.Components, closeJets bool) (*ledger.Ledger, storage.DBContext, func())
TmpLedger crteates ledger on top of temporary database. Returns *ledger.Ledger and cleanup function. FIXME: THIS METHOD IS DEPRECATED. USE MOCKS.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.