mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Allow general errors for getImsiForApp().
This is to match it with other 1.0 tests where general errors are allowed. For newer tests we have decided to not allow these errors, but a failure for this old test is reported when run with SIM present. Test: run vts -m VtsHalRadioV1_0Target Bug: 109889468 Change-Id: If36083b7832706a50805932e8ba08e4eb397f3fe
This commit is contained in:
@@ -180,7 +180,8 @@ TEST_F(RadioHidlTest, getImsiForApp) {
|
||||
EXPECT_EQ(std::cv_status::no_timeout, wait());
|
||||
EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp->rspInfo.type);
|
||||
EXPECT_EQ(serial, radioRsp->rspInfo.serial);
|
||||
EXPECT_EQ(RadioError::NONE, radioRsp->rspInfo.error);
|
||||
ASSERT_TRUE(
|
||||
CheckAnyOfErrors(radioRsp->rspInfo.error, {RadioError::NONE}, CHECK_GENERAL_ERROR));
|
||||
|
||||
// IMSI (MCC+MNC+MSIN) is at least 6 digits, but not more than 15
|
||||
if (radioRsp->rspInfo.error == RadioError::NONE) {
|
||||
|
||||
Reference in New Issue
Block a user