Removed duplicate test case

This commit is contained in:
Sebastian Messmer 2015-03-05 22:40:29 +01:00
parent 2cb0f4e5de
commit 471ce89421

View File

@ -115,12 +115,6 @@ public:
); );
} }
void TestLoadNonExistingBlockWithEmptyKey() {
EXPECT_FALSE(
(bool)blockStore->load(key)
);
}
private: private:
const blockstore::Key key = blockstore::Key::FromString("1491BB4932A389EE14BC7090AC772972"); const blockstore::Key key = blockstore::Key::FromString("1491BB4932A389EE14BC7090AC772972");
std::unique_ptr<blockstore::BlockStore> blockStore; std::unique_ptr<blockstore::BlockStore> blockStore;
@ -191,7 +185,6 @@ TYPED_TEST_P_FOR_ALL_SIZES(AfterLoad_FlushingDoesntChangeBlock);
TYPED_TEST_P_FOR_ALL_SIZES(AfterCreate_FlushesWhenDestructed); TYPED_TEST_P_FOR_ALL_SIZES(AfterCreate_FlushesWhenDestructed);
TYPED_TEST_P_FOR_ALL_SIZES(AfterLoad_FlushesWhenDestructed); TYPED_TEST_P_FOR_ALL_SIZES(AfterLoad_FlushesWhenDestructed);
TYPED_TEST_P_FOR_ALL_SIZES(LoadNonExistingBlock); TYPED_TEST_P_FOR_ALL_SIZES(LoadNonExistingBlock);
TYPED_TEST_P_FOR_ALL_SIZES(LoadNonExistingBlockWithEmptyKey);
TYPED_TEST_P(BlockStoreTest, TwoCreatedBlocksHaveDifferentKeys) { TYPED_TEST_P(BlockStoreTest, TwoCreatedBlocksHaveDifferentKeys) {
auto blockStore = this->fixture.createBlockStore(); auto blockStore = this->fixture.createBlockStore();
@ -254,7 +247,6 @@ REGISTER_TYPED_TEST_CASE_P(BlockStoreTest,
AfterCreate_FlushesWhenDestructed, AfterCreate_FlushesWhenDestructed,
AfterLoad_FlushesWhenDestructed, AfterLoad_FlushesWhenDestructed,
LoadNonExistingBlock, LoadNonExistingBlock,
LoadNonExistingBlockWithEmptyKey,
TwoCreatedBlocksHaveDifferentKeys, TwoCreatedBlocksHaveDifferentKeys,
BlockIsNotLoadableAfterDeleting, BlockIsNotLoadableAfterDeleting,
NumBlocksIsCorrectOnEmptyBlockstore, NumBlocksIsCorrectOnEmptyBlockstore,