From a7ce964c840b07ac81ab533a1087d018dce60bb8 Mon Sep 17 00:00:00 2001 From: inter515 Date: Tue, 16 Aug 2022 19:15:33 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20362fb45=20from=20https://gitee.com/inte?= =?UTF-8?q?r515/xts=5Facts/pulls/5003=20=E6=96=B0=E5=A2=9Eapi=E8=A6=86?= =?UTF-8?q?=E7=9B=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: inter515 --- .../signature/openharmony_sx.p7b | Bin 3469 -> 3466 bytes .../test/getApplicationInfoJsunit.test.ets | 1 + .../ets/test/getWindowProperties.test.ets | 24 +++++++++--------- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbmsjstest/signature/openharmony_sx.p7b b/bundlemanager/bundle_standard/bundlemanager/actsbmsjstest/signature/openharmony_sx.p7b index c68ed538167ee62d600ae099a310f689469303f9..3a7eb6dc682f3ce734ec103281c9727559e00085 100644 GIT binary patch delta 245 zcmeB`?vi#eXyR>SvP4k50_m0_j)hoFyLb20J`g( zEekUfi@Sj)P6jv&$GIi!lWRW?$_nD h+gNa>){URfziSKX9iQ?*_n)J#?liOLogMjaB>^geQzQTY delta 249 zcmeB@?v-{hXyWZ;zNZ)ZEE$Smc?Mls0p-+Oo4c88k84P4?wkTW@Y;W?*D$ zY-|=~pbs~Ilf_VpMWJol2|LcS_2%M#SHJuE(4OHH%j<2sLl^q3787M!88P9d0T&ww z&}rvvS(uqvJPh2J6d79N<`(WYJ$8QO|e8hPXIPVRapQ4 diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/getApplicationInfoJsunit.test.ets b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/getApplicationInfoJsunit.test.ets index a0bc663bf..8d84520da 100644 --- a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/getApplicationInfoJsunit.test.ets +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/getApplicationInfoJsunit.test.ets @@ -416,6 +416,7 @@ export default function applicationBundleJsunit() { expect(applicationInfo.descriptionResource.bundleName).assertEqual('com.open.harmony.packagemag') expect(applicationInfo.descriptionResource.moduleName).assertEqual('entry') expect(applicationInfo.descriptionResource.id).assertLarger(0) + expect(applicationInfo.appProvisionType).assertEqual('release') done(); }).catch((err) => { expect(err).assertFail(); diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/getWindowProperties.test.ets b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/getWindowProperties.test.ets index 22bb18334..94e3ea252 100644 --- a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/getWindowProperties.test.ets +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/getWindowProperties.test.ets @@ -32,18 +32,18 @@ const ABILITY_NAME_TEST_10 = "MainAbility10" const ABILITY_NAME_TEST_11 = "MainAbility11" const ABILITY_NAME_TEST_12 = "MainAbility12" const ORIENTATION = "orientation" -const UNSPECIFIED = 0 -const LANDSCAPE = 1 -const PORTRAIT = 2 -const LANDSCAPE_INVERTED = 4 -const PORTRAIT_INVERTED = 5 -const AUTO_ROTATION = 6 -const AUTO_ROTATION_LANDSCAPE = 7 -const AUTO_ROTATION_PORTRAIT = 8 -const AUTO_ROTATION_RESTRICTED = 9 -const AUTO_ROTATION_LANDSCAPE_RESTRICTED = 10 -const AUTO_ROTATION_PORTRAIT_RESTRICTED = 11 -const LOCKED = 12 +const UNSPECIFIED = bundle.DisplayOrientation.UNSPECIFIED +const LANDSCAPE = bundle.DisplayOrientation.LANDSCAPE +const PORTRAIT = bundle.DisplayOrientation.PORTRAIT +const LANDSCAPE_INVERTED = bundle.DisplayOrientation.LANDSCAPE_INVERTED +const PORTRAIT_INVERTED = bundle.DisplayOrientation.PORTRAIT_INVERTED +const AUTO_ROTATION = bundle.DisplayOrientation.AUTO_ROTATION +const AUTO_ROTATION_LANDSCAPE = bundle.DisplayOrientation.AUTO_ROTATION_LANDSCAPE +const AUTO_ROTATION_PORTRAIT = bundle.DisplayOrientation.AUTO_ROTATION_PORTRAIT +const AUTO_ROTATION_RESTRICTED = bundle.DisplayOrientation.AUTO_ROTATION_RESTRICTED +const AUTO_ROTATION_LANDSCAPE_RESTRICTED = bundle.DisplayOrientation.AUTO_ROTATION_LANDSCAPE_RESTRICTED +const AUTO_ROTATION_PORTRAIT_RESTRICTED = bundle.DisplayOrientation.AUTO_ROTATION_PORTRAIT_RESTRICTED +const LOCKED = bundle.DisplayOrientation.LOCKED const DEFAULT_VALUE = 0 const MAX_WINDOW_RATIO_VALUE = 3.5 const MIN_WINDOW_RATIO_VALUE = 0.5 -- GitLab