From 59975ada48dfbac4b9bda1a6baf05d0de3a4094d Mon Sep 17 00:00:00 2001 From: chengxingzhen Date: Mon, 18 Apr 2022 20:17:49 +0800 Subject: [PATCH] =?UTF-8?q?XTS=E7=94=A8=E4=BE=8B=E9=80=82=E9=85=8D?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chengxingzhen --- .../entry/src/main/js/test/MangerAbilityJsunit.test.js | 2 +- .../entry/src/main/js/test/MangerAbilityJsunit.test.js | 2 +- .../entry/src/main/js/test/MangerAbilityJsunit.test.js | 2 +- .../entry/src/main/js/test/MangerAbilityJsunit.test.js | 2 +- .../entry/src/main/js/test/ActsAbilityDelegatorCaseTest.test.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 5604fed47..01ba80c5c 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -267,7 +267,7 @@ describe('ActsAmsCallBackFourthScene', function () { appManager.killProcessesByBundleName('xxxxxxxxx', (error) => { console.info('Acts_Ams_test_6400 killProcessesByBundleName error.code ' + error.code); - expect(error.code).assertEqual(2097215); + expect(error.code).assertEqual(2097183); done(); }); }) diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 9d88db65d..d08cf0954 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -223,7 +223,7 @@ describe('ActsAmsCallBackSecondScene', function () { (error, info) => { console.info('Acts_Ams_test_3200 killProcessesByBundleName error.code: \ ' + error.code + ',data [' + info + ']'); - expect(error.code).assertEqual(2097215); + expect(error.code).assertEqual(2097183); done(); }); }) diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 0f4e7787d..9791b2d9e 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -205,7 +205,7 @@ describe('ActsAmsTestSecondScene', function () { console.log('Acts_test_3100 success: ' + data); }).catch(err => { console.log('Acts_test_3100 failed: ' + err.code); - expect(err.code).assertEqual(2097215); + expect(err.code).assertEqual(2097183); done(); }); }) diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 7e93f7dcb..89cf02f71 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -207,7 +207,7 @@ describe('ActsAmsTestThirdScene', function () { console.log('Acts_test_4700 success: ' + data); }).catch(err => { console.log('Acts_test_4700 failed: ' + err.code); - expect(err.code).assertEqual(2097215); + expect(err.code).assertEqual(2097183); done(); }); }) diff --git a/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/test/ActsAbilityDelegatorCaseTest.test.js b/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/test/ActsAbilityDelegatorCaseTest.test.js index d44f8aa0e..9a8eb59c1 100644 --- a/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/test/ActsAbilityDelegatorCaseTest.test.js +++ b/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/test/ActsAbilityDelegatorCaseTest.test.js @@ -268,7 +268,7 @@ describe('ActsStServiceAbilityTest', function () { done(); } var context = featureAbility.getContext() - var result = context.getDisplayOrientation().then((data) => { + var result = await context.getDisplayOrientation().then((data) => { clearTimeout(currentAlertTimeout); console.debug("ACTS_AGetDisplayOrientation_0200====DisplayOrientation>" + JSON.stringify(DisplayOrientation) + " , err= " + err); -- GitLab