mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:23:37 +00:00
Merge "Update VtsHalSecureElementV1_2TargetTest" am: 8ba4ba6faa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1371703 Change-Id: I0e4f8e4a487a9d48b870527af2d99133c3a79f39
This commit is contained in:
@@ -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_);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user