mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-12-11 19:33:42 +00:00
Skill test modified
Signed-off-by: zhaoyuan17 <zhaoyuan17@huawei.com>
This commit is contained in:
parent
b9a3be85f4
commit
022280bd4e
@ -125,7 +125,8 @@ HWTEST_F(SkillsBaseTest, AaFwk_Skills_Parcelable_0200, Function | MediumTest | L
|
||||
|
||||
if (SkillsOut_ != nullptr) {
|
||||
CompareSkills(SkillsIn_, SkillsOut_);
|
||||
EXPECT_EQ(valueLong, Long::Unbox(ILong::Query(SkillsOut_->GetWantParams().GetParam(keyStr))));
|
||||
std::string result = String::Unbox(IString::Query(SkillsOut_->GetWantParams().GetParam(keyStr)));
|
||||
EXPECT_STREQ(std::to_string(valueLong).c_str(), result.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user