mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 02:18:40 +00:00
Add Sim absent assertion in the 1.0 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: Ie09fb8bcedfd0b35b14f0a70952f44b6f6b082aa
This commit is contained in:
@@ -35,6 +35,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() {}
|
||||
|
||||
Reference in New Issue
Block a user