From c10b086cb66f97a150286d005639a519f4e65366 Mon Sep 17 00:00:00 2001 From: chengxingzhen Date: Tue, 18 Apr 2023 10:31:27 +0800 Subject: [PATCH] =?UTF-8?q?xts-ams=E6=94=AF=E6=8C=81release=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E8=B0=83=E8=AF=95=E8=B0=83=E4=BC=98-=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=A0=BC=E5=BC=8F2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chengxingzhen --- .../entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ability/ability_runtime/stage/actsdebuggabletest/actsdebuggabletest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts b/ability/ability_runtime/stage/actsdebuggabletest/actsdebuggabletest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts index 6ec14b8be..877f44af6 100644 --- a/ability/ability_runtime/stage/actsdebuggabletest/actsdebuggabletest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts +++ b/ability/ability_runtime/stage/actsdebuggabletest/actsdebuggabletest/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts @@ -64,7 +64,7 @@ export default class OpenHarmonyTestRunner implements TestRunner { abilityName: testAbilityName, onAbilityCreate: onAbilityCreateCallback, }; - abilityDelegator.addAbilityMonitor(lMonitor, addAbilityMonitorCallback) + abilityDelegator.addAbilityMonitor(lMonitor, addAbilityMonitorCallback); let cmd = 'aa start -d 0 -a TestAbility' + ' -b ' + abilityDelegatorArguments.bundleName; cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters); let debug = abilityDelegatorArguments.parameters['-D']; @@ -75,7 +75,7 @@ export default class OpenHarmonyTestRunner implements TestRunner { hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); hilog.info(0x0000, 'testTag', 'cmd : %{public}s', cmd); abilityDelegator.executeShellCommand(cmd, - (err: any, d: any) => { + (err, d) => { hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); hilog.info(0x0000, 'testTag', 'executeShellCommand : err : %{public}s', JSON.stringify(err) ?? ''); hilog.info(0x0000, 'testTag', 'executeShellCommand : data : %{public}s', d.stdResult ?? ''); -- GitLab