merge Verification and Update statuses
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ibb9c1c9f9cb7e9cda18f4e8dddb31d57a12f0d90
diff --git a/test/firmware_unittest.hpp b/test/firmware_unittest.hpp
index 947c2ba..11d49bf 100644
--- a/test/firmware_unittest.hpp
+++ b/test/firmware_unittest.hpp
@@ -75,7 +75,7 @@
expectedState(FirmwareBlobHandler::UpdateState::verificationStarted);
}
- void getToVerificationCompleted(VerifyCheckResponses checkResponse)
+ void getToVerificationCompleted(ActionStatus checkResponse)
{
getToVerificationStarted(staticLayoutBlobId);
@@ -87,7 +87,7 @@
void getToUpdatePending()
{
- getToVerificationCompleted(VerifyCheckResponses::success);
+ getToVerificationCompleted(ActionStatus::success);
handler->close(session);
expectedState(FirmwareBlobHandler::UpdateState::updatePending);
@@ -103,7 +103,7 @@
expectedState(FirmwareBlobHandler::UpdateState::updateStarted);
}
- void getToUpdateCompleted(UpdateStatus result)
+ void getToUpdateCompleted(ActionStatus result)
{
getToUpdateStarted();
EXPECT_CALL(*updateMockPtr, status()).WillOnce(Return(result));