Documentation ¶
Index ¶
- func TestApplyUpdatesWithNilHeight(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestBasicRW(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestBatchWithIndividualRetry(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestDeletes(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestGetStateMultipleKeys(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestGetVersion(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestIterator(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestItrWithoutClose(t *testing.T, itr statedb.ResultsIterator, expectedKeys []string)
- func TestMultiDBBasicRW(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestPaginatedRangeQuery(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestQuery(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestSmallBatchSize(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestValueAndMetadataWrites(t *testing.T, dbProvider statedb.VersionedDBProvider)
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 TestGetStateMultipleKeys ¶
func TestGetStateMultipleKeys(t *testing.T, dbProvider statedb.VersionedDBProvider)
testgetstatemultiplekeys测试读取给定的多个键
func TestGetVersion ¶
func TestGetVersion(t *testing.T, dbProvider statedb.VersionedDBProvider)
TestGetVersion测试按命名空间和键检索版本
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 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.
Click to show internal directories.
Click to hide internal directories.