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

Commit f9723eef authored by Sanket Padawe's avatar Sanket Padawe
Browse files

Fix test case for setSimCardPower radio api.

Bug: 35800570
Test: vts
Change-Id: I93e78c46971158cd14666931b527d8e268e0a39e
parent 69c42429
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1811,7 +1811,6 @@ interface IRadioResponse {
     *   RadioError:NONE
     *   RadioError:RADIO_NOT_AVAILABLE
     *   RadioError:REQUEST_NOT_SUPPORTED
     *   RadioError:SIM_ABSENT
     *   RadioError:INVALID_ARGUMENTS
     */
    oneway setSimCardPowerResponse(RadioResponseInfo info);
+2 −1
Original line number Diff line number Diff line
@@ -787,6 +787,7 @@ TEST_F(RadioHidlTest, setSimCardPower) {
  EXPECT_EQ(serial, radioRsp->rspInfo.serial);

  if (cardStatus.cardState == CardState::ABSENT) {
    ASSERT_TRUE(radioRsp->rspInfo.error == RadioError::SIM_ABSENT);
    ASSERT_TRUE(radioRsp->rspInfo.error == RadioError::NONE
        || radioRsp->rspInfo.error == RadioError::REQUEST_NOT_SUPPORTED);
  }
}
 No newline at end of file