Merge "Add Sim absent assertion in the setup" into oc-dr1-dev am: 1d87508ce1

am: a344d40ae5

Change-Id: I088ab806cc2e6d36bda7e1a5c83a7d45e7d66061
This commit is contained in:
Shuo Qian 2017-07-25 00:24:56 +00:00 committed by android-build-merger
commit df85665665
2 changed files with 8 additions and 0 deletions

View file

@ -37,6 +37,10 @@ void RadioHidlTest::SetUp() {
EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp->rspInfo.type);
EXPECT_EQ(serial, radioRsp->rspInfo.serial);
EXPECT_EQ(RadioError::NONE, radioRsp->rspInfo.error);
/* Vts Testing with Sim Absent only. This needs to be removed later in P when sim present
* scenarios will be tested. */
EXPECT_EQ(CardState::ABSENT, cardStatus.cardState);
}
void RadioHidlTest::TearDown() {}

View file

@ -38,6 +38,10 @@ void RadioHidlTest_v1_1::SetUp() {
EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_v1_1->rspInfo.type);
EXPECT_EQ(serial, radioRsp_v1_1->rspInfo.serial);
EXPECT_EQ(RadioError::NONE, radioRsp_v1_1->rspInfo.error);
/* Vts Testing with Sim Absent only. This needs to be removed later in P when sim present
* scenarios will be tested. */
EXPECT_EQ(CardState::ABSENT, cardStatus.cardState);
}
void RadioHidlTest_v1_1::TearDown() {}