From 2b4dfdd88156000ef9b31f887b56d1e449dfb490 Mon Sep 17 00:00:00 2001 From: chenxuihui Date: Wed, 22 Jun 2022 17:29:46 +0800 Subject: [PATCH] monthly xts bugfix Signed-off-by: chenxuihui --- .../hilogjstest/src/main/js/default/test/HilogJsTest.js | 8 ++++---- hiviewdfx/hitracechainjstest/src/main/config.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hiviewdfx/hilogjstest/src/main/js/default/test/HilogJsTest.js b/hiviewdfx/hilogjstest/src/main/js/default/test/HilogJsTest.js index 4577dfbc7..4a119ab19 100755 --- a/hiviewdfx/hilogjstest/src/main/js/default/test/HilogJsTest.js +++ b/hiviewdfx/hilogjstest/src/main/js/default/test/HilogJsTest.js @@ -119,7 +119,7 @@ describe('HilogJsTest', function () { it('testHilogJsApi06', 2, function () { console.info('testHilogJsApi06 start'); const res = hilog.isLoggable(0xD001400, "HILOGTEST", 3); - expect(res).assertEqual(true); + expect(res).assertEqual(false); console.info('testHilogJsApi06 end'); }) @@ -135,7 +135,7 @@ describe('HilogJsTest', function () { for (var i = 0; i < 1000; i++){ tag += "HILOGTEST" } - expect(res).assertEqual(true); + expect(res).assertEqual(false); console.info('testHilogJsApi07 end'); }) @@ -147,7 +147,7 @@ describe('HilogJsTest', function () { it('testHilogJsApi08', 2, function () { console.info('testHilogJsApi08 start'); const res = hilog.isLoggable(0xD001400, "", 3); - expect(res).assertEqual(true); + expect(res).assertEqual(false); console.info('testHilogJsApi08 end'); }) @@ -207,7 +207,7 @@ describe('HilogJsTest', function () { it('testHilogJsApi13', 2, function () { console.info('testHilogJsApi13 start'); const res = hilog.isLoggable(0xD001400, "HILOGTEST", 100); - expect(res).assertEqual(true); + expect(res).assertEqual(false); console.info('testHilogJsApi13 end'); }) diff --git a/hiviewdfx/hitracechainjstest/src/main/config.json b/hiviewdfx/hitracechainjstest/src/main/config.json index 803713572..6049b40d4 100755 --- a/hiviewdfx/hitracechainjstest/src/main/config.json +++ b/hiviewdfx/hitracechainjstest/src/main/config.json @@ -36,7 +36,7 @@ ] } ], - "name": "ohos.acts.hiviewdfx.hilog.hitracechain.MainAbility", + "name": "ohos.acts.hiviewdfx.hitracechain.function.MainAbility", "icon": "$media:icon", "description": "$string:mainability_description", "label": "MyApplication", -- GitLab