MCPcopy Create free account
hub / github.com/ElementsProject/elements / TEST

Function TEST

src/leveldb/table/table_test.cc:614–620  ·  view source on GitHub ↗

Test empty table/block.

Source from the content-addressed store, hash-verified

612
613// Test empty table/block.
614TEST(Harness, Empty) {
615 for (int i = 0; i < kNumTestArgs; i++) {
616 Init(kTestArgList[i]);
617 Random rnd(test::RandomSeed() + 1);
618 Test(&rnd);
619 }
620}
621
622// Special test for a block with no restart entries. The C++ leveldb
623// code never generates such blocks, but the Java version of leveldb

Callers

nothing calls this directly

Calls 15

RandomSeedFunction · 0.85
BytewiseComparatorFunction · 0.85
CompressibleStringFunction · 0.85
SkewedMethod · 0.80
BetweenFunction · 0.70
InitClass · 0.50
TestClass · 0.50
SliceClass · 0.50
AddFunction · 0.50
RandomKeyFunction · 0.50
RandomStringFunction · 0.50

Tested by

no test coverage detected