!179 Skill test modified

Merge pull request !179 from blackleon/master_1109_1
This commit is contained in:
openharmony_ci 2021-11-10 06:20:06 +00:00 committed by Gitee
commit cdaeb896a5

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