commontests

package
v0.0.0-...-523a819 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestApplyUpdatesWithNilHeight

func TestApplyUpdatesWithNilHeight(t *testing.T, dbProvider statedb.VersionedDBProvider)

func TestBasicRW

func TestBasicRW(t *testing.T, dbProvider statedb.VersionedDBProvider)

测试基本CRW测试基本读写

func TestBatchWithIndividualRetry

func TestBatchWithIndividualRetry(t *testing.T, dbProvider statedb.VersionedDBProvider)

testbatchWithIndividualRetry测试批中的单个故障

func TestDeletes

func TestDeletes(t *testing.T, dbProvider statedb.VersionedDBProvider)

测试删除测试删除

func TestGetStateMultipleKeys

func TestGetStateMultipleKeys(t *testing.T, dbProvider statedb.VersionedDBProvider)

testgetstatemultiplekeys测试读取给定的多个键

func TestGetVersion

func TestGetVersion(t *testing.T, dbProvider statedb.VersionedDBProvider)

TestGetVersion测试按命名空间和键检索版本

func TestIterator

func TestIterator(t *testing.T, dbProvider statedb.VersionedDBProvider)

测试迭代器

func TestItrWithoutClose

func TestItrWithoutClose(t *testing.T, itr statedb.ResultsIterator, expectedKeys []string)

TestTrwithOutClose验证迭代器是否包含预期的键

func TestMultiDBBasicRW

func TestMultiDBBasicRW(t *testing.T, dbProvider statedb.VersionedDBProvider)

testmultidbbasicrw在多个dbs上测试基本读写

func TestPaginatedRangeQuery

func TestPaginatedRangeQuery(t *testing.T, dbProvider statedb.VersionedDBProvider)

testpaginatedrangequery测试带有分页的范围查询

func TestQuery

func TestQuery(t *testing.T, dbProvider statedb.VersionedDBProvider)

测试查询测试查询

func TestSmallBatchSize

func TestSmallBatchSize(t *testing.T, dbProvider statedb.VersionedDBProvider)

testsmallbatchsize测试多个更新批

func TestValueAndMetadataWrites

func TestValueAndMetadataWrites(t *testing.T, dbProvider statedb.VersionedDBProvider)

测试值和元数据写入测试StateDB的值和元数据读取写入

Types

This section is empty.

Jump to

Keyboard shortcuts

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