mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2024-11-23 08:00:07 +00:00
修改监视意见及napi相关代码适配
Signed-off-by: yangyang <yangyang651@h-partners.com>
This commit is contained in:
parent
b39b74383b
commit
39e84f9416
@ -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.
|
||||
*/
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user