ledgertestutils

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

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.

Jump to

Keyboard shortcuts

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