提交 4549764e 编写于 作者: 耿文广

7.30

Signed-off-by: N耿文广 <gengwenguang@huawei.com>
上级 c0f97dde
......@@ -41,7 +41,7 @@ export default function getAbilityLabelJsUnit() {
expect(error).assertFail();
});
Bundle.getAbilityLabel(BUNDLE_NAME, ABILITY_NAME, (error, data) => {
expect(error).assertEqual(undefined);
expect(error).assertNull();
expect(data).assertEqual("entry_MainAbility");
done();
});
......@@ -66,7 +66,7 @@ export default function getAbilityLabelJsUnit() {
let timeNewStamp = Utils.getNowTime();
Utils.getDurationTime('[context_getAbilityLabel_test_0200]', timeOldStamp, timeNewStamp);
expect(data).assertEqual("bmsfirstright");
expect(error).assertEqual(undefined);
expect(error).assertNull();
done();
});
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册