trxdbtest

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestAll

func TestAll(t *testing.T, driverName string, driverFactory DriverFactory)

func TestBlockIDAfter

func TestBlockIDAfter(t *testing.T, driverFactory DriverFactory)

func TestBlockIDAt

func TestBlockIDAt(t *testing.T, driverFactory DriverFactory)

func TestBlockIDBefore

func TestBlockIDBefore(t *testing.T, driverFactory DriverFactory)

func TestGetAccount

func TestGetAccount(t *testing.T, driverFactory DriverFactory)

func TestGetBlock

func TestGetBlock(t *testing.T, driverFactory DriverFactory)

func TestGetBlockByNum

func TestGetBlockByNum(t *testing.T, driverFactory DriverFactory)

func TestGetClosestIrreversibleIDAtBlockNum

func TestGetClosestIrreversibleIDAtBlockNum(t *testing.T, driverFactory DriverFactory)

func TestGetIrreversibleIDAtBlockID

func TestGetIrreversibleIDAtBlockID(t *testing.T, driverFactory DriverFactory)

func TestGetLastWrittenBlockID

func TestGetLastWrittenBlockID(t *testing.T, driverFactory DriverFactory)

func TestGetTransactionEvents

func TestGetTransactionEvents(t *testing.T, driverFactory DriverFactory)

func TestGetTransactionEventsBatch

func TestGetTransactionEventsBatch(t *testing.T, driverFactory DriverFactory)

func TestGetTransactionTraces

func TestGetTransactionTraces(t *testing.T, driverFactory DriverFactory)

func TestGetTransactionTracesBatch

func TestGetTransactionTracesBatch(t *testing.T, driverFactory DriverFactory)

func TestListAccountNames

func TestListAccountNames(t *testing.T, driverFactory DriverFactory)

func TestListBlocks

func TestListBlocks(t *testing.T, driverFactory DriverFactory)

func TestListSiblingBlocks

func TestListSiblingBlocks(t *testing.T, driverFactory DriverFactory)

func TestPutBlock

func TestPutBlock(t *testing.T, driverFactory DriverFactory)

func TestReadTransactions

func TestReadTransactions(t *testing.T, driverFactory DriverFactory)

func TestUpdateNowIrreversibleBlock

func TestUpdateNowIrreversibleBlock(t *testing.T, driverFactory DriverFactory)

Types

type DriverCleanupFunc

type DriverCleanupFunc func()

type DriverFactory

type DriverFactory func() (trxdb.DB, DriverCleanupFunc)

type DriverTestFunc

type DriverTestFunc func(t *testing.T, driverFactory DriverFactory)

Jump to

Keyboard shortcuts

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