From 1bce09afd14d05a47de06a6ed27fbca6593b0ce4 Mon Sep 17 00:00:00 2001 From: dy Date: Mon, 21 Mar 2022 14:52:29 +0800 Subject: [PATCH] =?UTF-8?q?IssueNo:=E6=8E=A5=E5=8F=A3=E8=83=BD=E5=8A=9B?= =?UTF-8?q?=E8=A1=A5=E9=BD=90=E4=B8=8E=E6=95=B4=E6=94=B9=E5=AF=B9=E5=BA=94?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=E8=A1=A5=E5=85=85=20Descri?= =?UTF-8?q?ption:=E6=8E=A5=E5=8F=A3=E8=83=BD=E5=8A=9B=E8=A1=A5=E9=BD=90?= =?UTF-8?q?=E4=B8=8E=E6=95=B4=E6=94=B9=E5=AF=B9=E5=BA=94=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E8=A1=A5=E5=85=85=E6=8C=91=E5=8D=95release?= =?UTF-8?q?=E5=88=86=E6=94=AF=20Sig:SIG=5FApplicationFramework=20Feature?= =?UTF-8?q?=20or=20Bugfix:=20Feature=20Binary=20Source:=20No?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dy --- .../signature/openharmony_sx.p7b | Bin 3437 -> 3443 bytes .../src/main/js/test/ContextJsunit.test.js | 153 ++++++++++++++++++ .../main/js/test/FeatureAbilityJsunit.test.js | 38 +++++ 3 files changed, 191 insertions(+) diff --git a/aafwk/aafwk_standard/actsabilitymanageretstest/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/actsabilitymanageretstest/signature/openharmony_sx.p7b index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..66b4457a8a81fb8d3356cf46d67226c850944858 100644 GIT binary patch delta 988 zcmZ9L&2QUu9LDQ3ZE4qTNQ_A#Ic>& zsohklC_)unCaN%LC)NW3X&N9v z{JMO9`2dWUoZ0#34%x%smyo&G@p$QSgz7N_L6^X(+4;+dETT`xV+a_}ocT{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=ItJ77MqzKSxn>|>QHCyS=XAAkGwz-Q3g=v=#nyBG7b(*VSYAGXjt?dnY!~&1P z@k6T0W(p9n1mpoBdcYF_y3maApPpA02-Y89(s0CCi@IjU{CB^q!U%jlzxs?<7!Wt#473tCqp@*8?Z zA$(3S_MB4Pw9~Y{A2jpDLMJ=6l|nGSI=>!Ey`)a1;mA;vLqEJ&qpwJ($9nfsOkBQ* zqqE4hupFp9mloCe&G_>3|1Zh>^LX+ILvvUbO{Mecyohd}cV;DqA+dGu;i~cpcCYm~ z`o-;ygDY#z8`p)OKYb|wb@I(;Kjhze7rnUjT-e9&uErLkF$yK4>voBFHNN)ew@!LE zdGn^t;gj#hzl$HrhsB>BzaM|?jp!>EzRW1zqXqWI8%W~P+KYFrUw`}P;NC&`_6K+F MkH7x?LGzb?0ItqZ1poj5 diff --git a/aafwk/aafwk_standard/context/actscontexttest/entry/src/main/js/test/ContextJsunit.test.js b/aafwk/aafwk_standard/context/actscontexttest/entry/src/main/js/test/ContextJsunit.test.js index 58f1cddd8..7e6e6bc41 100644 --- a/aafwk/aafwk_standard/context/actscontexttest/entry/src/main/js/test/ContextJsunit.test.js +++ b/aafwk/aafwk_standard/context/actscontexttest/entry/src/main/js/test/ContextJsunit.test.js @@ -258,4 +258,157 @@ describe('ActsContextTest', function () { expect("false").assertEqual(stageMode1.toString()); done(); }) + + /* + * @tc.number: ACTS_GetDisplayOrientation_0100 + * @tc.name: context.getDisplayOrientation : Get an ability display orientation. + * @tc.desc: Check the return display orientation of the interface (by AsyncCallback) + */ + it('ACTS_GetDisplayOrientation_0100', 0, async function (done) { + console.log('ACTS_GetDisplayOrientation_0100===={ + console.log('getDisplayOrientation call back'); + done(); + }); + done(); + } catch (err) { + console.log('ACTS_GetDisplayOrientation_0100===={ + console.log('SetDisplayOrientation call back'); + done(); + }); + done(); + } catch (err) { + console.log('ACTS_SetDisplayOrientation_0100===={ + console.log('SetShowOnLockScreen call back'); + done(); + }); + done(); + } catch (err) { + console.log('ACTS_SetShowOnLockScreen_0100===={ + console.log('setWakeUpScreen call back'); + done(); + }); + done(); + } catch (err) { + console.log('ACTS_SetWakeUpScreen_0100===={ + console.log('getWindow call back'); + done(); + }); + done(); + } catch (err) { + console.log('ACTS_StartAbility_0100====