Skill test modified

Signed-off-by: zhaoyuan17 <zhaoyuan17@huawei.com>
This commit is contained in:
zhaoyuan17 2021-11-09 19:26:18 +00:00
parent b9a3be85f4
commit 022280bd4e

View File

@ -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());
}
}