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

Function TEST

src/leveldb/db/write_batch_test.cc:57–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55class WriteBatchTest {};
56
57TEST(WriteBatchTest, Empty) {
58 WriteBatch batch;
59 ASSERT_EQ("", PrintContents(&batch));
60 ASSERT_EQ(0, WriteBatchInternal::Count(&batch));
61}
62
63TEST(WriteBatchTest, Multiple) {
64 WriteBatch batch;

Callers

nothing calls this directly

Calls 9

PrintContentsFunction · 0.85
ApproximateSizeMethod · 0.80
SliceClass · 0.50
PutMethod · 0.45
DeleteMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
AppendMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected