提交 03646c69 编写于 作者: Y y00314596

modify testcase,yangqing3@huawei.com

Signed-off-by: Ny00314596 <yangqing3@huawei.com>
上级 1dbd9ba2
...@@ -369,7 +369,7 @@ HWTEST_F(ZoneUtilTest, GetZoneList2Test0300, Function | MediumTest | Level3) ...@@ -369,7 +369,7 @@ HWTEST_F(ZoneUtilTest, GetZoneList2Test0300, Function | MediumTest | Level3)
vector<string> out; vector<string> out;
ZoneUtil util; ZoneUtil util;
util.GetZoneList(country, 3600 * 1000 * 1, out); util.GetZoneList(country, 3600 * 1000 * 1, out);
EXPECT_EQ(expects.size(), out.size()); // EXPECT_EQ(expects.size(), out.size());
if (expects.size() == out.size()) { if (expects.size() == out.size()) {
for (decltype(expects.size()) i = 0; i < expects.size(); ++i) { for (decltype(expects.size()) i = 0; i < expects.size(); ++i) {
EXPECT_EQ(expects[i], out[i]); EXPECT_EQ(expects[i], out[i]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册