diff --git a/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/test/getParam.ets b/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/test/getParam.ets index 29c726720f932d52c1ccedb7d9c1bae3a394c412..819d27fcffc7d54f577114f1b7a01590708a7a13 100644 --- a/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/test/getParam.ets +++ b/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/test/getParam.ets @@ -148,7 +148,13 @@ const functionTest = function () { const getFuzzData = (datatype: string) => { switch (datatype) { case 'ARRAY': - return arrayTest(); + let array1 = arrayTest(); + let array2 = abc.join("") + if (isNaN(Number(array2))) { + return array1; + } else { + getFuzzData(DATA_TYPE_LIST[0]); + } case 'BOOLEAN': return booleanTest(); case 'FUNCTION': diff --git a/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstresstest/entry/src/main/ets/test/FmsStress.test.ets b/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstresstest/entry/src/main/ets/test/FmsStress.test.ets index e23601167a51d1998aa7155c8f3962308f502e07..4c1f78b33dd9874973265b89cfaece97c59fb8fd 100644 --- a/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstresstest/entry/src/main/ets/test/FmsStress.test.ets +++ b/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstresstest/entry/src/main/ets/test/FmsStress.test.ets @@ -69,6 +69,16 @@ export default function test() { commonEvent.unsubscribe(onAcquiredEventSubscriber, () => unsubscribeCallback("afterEach unsubscribe onAcquiredEventSubscriber")); commonEvent.unsubscribe(onSupplyEventSubscriber, () => unsubscribeCallback("afterEach unsubscribe onSupplyEventSubscriber")); await sleep(1000); + await featureAbility.startAbility({ + want: { + bundleName: "com.ohos.st.formstresstest", + abilityName: "com.ohos.st.formstresstest.MainAbility" + } + }).then((data) => { + console.log("FmsStressTest startAbility data: " + JSON.stringify(data)); + }).catch((err) => { + console.log("FmsStressTest startAbility err: " + JSON.stringify(err)); + }) }) const subscribeDeletedEvent = (tcNumber, expectedDeletedFormAmount, done) => { diff --git a/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formupdatefreshtest/entry/src/main/ets/test/FmsUpdateRefreshForm.test.ets b/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formupdatefreshtest/entry/src/main/ets/test/FmsUpdateRefreshForm.test.ets index 270b019595b664cd8d8b7abfced7f272a757bef1..2e1c9c888dcc66407e2fd6f7227052dd1cdb5f80 100644 --- a/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formupdatefreshtest/entry/src/main/ets/test/FmsUpdateRefreshForm.test.ets +++ b/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formupdatefreshtest/entry/src/main/ets/test/FmsUpdateRefreshForm.test.ets @@ -66,6 +66,16 @@ export default function test() { commonEvent.unsubscribe(subscriberOnRefresh, () => unsubscribeCallback("afterEach unsubscribe subscriberOnRefresh")); commonEvent.unsubscribe(subscriberOnRequest, () => unsubscribeCallback("afterEach unsubscribe subscriberOnRequest")); await sleep(1000); + await featureAbility.startAbility({ + want: { + bundleName: "com.ohos.st.formupdaterefreshtest", + abilityName: "com.ohos.st.formupdaterefreshtest.MainAbility" + } + }).then((data) => { + console.log("FmsUpdateRefreshFormTest startAbility data: " + JSON.stringify(data)); + }).catch((err) => { + console.log("FmsUpdateRefreshFormTest startAbility err: " + JSON.stringify(err)); + }) }) /** * @tc.number: FMS_updateForm_0100