mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2024-11-23 16:09:48 +00:00
test
Signed-off-by: jiangbinghan <jiangbinghan@huawei.com>
This commit is contained in:
parent
f2eb2680fc
commit
a46ea742c7
@ -1120,8 +1120,8 @@ HWTEST_F(BranchTest, Telephony_SimManager_001, Function | MediumTest | Level1)
|
||||
EXPECT_GT(simManager->HasSimCard(0, boolResult), TELEPHONY_ERR_SUCCESS);
|
||||
EXPECT_GT(simManager->HasSimCard(INVALID_SLOTID, boolResult), TELEPHONY_ERR_SUCCESS);
|
||||
SimState simState = SimState::SIM_STATE_UNKNOWN;
|
||||
EXPECT_NE(simManager->GetSimState(0, simState), TELEPHONY_ERR_SUCCESS);
|
||||
EXPECT_NE(simManager->GetSimState(INVALID_SLOTID, simState), TELEPHONY_ERR_SUCCESS);
|
||||
EXPECT_GE(simManager->GetSimState(0, simState), TELEPHONY_ERR_SUCCESS);
|
||||
EXPECT_GE(simManager->GetSimState(INVALID_SLOTID, simState), TELEPHONY_ERR_SUCCESS);
|
||||
CardType cardType = CardType::UNKNOWN_CARD;
|
||||
EXPECT_NE(simManager->GetCardType(0, cardType), TELEPHONY_ERR_SUCCESS);
|
||||
EXPECT_NE(simManager->GetCardType(INVALID_SLOTID, cardType), TELEPHONY_ERR_SUCCESS);
|
||||
|
Loading…
Reference in New Issue
Block a user