commit | 575118db2b49514aff8ec7f3bbbdab91a3c238c7 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Fri May 31 11:20:35 2019 -0700 |
committer | Patrick Venture <venture@google.com> | Fri May 31 11:20:35 2019 -0700 |
tree | d2b888f343d39bf3024b68c3eaab5c1f240bde5a | |
parent | b6ce52bcdce49b27812d5a8d35ee7f6b222cd868 [diff] [blame] |
test: firmware updateStarted: write(session) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I584103618c4e6a949b1e0d9baa048dcd4bc4e9f9
diff --git a/test/firmware_state_updatestarted_unittest.cpp b/test/firmware_state_updatestarted_unittest.cpp index 9ff4bbf..8903a7f 100644 --- a/test/firmware_state_updatestarted_unittest.cpp +++ b/test/firmware_state_updatestarted_unittest.cpp
@@ -125,6 +125,11 @@ /* * write(session) */ +TEST_F(FirmwareHandlerUpdateStartedTest, WriteToUpdateBlobReturnsFailure) +{ + getToUpdateStarted(); + EXPECT_FALSE(handler->write(session, 0, {0x01})); +} /* * read(session)