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

Commit 0e323b26 authored by sqian's avatar sqian
Browse files

Add Sim absent assertion in the setup

Currently the VTS tests for radio are for Sim Absent only. Adding this
assertion in the set up before running VTS tests clarifies the current
tests running is for sim absent only.

Test: run vts
Bug: 63898623
Change-Id: I0017dd1b3939348b183ce19a5ec4cbc977946cc1
parent cc360c3f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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() {}
+4 −0
Original line number Diff line number Diff line
@@ -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() {}