Fix test cases
This commit is contained in:
parent
b0b8ea7c01
commit
3bd43506c2
@ -30,6 +30,7 @@ public:
|
|||||||
MOCK_METHOD1(do_load, Block*(const Key &));
|
MOCK_METHOD1(do_load, Block*(const Key &));
|
||||||
void remove(unique_ref<Block> block) {UNUSED(block);}
|
void remove(unique_ref<Block> block) {UNUSED(block);}
|
||||||
MOCK_CONST_METHOD0(numBlocks, uint64_t());
|
MOCK_CONST_METHOD0(numBlocks, uint64_t());
|
||||||
|
MOCK_CONST_METHOD0(estimateNumFreeBytes, uint64_t());
|
||||||
};
|
};
|
||||||
|
|
||||||
class BlockMock: public Block {
|
class BlockMock: public Block {
|
||||||
|
Loading…
Reference in New Issue
Block a user