修改监视意见及napi相关代码适配

Signed-off-by: yangyang <yangyang651@h-partners.com>
This commit is contained in:
yangyang 2024-10-10 15:51:38 +08:00
parent b39b74383b
commit 39e84f9416
2 changed files with 5 additions and 5 deletions

View File

@ -34,7 +34,7 @@ public:
const sptr<IRemoteObject> &GetRemoteObject() const;
private:
bool loadSAFailed_ = false;
bool isLoadSAFailed_ = false;
sptr<IRemoteObject> remoteObject_ = nullptr;
};
@ -169,7 +169,7 @@ public:
* @brief Erase all specific profiles and reset the eUICC.
*
* @param slotId[in], indicates the card slot index number.
* @param option[in], options for resetting eUICC memory.
* @param resetOption[in], options for resetting eUICC memory.
* @param resetMemoryResult[out], the result of the reset operation.
* @return int32_t TELEPHONY_SUCCESS on success, others on failure.
*/

View File

@ -286,15 +286,15 @@ HWTEST_F(EsimServiceClientBranchTest, OnLoadSystemAbilityFail_0001, Function | M
int32_t systemAbilityId = 66250;
EsimServiceClientCallback call;
call.OnLoadSystemAbilityFail(systemAbilityId);
EXPECT_TRUE(call.loadSAFailed_);
EXPECT_TRUE(call.isLoadSAFailed_);
}
HWTEST_F(EsimServiceClientBranchTest, IsFailed_0001, Function | MediumTest | Level1)
{
EsimServiceClientCallback call;
call.loadSAFailed_ = true;
call.isLoadSAFailed_ = true;
call.IsFailed();
EXPECT_TRUE(call.loadSAFailed_);
EXPECT_TRUE(call.isLoadSAFailed_);
}
HWTEST_F(EsimServiceClientBranchTest, GetRemoteObject_0001, Function | MediumTest | Level1)