未验证 提交 e70228af 编写于 作者: O openharmony_ci 提交者: Gitee

!3368 hilog isLoggable测试用例适配

Merge pull request !3368 from chenxuihui/master
...@@ -99,7 +99,7 @@ export default function byTraceHiDebugJsunit() { ...@@ -99,7 +99,7 @@ export default function byTraceHiDebugJsunit() {
console.log("************* DFX_HiLog_HiLog_isLoggable_0100 Test start*************"); console.log("************* DFX_HiLog_HiLog_isLoggable_0100 Test start*************");
try { try {
const res = hiLog.isLoggable(0xD000700, "HILOGTEST", 3) const res = hiLog.isLoggable(0xD000700, "HILOGTEST", 3)
expect(res).assertEqual(true); expect(res).assertEqual(false);
} catch (error) { } catch (error) {
expect().assertFail(); expect().assertFail();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册