Fix VTS errors of the network scan API am: 0e9094142f
am: 6d9952a70b
Change-Id: I2446c7eab4b2bea0bf4f8e280615d2526a8920a2
This commit is contained in:
commit
938f095f7f
1 changed files with 6 additions and 3 deletions
|
@ -63,7 +63,8 @@ TEST_F(RadioHidlTest_v1_1, startNetworkScan) {
|
|||
if (cardStatus.cardState == CardState::ABSENT) {
|
||||
ASSERT_TRUE(radioRsp_v1_1->rspInfo.error == RadioError::NONE ||
|
||||
radioRsp_v1_1->rspInfo.error == RadioError::SIM_ABSENT ||
|
||||
radioRsp_v1_1->rspInfo.error == RadioError::INVALID_ARGUMENTS);
|
||||
radioRsp_v1_1->rspInfo.error == RadioError::INVALID_ARGUMENTS ||
|
||||
radioRsp_v1_1->rspInfo.error == RadioError::REQUEST_NOT_SUPPORTED);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -84,7 +85,8 @@ TEST_F(RadioHidlTest_v1_1, startNetworkScan_InvalidArgument) {
|
|||
|
||||
if (cardStatus.cardState == CardState::ABSENT) {
|
||||
ASSERT_TRUE(radioRsp_v1_1->rspInfo.error == RadioError::INVALID_ARGUMENTS ||
|
||||
radioRsp_v1_1->rspInfo.error == RadioError::SIM_ABSENT);
|
||||
radioRsp_v1_1->rspInfo.error == RadioError::SIM_ABSENT ||
|
||||
radioRsp_v1_1->rspInfo.error == RadioError::REQUEST_NOT_SUPPORTED);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -101,6 +103,7 @@ TEST_F(RadioHidlTest_v1_1, stopNetworkScan) {
|
|||
|
||||
if (cardStatus.cardState == CardState::ABSENT) {
|
||||
ASSERT_TRUE(radioRsp_v1_1->rspInfo.error == RadioError::NONE ||
|
||||
radioRsp_v1_1->rspInfo.error == RadioError::SIM_ABSENT);
|
||||
radioRsp_v1_1->rspInfo.error == RadioError::SIM_ABSENT ||
|
||||
radioRsp_v1_1->rspInfo.error == RadioError::REQUEST_NOT_SUPPORTED);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue