Searched refs:mockCryptIface (Results 1 – 2 of 2) sorted by relevance
/openbmc/estoraged/src/test/erase/ |
H A D | crypto_test.cpp | 52 std::unique_ptr<MockCryptsetupInterface> mockCryptIface = in TEST_F() local 61 EXPECT_CALL(*mockCryptIface, cryptKeySlotStatus(_, 0)) in TEST_F() 67 CryptErase(testFileName, std::move(mockCryptIface)); in TEST_F() 73 std::unique_ptr<MockCryptsetupInterface> mockCryptIface = in TEST_F() local 83 CryptErase(testFileName, std::move(mockCryptIface)); in TEST_F() 89 std::unique_ptr<MockCryptsetupInterface> mockCryptIface = in TEST_F() local 99 CryptErase(testFileName, std::move(mockCryptIface)); in TEST_F() 114 EXPECT_CALL(*mockCryptIface, cryptKeySlotStatus(_, _)) in TEST_F() 118 CryptErase(testFileName, std::move(mockCryptIface)); in TEST_F() 133 EXPECT_CALL(*mockCryptIface, cryptKeySlotStatus(_, 0)) in TEST_F() [all …]
|
/openbmc/estoraged/src/test/ |
H A D | estoraged_test.cpp | 54 MockCryptsetupInterface* mockCryptIface{}; member in estoraged_test::EStoragedTest 79 mockCryptIface = cryptIface.get(); in SetUp() 137 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F() 162 EXPECT_CALL(*mockCryptIface, cryptDeactivate(_, _)) in TEST_F() 184 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F() 209 EXPECT_CALL(*mockCryptIface, cryptDeactivate(_, _)) in TEST_F() 283 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F() 301 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F() 324 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F() 518 EXPECT_CALL(*mockCryptIface, in TEST_F() [all …]
|