diff --git a/hiviewdfx/hilogjstest/src/main/js/default/test/HilogJsTest.js b/hiviewdfx/hilogjstest/src/main/js/default/test/HilogJsTest.js index 4577dfbc77288cf7edde053cf46f9dd090985010..4a119ab19ccda7898dca4bffea15e2f7c869daea 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 8037135725ee0acabb81a941d16712b85654dc28..6049b40d4d8cc10a0094ddcb3877e9f71a2279fe 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",