Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0ce2154 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update VtsHalSecureElementV1_2TargetTest" into rvc-dev

parents edded5fa af249dbc
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -85,6 +85,7 @@ class SecureElementHidlTest : public ::testing::TestWithParam<std::string> {
 * Reset:
 * Calls reset()
 * Checks status
 * Check onStateChange is received with connected state set to false
 * Check onStateChange is received with connected state set to true
 */
TEST_P(SecureElementHidlTest, Reset) {
@@ -92,6 +93,10 @@ TEST_P(SecureElementHidlTest, Reset) {

    auto res = se_cb_->WaitForCallback(kCallbackNameOnStateChange);
    EXPECT_TRUE(res.no_timeout);
    EXPECT_FALSE(res.args->state_);

    res = se_cb_->WaitForCallback(kCallbackNameOnStateChange);
    EXPECT_TRUE(res.no_timeout);
    EXPECT_TRUE(res.args->state_);
}