Merge "Add init() as a part of Secure Element VTS test"

This commit is contained in:
Treehugger Robot 2018-02-28 18:44:44 +00:00 committed by Gerrit Code Review
commit 196fbbc1a6

View file

@ -92,6 +92,10 @@ class SecureElementHidlTest : public ::testing::VtsHalHidlTargetTestBase {
se_cb_ = new SecureElementHalCallback();
ASSERT_NE(se_cb_, nullptr);
se_->init(se_cb_);
auto res = se_cb_->WaitForCallback(kCallbackNameOnStateChange);
EXPECT_TRUE(res.no_timeout);
EXPECT_TRUE(res.args->state_);
}
sp<ISecureElement> se_;