From fe3c3ca499432bd9d1054ec72a8d50159273ae10 Mon Sep 17 00:00:00 2001 From: "zhaoyuan17@huawei.com" Date: Wed, 1 Dec 2021 19:19:07 +0800 Subject: [PATCH] xts Signed-off-by: zhaoyuan17@huawei.com --- aafwk/aafwk_standard/formmanager/BUILD.gn | 4 +- .../actsformfuzztest/BUILD.gn | 0 .../actsformfuzztest/Test.json | 0 .../entry/src/main/config.json | 0 .../entry/src/main/js/default/app.js | 0 .../js/default/common/images/Wallpaper.png | Bin .../main/js/default/common/images/bg-tv.jpg | Bin .../entry/src/main/js/default/i18n/en-US.json | 0 .../entry/src/main/js/default/i18n/zh-CN.json | 0 .../src/main/js/default/pages/index/index.css | 0 .../src/main/js/default/pages/index/index.hml | 0 .../src/main/js/default/pages/index/index.js | 0 .../src/main/js/test/FormFuzzArray.test.js | 120 ++++----- .../src/main/js/test/FormFuzzBool.test.js | 120 ++++----- .../src/main/js/test/FormFuzzFunction.test.js | 120 ++++----- .../src/main/js/test/FormFuzzNull.test.js | 120 ++++----- .../src/main/js/test/FormFuzzNum.test.js | 120 ++++----- .../src/main/js/test/FormFuzzObject.test.js | 120 ++++----- .../src/main/js/test/FormFuzzString.test.js | 246 ++++++++++++------ .../main/js/test/FormFuzzUndefined.test.js | 124 ++++----- .../entry/src/main/js/test/List.test.js | 0 .../entry/src/main/js/test/getParam.js | 0 .../main/resources/base/element/string.json | 0 .../src/main/resources/base/media/icon.png | Bin .../signature/openharmony_sx.p7b | Bin .../actsformsoneandonetest/BUILD.gn | 0 .../actsformsoneandonetest/Test.json | 0 .../entry/src/main/config.json | 0 .../entry/src/main/js/default/app.js | 0 .../entry/src/main/js/default/i18n/en-US.json | 0 .../entry/src/main/js/default/i18n/zh-CN.json | 0 .../src/main/js/default/pages/index/index.css | 0 .../src/main/js/default/pages/index/index.hml | 0 .../src/main/js/default/pages/index/index.js | 0 .../main/js/test/FormsOneAndOneJsunit.test.js | 0 .../entry/src/main/js/test/List.test.js | 0 .../main/resources/base/element/string.json | 0 .../src/main/resources/base/media/icon.png | Bin .../signature/openharmony_sx.p7b | Bin .../actsformsoneandtwotest/BUILD.gn | 0 .../actsformsoneandtwotest/Test.json | 0 .../entry/src/main/config.json | 0 .../entry/src/main/js/default/app.js | 0 .../entry/src/main/js/default/i18n/en-US.json | 0 .../entry/src/main/js/default/i18n/zh-CN.json | 0 .../src/main/js/default/pages/index/index.css | 0 .../src/main/js/default/pages/index/index.hml | 0 .../src/main/js/default/pages/index/index.js | 0 .../main/js/test/FormsOneAndTwoJsunit.test.js | 0 .../entry/src/main/js/test/List.test.js | 0 .../main/resources/base/element/string.json | 0 .../src/main/resources/base/media/icon.png | Bin .../signature/openharmony_sx.p7b | Bin .../actsformszeroandonetest/BUILD.gn | 0 .../actsformszeroandonetest/Test.json | 0 .../entry/src/main/config.json | 0 .../entry/src/main/js/default/app.js | 0 .../entry/src/main/js/default/i18n/en-US.json | 0 .../entry/src/main/js/default/i18n/zh-CN.json | 0 .../src/main/js/default/pages/index/index.css | 0 .../src/main/js/default/pages/index/index.hml | 0 .../src/main/js/default/pages/index/index.js | 0 .../js/test/FormsZeroAndOneJsunit.test.js | 0 .../entry/src/main/js/test/List.test.js | 0 .../main/resources/base/element/string.json | 0 .../src/main/resources/base/media/icon.png | Bin .../signature/openharmony_sx.p7b | Bin .../actsformszerotest/BUILD.gn | 0 .../actsformszerotest/Test.json | 0 .../entry/src/main/config.json | 0 .../entry/src/main/js/default/app.js | 0 .../entry/src/main/js/default/i18n/en-US.json | 0 .../entry/src/main/js/default/i18n/zh-CN.json | 0 .../src/main/js/default/pages/index/index.css | 0 .../src/main/js/default/pages/index/index.hml | 0 .../src/main/js/default/pages/index/index.js | 0 .../src/main/js/test/FormsZeroJsunit.test.js | 0 .../entry/src/main/js/test/List.test.js | 0 .../main/resources/base/element/string.json | 0 .../src/main/resources/base/media/icon.png | Bin .../signature/openharmony_sx.p7b | Bin .../src/main/config.json | 0 82 files changed, 593 insertions(+), 501 deletions(-) mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/BUILD.gn mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/BUILD.gn mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/Test.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/config.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/app.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/common/images/Wallpaper.png mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/common/images/bg-tv.jpg mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/i18n/en-US.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/i18n/zh-CN.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/pages/index/index.css mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/pages/index/index.hml mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/pages/index/index.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzArray.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzBool.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzFunction.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzNull.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzNum.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzObject.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzString.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzUndefined.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/List.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/getParam.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/resources/base/element/string.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/resources/base/media/icon.png mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/signature/openharmony_sx.p7b mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/BUILD.gn mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/Test.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/config.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/app.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/i18n/en-US.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/i18n/zh-CN.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/pages/index/index.css mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/pages/index/index.hml mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/pages/index/index.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/test/FormsOneAndOneJsunit.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/test/List.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/resources/base/element/string.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/resources/base/media/icon.png mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/signature/openharmony_sx.p7b mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/BUILD.gn mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/Test.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/config.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/app.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/i18n/en-US.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/i18n/zh-CN.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/pages/index/index.css mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/pages/index/index.hml mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/pages/index/index.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/test/FormsOneAndTwoJsunit.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/test/List.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/resources/base/element/string.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/resources/base/media/icon.png mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/signature/openharmony_sx.p7b mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/BUILD.gn mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/Test.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/config.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/app.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/i18n/en-US.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/i18n/zh-CN.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/pages/index/index.css mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/pages/index/index.hml mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/pages/index/index.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/test/FormsZeroAndOneJsunit.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/test/List.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/resources/base/element/string.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/resources/base/media/icon.png mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/signature/openharmony_sx.p7b mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/BUILD.gn mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/Test.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/config.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/app.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/i18n/en-US.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/i18n/zh-CN.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/pages/index/index.css mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/pages/index/index.hml mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/pages/index/index.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/test/FormsZeroJsunit.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/test/List.test.js mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/resources/base/element/string.json mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/resources/base/media/icon.png mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/signature/openharmony_sx.p7b mode change 100755 => 100644 aafwk/aafwk_standard/formmanager/formsystemtestservice/formsystemtestservicec/src/main/config.json diff --git a/aafwk/aafwk_standard/formmanager/BUILD.gn b/aafwk/aafwk_standard/formmanager/BUILD.gn old mode 100755 new mode 100644 index 1d612045b..a3b290adf --- a/aafwk/aafwk_standard/formmanager/BUILD.gn +++ b/aafwk/aafwk_standard/formmanager/BUILD.gn @@ -18,10 +18,10 @@ group("formmanager") { if (is_standard_system) { deps = [ "formsystemtesthost/actsformfuzztest:ActsFormFuzzTest", + "formsystemtesthost/actsformszerotest:ActsFormsZeroTest", + "formsystemtesthost/actsformszeroandonetest:ActsFormsZeroAndOneTest", "formsystemtesthost/actsformsoneandonetest:ActsFormsOneAndOneTest", "formsystemtesthost/actsformsoneandtwotest:ActsFormsOneAndTwoTest", - "formsystemtesthost/actsformszeroandonetest:ActsFormsZeroAndOneTest", - "formsystemtesthost/actsformszerotest:ActsFormsZeroTest", "formsystemtestservice/formsystemtestservicea:ActsFormSystemTestServiceA", "formsystemtestservice/formsystemtestserviceb:ActsFormSystemTestServiceB", "formsystemtestservice/formsystemtestservicec:ActsFormSystemTestServiceC", diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/BUILD.gn b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/BUILD.gn old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/Test.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/Test.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/config.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/config.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/app.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/common/images/Wallpaper.png b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/common/images/Wallpaper.png old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/common/images/bg-tv.jpg b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/common/images/bg-tv.jpg old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/i18n/en-US.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/i18n/zh-CN.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/pages/index/index.css old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/pages/index/index.hml old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/default/pages/index/index.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzArray.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzArray.test.js old mode 100755 new mode 100644 index 1f03a9907..05193a77c --- a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzArray.test.js +++ b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzArray.test.js @@ -39,8 +39,8 @@ describe('ActsFormFuzzArrayTest', function () { formManager.deleteForm( formId, (err,data) => { - console.log("FMS_fuzzTestArray_0200_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_0200_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_0200_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_0200_callback async::success data:" + data); console.log("FMS_fuzzTestArray_0200_callback async::error err:" + err); fail("should not reach here"); done(); @@ -72,7 +72,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.deleteForm(formId)); - console.log("FMS_fuzzTestArray_0200_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_0200_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -108,8 +108,8 @@ describe('ActsFormFuzzArrayTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestArray_0300_param_01_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_0300_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_0300_param_01_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_0300_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestArray_0300_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -145,7 +145,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestArray_0300_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_0300_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -180,8 +180,8 @@ describe('ActsFormFuzzArrayTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestArray_0300_param_02_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_0300_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_0300_param_02_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_0300_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestArray_0300_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -217,7 +217,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestArray_0300_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_0300_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -252,8 +252,8 @@ describe('ActsFormFuzzArrayTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestArray_0300_param_03_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_0300_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_0300_param_03_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_0300_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestArray_0300_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -289,7 +289,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestArray_0300_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_0300_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -324,8 +324,8 @@ describe('ActsFormFuzzArrayTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestArray_0300_param_04_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_0300_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_0300_param_04_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_0300_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestArray_0300_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -361,7 +361,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestArray_0300_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_0300_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -396,8 +396,8 @@ describe('ActsFormFuzzArrayTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestArray_0300_param_05_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_0300_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_0300_param_05_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_0300_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestArray_0300_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -433,7 +433,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestArray_0300_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_0300_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -468,8 +468,8 @@ describe('ActsFormFuzzArrayTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestArray_0300_param_06_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_0300_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_0300_param_06_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_0300_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestArray_0300_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -505,7 +505,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestArray_0300_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_0300_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -540,8 +540,8 @@ describe('ActsFormFuzzArrayTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestArray_0300_param_07_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_0300_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_0300_param_07_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_0300_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestArray_0300_param_07_callback async::error err:" + err); fail("should not reach here"); done(); @@ -577,7 +577,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestArray_0300_param_07_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_0300_param_07_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -612,8 +612,8 @@ describe('ActsFormFuzzArrayTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestArray_0300_param_08_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_0300_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_0300_param_08_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_0300_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestArray_0300_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -649,7 +649,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestArray_0300_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_0300_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -680,8 +680,8 @@ describe('ActsFormFuzzArrayTest', function () { formManager.releaseForm( formId, (err,data) => { - console.log("FMS_fuzzTestArray_0300_param_09_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_0300_param_09_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_0300_param_09_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_0300_param_09_callback async::success data:" + data); console.log("FMS_fuzzTestArray_0300_param_09_callback async::error err:" + err); fail("should not reach here"); done(); @@ -715,7 +715,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId)); - console.log("FMS_fuzzTestArray_0300_param_09_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_0300_param_09_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -745,8 +745,8 @@ describe('ActsFormFuzzArrayTest', function () { formManager.getAllFormsInfo( testParam, (err,data) => { - console.log("FMS_fuzzTestArray_1200_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_1200_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_1200_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_1200_callback async::success data:" + data); console.log("FMS_fuzzTestArray_1200_callback async::error err:" + err); fail("should not reach here"); done(); @@ -778,7 +778,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getAllFormsInfo(testParam)); - console.log("FMS_fuzzTestArray_1200_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_1200_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -809,8 +809,8 @@ describe('ActsFormFuzzArrayTest', function () { formManager.getFormsInfo( bundleName, (err,data) => { - console.log("FMS_fuzzTestArray_1300_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_1300_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_1300_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_1300_callback async::success data:" + data); console.log("FMS_fuzzTestArray_1300_callback async::error err:" + err); fail("should not reach here"); done(); @@ -843,7 +843,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName)); - console.log("FMS_fuzzTestArray_1300_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_1300_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -880,8 +880,8 @@ describe('ActsFormFuzzArrayTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestArray_1400_param_01_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_1400_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_1400_param_01_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_1400_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestArray_1400_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -919,7 +919,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestArray_1400_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_1400_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -956,8 +956,8 @@ describe('ActsFormFuzzArrayTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestArray_1400_param_02_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_1400_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_1400_param_02_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_1400_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestArray_1400_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -995,7 +995,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestArray_1400_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_1400_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1032,8 +1032,8 @@ describe('ActsFormFuzzArrayTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestArray_1400_param_03_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_1400_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_1400_param_03_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_1400_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestArray_1400_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1071,7 +1071,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestArray_1400_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_1400_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1108,8 +1108,8 @@ describe('ActsFormFuzzArrayTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestArray_1400_param_04_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_1400_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_1400_param_04_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_1400_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestArray_1400_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1147,7 +1147,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestArray_1400_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_1400_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1184,8 +1184,8 @@ describe('ActsFormFuzzArrayTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestArray_1400_param_05_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_1400_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_1400_param_05_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_1400_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestArray_1400_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1223,7 +1223,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestArray_1400_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_1400_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1260,8 +1260,8 @@ describe('ActsFormFuzzArrayTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestArray_1400_param_06_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_1400_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_1400_param_06_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_1400_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestArray_1400_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1299,7 +1299,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestArray_1400_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_1400_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1336,8 +1336,8 @@ describe('ActsFormFuzzArrayTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestArray_1400_param_07_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_1400_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_1400_param_07_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_1400_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestArray_1400_param_07_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1375,7 +1375,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestArray_1400_param_07_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_1400_param_07_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1412,8 +1412,8 @@ describe('ActsFormFuzzArrayTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestArray_1400_param_08_callback async::callbak return!!!") - console.log("FMS_fuzzTestArray_1400_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestArray_1400_param_08_callback async::callback return!!!") + console.log("FMS_fuzzTestArray_1400_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestArray_1400_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1451,7 +1451,7 @@ describe('ActsFormFuzzArrayTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestArray_1400_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestArray_1400_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzBool.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzBool.test.js old mode 100755 new mode 100644 index cda0d642a..d8f9a562b --- a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzBool.test.js +++ b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzBool.test.js @@ -38,8 +38,8 @@ describe('ActsFormFuzzBoolTest', function () { formManager.deleteForm( formId, (err,data) => { - console.log("FMS_fuzzTestBool_0200_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_0200_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_0200_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_0200_callback async::success data:" + data); console.log("FMS_fuzzTestBool_0200_callback async::error err:" + err); fail("should not reach here"); done(); @@ -71,7 +71,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.deleteForm(formId)); - console.log("FMS_fuzzTestBool_0200_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_0200_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -106,8 +106,8 @@ describe('ActsFormFuzzBoolTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestBool_0300_param_01_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_0300_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_0300_param_01_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_0300_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestBool_0300_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -143,7 +143,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestBool_0300_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_0300_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -178,8 +178,8 @@ describe('ActsFormFuzzBoolTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestBool_0300_param_02_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_0300_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_0300_param_02_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_0300_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestBool_0300_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -215,7 +215,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestBool_0300_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_0300_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -250,8 +250,8 @@ describe('ActsFormFuzzBoolTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestBool_0300_param_03_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_0300_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_0300_param_03_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_0300_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestBool_0300_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -287,7 +287,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestBool_0300_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_0300_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -322,8 +322,8 @@ describe('ActsFormFuzzBoolTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestBool_0300_param_04_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_0300_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_0300_param_04_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_0300_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestBool_0300_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -359,7 +359,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestBool_0300_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_0300_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -394,8 +394,8 @@ describe('ActsFormFuzzBoolTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestBool_0300_param_05_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_0300_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_0300_param_05_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_0300_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestBool_0300_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -431,7 +431,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestBool_0300_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_0300_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -466,8 +466,8 @@ describe('ActsFormFuzzBoolTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestBool_0300_param_06_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_0300_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_0300_param_06_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_0300_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestBool_0300_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -503,7 +503,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestBool_0300_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_0300_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -538,8 +538,8 @@ describe('ActsFormFuzzBoolTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestBool_0300_param_07_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_0300_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_0300_param_07_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_0300_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestBool_0300_param_07_callback async::error err:" + err); fail("should not reach here"); done(); @@ -575,7 +575,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestBool_0300_param_07_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_0300_param_07_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -610,8 +610,8 @@ describe('ActsFormFuzzBoolTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestBool_0300_param_08_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_0300_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_0300_param_08_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_0300_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestBool_0300_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -647,7 +647,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestBool_0300_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_0300_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -678,8 +678,8 @@ describe('ActsFormFuzzBoolTest', function () { formManager.releaseForm( formId, (err,data) => { - console.log("FMS_fuzzTestBool_0300_param_09_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_0300_param_09_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_0300_param_09_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_0300_param_09_callback async::success data:" + data); console.log("FMS_fuzzTestBool_0300_param_09_callback async::error err:" + err); fail("should not reach here"); done(); @@ -713,7 +713,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId)); - console.log("FMS_fuzzTestBool_0300_param_09_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_0300_param_09_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -743,8 +743,8 @@ describe('ActsFormFuzzBoolTest', function () { formManager.getAllFormsInfo( testParam, (err,data) => { - console.log("FMS_fuzzTestBool_1200_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_1200_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_1200_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_1200_callback async::success data:" + data); console.log("FMS_fuzzTestBool_1200_callback async::error err:" + err); fail("should not reach here"); done(); @@ -776,7 +776,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getAllFormsInfo(testParam)); - console.log("FMS_fuzzTestBool_1200_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_1200_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -807,8 +807,8 @@ describe('ActsFormFuzzBoolTest', function () { formManager.getFormsInfo( bundleName, (err,data) => { - console.log("FMS_fuzzTestBool_1300_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_1300_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_1300_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_1300_callback async::success data:" + data); console.log("FMS_fuzzTestBool_1300_callback async::error err:" + err); fail("should not reach here"); done(); @@ -841,7 +841,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName)); - console.log("FMS_fuzzTestBool_1300_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_1300_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -878,8 +878,8 @@ describe('ActsFormFuzzBoolTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestBool_1400_param_01_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_1400_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_1400_param_01_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_1400_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestBool_1400_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -917,7 +917,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestBool_1400_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_1400_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -954,8 +954,8 @@ describe('ActsFormFuzzBoolTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestBool_1400_param_02_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_1400_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_1400_param_02_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_1400_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestBool_1400_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -993,7 +993,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestBool_1400_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_1400_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1030,8 +1030,8 @@ describe('ActsFormFuzzBoolTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestBool_1400_param_03_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_1400_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_1400_param_03_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_1400_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestBool_1400_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1069,7 +1069,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestBool_1400_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_1400_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1106,8 +1106,8 @@ describe('ActsFormFuzzBoolTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestBool_1400_param_04_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_1400_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_1400_param_04_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_1400_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestBool_1400_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1145,7 +1145,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestBool_1400_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_1400_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1182,8 +1182,8 @@ describe('ActsFormFuzzBoolTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestBool_1400_param_05_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_1400_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_1400_param_05_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_1400_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestBool_1400_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1221,7 +1221,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestBool_1400_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_1400_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1258,8 +1258,8 @@ describe('ActsFormFuzzBoolTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestBool_1400_param_06_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_1400_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_1400_param_06_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_1400_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestBool_1400_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1297,7 +1297,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestBool_1400_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_1400_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1334,8 +1334,8 @@ describe('ActsFormFuzzBoolTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestBool_1400_param_07_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_1400_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_1400_param_07_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_1400_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestBool_1400_param_07_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1373,7 +1373,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestBool_1400_param_07_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_1400_param_07_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1410,8 +1410,8 @@ describe('ActsFormFuzzBoolTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestBool_1400_param_08_callback async::callbak return!!!") - console.log("FMS_fuzzTestBool_1400_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestBool_1400_param_08_callback async::callback return!!!") + console.log("FMS_fuzzTestBool_1400_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestBool_1400_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1449,7 +1449,7 @@ describe('ActsFormFuzzBoolTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestBool_1400_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestBool_1400_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzFunction.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzFunction.test.js old mode 100755 new mode 100644 index e17902883..f37bc1cdb --- a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzFunction.test.js +++ b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzFunction.test.js @@ -38,8 +38,8 @@ describe('ActsFormFuzzFunctionTest', function () { formManager.deleteForm( formId, (err,data) => { - console.log("FMS_fuzzTestFunction_0200_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_0200_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_0200_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_0200_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_0200_callback async::error err:" + err); fail("should not reach here"); done(); @@ -71,7 +71,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.deleteForm(formId)); - console.log("FMS_fuzzTestFunction_0200_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_0200_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -106,8 +106,8 @@ describe('ActsFormFuzzFunctionTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestFunction_0300_param_01_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_0300_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_0300_param_01_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_0300_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_0300_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -143,7 +143,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestFunction_0300_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_0300_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -178,8 +178,8 @@ describe('ActsFormFuzzFunctionTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestFunction_0300_param_02_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_0300_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_0300_param_02_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_0300_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_0300_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -215,7 +215,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestFunction_0300_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_0300_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -250,8 +250,8 @@ describe('ActsFormFuzzFunctionTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestFunction_0300_param_03_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_0300_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_0300_param_03_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_0300_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_0300_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -287,7 +287,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestFunction_0300_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_0300_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -322,8 +322,8 @@ describe('ActsFormFuzzFunctionTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestFunction_0300_param_04_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_0300_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_0300_param_04_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_0300_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_0300_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -359,7 +359,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestFunction_0300_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_0300_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -394,8 +394,8 @@ describe('ActsFormFuzzFunctionTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestFunction_0300_param_05_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_0300_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_0300_param_05_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_0300_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_0300_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -431,7 +431,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestFunction_0300_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_0300_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -466,8 +466,8 @@ describe('ActsFormFuzzFunctionTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestFunction_0300_param_06_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_0300_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_0300_param_06_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_0300_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_0300_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -503,7 +503,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestFunction_0300_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_0300_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -538,8 +538,8 @@ describe('ActsFormFuzzFunctionTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestFunction_0300_param_07_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_0300_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_0300_param_07_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_0300_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_0300_param_07_callback async::error err:" + err); fail("should not reach here"); done(); @@ -575,7 +575,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestFunction_0300_param_07_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_0300_param_07_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -610,8 +610,8 @@ describe('ActsFormFuzzFunctionTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestFunction_0300_param_08_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_0300_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_0300_param_08_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_0300_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_0300_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -647,7 +647,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestFunction_0300_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_0300_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -678,8 +678,8 @@ describe('ActsFormFuzzFunctionTest', function () { formManager.releaseForm( formId, (err,data) => { - console.log("FMS_fuzzTestFunction_0300_param_09_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_0300_param_09_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_0300_param_09_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_0300_param_09_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_0300_param_09_callback async::error err:" + err); fail("should not reach here"); done(); @@ -713,7 +713,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId)); - console.log("FMS_fuzzTestFunction_0300_param_09_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_0300_param_09_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -743,8 +743,8 @@ describe('ActsFormFuzzFunctionTest', function () { formManager.getAllFormsInfo( testParam, (err,data) => { - console.log("FMS_fuzzTestFunction_1200_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_1200_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_1200_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_1200_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_1200_callback async::error err:" + err); fail("should not reach here"); done(); @@ -776,7 +776,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getAllFormsInfo(testParam)); - console.log("FMS_fuzzTestFunction_1200_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_1200_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -807,8 +807,8 @@ describe('ActsFormFuzzFunctionTest', function () { formManager.getFormsInfo( bundleName, (err,data) => { - console.log("FMS_fuzzTestFunction_1300_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_1300_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_1300_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_1300_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_1300_callback async::error err:" + err); fail("should not reach here"); done(); @@ -841,7 +841,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName)); - console.log("FMS_fuzzTestFunction_1300_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_1300_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -878,8 +878,8 @@ describe('ActsFormFuzzFunctionTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestFunction_1400_param_01_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_1400_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_1400_param_01_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_1400_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_1400_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -917,7 +917,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestFunction_1400_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_1400_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -954,8 +954,8 @@ describe('ActsFormFuzzFunctionTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestFunction_1400_param_02_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_1400_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_1400_param_02_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_1400_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_1400_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -993,7 +993,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestFunction_1400_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_1400_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1030,8 +1030,8 @@ describe('ActsFormFuzzFunctionTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestFunction_1400_param_03_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_1400_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_1400_param_03_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_1400_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_1400_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1069,7 +1069,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestFunction_1400_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_1400_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1106,8 +1106,8 @@ describe('ActsFormFuzzFunctionTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestFunction_1400_param_04_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_1400_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_1400_param_04_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_1400_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_1400_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1145,7 +1145,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestFunction_1400_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_1400_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1182,8 +1182,8 @@ describe('ActsFormFuzzFunctionTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestFunction_1400_param_05_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_1400_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_1400_param_05_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_1400_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_1400_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1221,7 +1221,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestFunction_1400_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_1400_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1258,8 +1258,8 @@ describe('ActsFormFuzzFunctionTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestFunction_1400_param_06_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_1400_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_1400_param_06_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_1400_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_1400_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1297,7 +1297,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestFunction_1400_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_1400_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1334,8 +1334,8 @@ describe('ActsFormFuzzFunctionTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestFunction_1400_param_07_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_1400_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_1400_param_07_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_1400_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_1400_param_07_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1373,7 +1373,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestFunction_1400_param_07_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_1400_param_07_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1410,8 +1410,8 @@ describe('ActsFormFuzzFunctionTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestFunction_1400_param_08_callback async::callbak return!!!") - console.log("FMS_fuzzTestFunction_1400_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestFunction_1400_param_08_callback async::callback return!!!") + console.log("FMS_fuzzTestFunction_1400_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestFunction_1400_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1449,7 +1449,7 @@ describe('ActsFormFuzzFunctionTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestFunction_1400_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestFunction_1400_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzNull.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzNull.test.js old mode 100755 new mode 100644 index 11f7c3cb1..5e110cdea --- a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzNull.test.js +++ b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzNull.test.js @@ -38,8 +38,8 @@ describe('ActsFormFuzzNullTest', function () { formManager.deleteForm( formId, (err,data) => { - console.log("FMS_fuzzTestNull_0200_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_0200_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_0200_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_0200_callback async::success data:" + data); console.log("FMS_fuzzTestNull_0200_callback async::error err:" + err); fail("should not reach here"); done(); @@ -71,7 +71,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.deleteForm(formId)); - console.log("FMS_fuzzTestNull_0200_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_0200_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -106,8 +106,8 @@ describe('ActsFormFuzzNullTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNull_0300_param_01_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_0300_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_0300_param_01_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_0300_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestNull_0300_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -143,7 +143,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNull_0300_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_0300_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -178,8 +178,8 @@ describe('ActsFormFuzzNullTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNull_0300_param_02_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_0300_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_0300_param_02_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_0300_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestNull_0300_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -215,7 +215,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNull_0300_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_0300_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -250,8 +250,8 @@ describe('ActsFormFuzzNullTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNull_0300_param_03_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_0300_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_0300_param_03_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_0300_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestNull_0300_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -287,7 +287,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNull_0300_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_0300_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -322,8 +322,8 @@ describe('ActsFormFuzzNullTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNull_0300_param_04_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_0300_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_0300_param_04_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_0300_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestNull_0300_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -359,7 +359,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNull_0300_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_0300_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -394,8 +394,8 @@ describe('ActsFormFuzzNullTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNull_0300_param_05_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_0300_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_0300_param_05_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_0300_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestNull_0300_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -431,7 +431,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNull_0300_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_0300_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -466,8 +466,8 @@ describe('ActsFormFuzzNullTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNull_0300_param_06_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_0300_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_0300_param_06_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_0300_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestNull_0300_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -503,7 +503,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNull_0300_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_0300_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -538,8 +538,8 @@ describe('ActsFormFuzzNullTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNull_0300_param_07_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_0300_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_0300_param_07_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_0300_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestNull_0300_param_07_callback async::error err:" + err); fail("should not reach here"); done(); @@ -575,7 +575,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNull_0300_param_07_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_0300_param_07_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -610,8 +610,8 @@ describe('ActsFormFuzzNullTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNull_0300_param_08_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_0300_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_0300_param_08_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_0300_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestNull_0300_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -647,7 +647,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNull_0300_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_0300_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -678,8 +678,8 @@ describe('ActsFormFuzzNullTest', function () { formManager.releaseForm( formId, (err,data) => { - console.log("FMS_fuzzTestNull_0300_param_09_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_0300_param_09_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_0300_param_09_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_0300_param_09_callback async::success data:" + data); console.log("FMS_fuzzTestNull_0300_param_09_callback async::error err:" + err); fail("should not reach here"); done(); @@ -713,7 +713,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId)); - console.log("FMS_fuzzTestNull_0300_param_09_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_0300_param_09_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -743,8 +743,8 @@ describe('ActsFormFuzzNullTest', function () { formManager.getAllFormsInfo( testParam, (err,data) => { - console.log("FMS_fuzzTestNull_1200_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_1200_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_1200_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_1200_callback async::success data:" + data); console.log("FMS_fuzzTestNull_1200_callback async::error err:" + err); fail("should not reach here"); done(); @@ -776,7 +776,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getAllFormsInfo(testParam)); - console.log("FMS_fuzzTestNull_1200_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_1200_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -807,8 +807,8 @@ describe('ActsFormFuzzNullTest', function () { formManager.getFormsInfo( bundleName, (err,data) => { - console.log("FMS_fuzzTestNull_1300_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_1300_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_1300_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_1300_callback async::success data:" + data); console.log("FMS_fuzzTestNull_1300_callback async::error err:" + err); fail("should not reach here"); done(); @@ -841,7 +841,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName)); - console.log("FMS_fuzzTestNull_1300_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_1300_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -878,8 +878,8 @@ describe('ActsFormFuzzNullTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNull_1400_param_01_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_1400_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_1400_param_01_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_1400_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestNull_1400_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -917,7 +917,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNull_1400_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_1400_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -954,8 +954,8 @@ describe('ActsFormFuzzNullTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNull_1400_param_02_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_1400_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_1400_param_02_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_1400_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestNull_1400_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -993,7 +993,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNull_1400_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_1400_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1030,8 +1030,8 @@ describe('ActsFormFuzzNullTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNull_1400_param_03_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_1400_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_1400_param_03_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_1400_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestNull_1400_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1069,7 +1069,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNull_1400_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_1400_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1106,8 +1106,8 @@ describe('ActsFormFuzzNullTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNull_1400_param_04_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_1400_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_1400_param_04_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_1400_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestNull_1400_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1145,7 +1145,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNull_1400_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_1400_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1182,8 +1182,8 @@ describe('ActsFormFuzzNullTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNull_1400_param_05_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_1400_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_1400_param_05_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_1400_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestNull_1400_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1221,7 +1221,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNull_1400_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_1400_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1258,8 +1258,8 @@ describe('ActsFormFuzzNullTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNull_1400_param_06_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_1400_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_1400_param_06_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_1400_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestNull_1400_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1297,7 +1297,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNull_1400_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_1400_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1334,8 +1334,8 @@ describe('ActsFormFuzzNullTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNull_1400_param_07_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_1400_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_1400_param_07_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_1400_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestNull_1400_param_07_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1373,7 +1373,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNull_1400_param_07_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_1400_param_07_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1410,8 +1410,8 @@ describe('ActsFormFuzzNullTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNull_1400_param_08_callback async::callbak return!!!") - console.log("FMS_fuzzTestNull_1400_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNull_1400_param_08_callback async::callback return!!!") + console.log("FMS_fuzzTestNull_1400_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestNull_1400_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1449,7 +1449,7 @@ describe('ActsFormFuzzNullTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNull_1400_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNull_1400_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzNum.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzNum.test.js old mode 100755 new mode 100644 index 7a30945aa..0eb9e47d6 --- a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzNum.test.js +++ b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzNum.test.js @@ -38,8 +38,8 @@ describe('ActsFormFuzzNumTest', function () { formManager.deleteForm( formId, (err,data) => { - console.log("FMS_fuzzTestNum_0200_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_0200_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_0200_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_0200_callback async::success data:" + data); console.log("FMS_fuzzTestNum_0200_callback async::error err:" + err); fail("should not reach here"); done(); @@ -71,7 +71,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.deleteForm(formId)); - console.log("FMS_fuzzTestNum_0200_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_0200_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -106,8 +106,8 @@ describe('ActsFormFuzzNumTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNum_0300_param_01_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_0300_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_0300_param_01_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_0300_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestNum_0300_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -143,7 +143,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNum_0300_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_0300_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -178,8 +178,8 @@ describe('ActsFormFuzzNumTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNum_0300_param_02_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_0300_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_0300_param_02_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_0300_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestNum_0300_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -215,7 +215,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNum_0300_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_0300_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -250,8 +250,8 @@ describe('ActsFormFuzzNumTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNum_0300_param_03_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_0300_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_0300_param_03_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_0300_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestNum_0300_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -287,7 +287,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNum_0300_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_0300_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -322,8 +322,8 @@ describe('ActsFormFuzzNumTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNum_0300_param_04_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_0300_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_0300_param_04_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_0300_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestNum_0300_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -359,7 +359,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNum_0300_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_0300_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -394,8 +394,8 @@ describe('ActsFormFuzzNumTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNum_0300_param_05_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_0300_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_0300_param_05_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_0300_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestNum_0300_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -431,7 +431,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNum_0300_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_0300_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -466,8 +466,8 @@ describe('ActsFormFuzzNumTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNum_0300_param_06_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_0300_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_0300_param_06_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_0300_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestNum_0300_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -503,7 +503,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNum_0300_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_0300_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -538,8 +538,8 @@ describe('ActsFormFuzzNumTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNum_0300_param_07_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_0300_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_0300_param_07_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_0300_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestNum_0300_param_07_callback async::error err:" + err); fail("should not reach here"); done(); @@ -575,7 +575,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNum_0300_param_07_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_0300_param_07_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -610,8 +610,8 @@ describe('ActsFormFuzzNumTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestNum_0300_param_08_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_0300_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_0300_param_08_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_0300_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestNum_0300_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -647,7 +647,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestNum_0300_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_0300_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -678,8 +678,8 @@ describe('ActsFormFuzzNumTest', function () { formManager.releaseForm( formId, (err,data) => { - console.log("FMS_fuzzTestNum_0300_param_09_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_0300_param_09_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_0300_param_09_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_0300_param_09_callback async::success data:" + data); console.log("FMS_fuzzTestNum_0300_param_09_callback async::error err:" + err); fail("should not reach here"); done(); @@ -713,7 +713,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId)); - console.log("FMS_fuzzTestNum_0300_param_09_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_0300_param_09_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -743,8 +743,8 @@ describe('ActsFormFuzzNumTest', function () { formManager.getAllFormsInfo( testParam, (err,data) => { - console.log("FMS_fuzzTestNum_1200_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_1200_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_1200_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_1200_callback async::success data:" + data); console.log("FMS_fuzzTestNum_1200_callback async::error err:" + err); fail("should not reach here"); done(); @@ -776,7 +776,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getAllFormsInfo(testParam)); - console.log("FMS_fuzzTestNum_1200_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_1200_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -807,8 +807,8 @@ describe('ActsFormFuzzNumTest', function () { formManager.getFormsInfo( bundleName, (err,data) => { - console.log("FMS_fuzzTestNum_1300_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_1300_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_1300_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_1300_callback async::success data:" + data); console.log("FMS_fuzzTestNum_1300_callback async::error err:" + err); fail("should not reach here"); done(); @@ -841,7 +841,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName)); - console.log("FMS_fuzzTestNum_1300_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_1300_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -878,8 +878,8 @@ describe('ActsFormFuzzNumTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNum_1400_param_01_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_1400_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_1400_param_01_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_1400_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestNum_1400_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -917,7 +917,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNum_1400_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_1400_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -954,8 +954,8 @@ describe('ActsFormFuzzNumTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNum_1400_param_02_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_1400_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_1400_param_02_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_1400_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestNum_1400_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -993,7 +993,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNum_1400_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_1400_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1030,8 +1030,8 @@ describe('ActsFormFuzzNumTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNum_1400_param_03_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_1400_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_1400_param_03_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_1400_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestNum_1400_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1069,7 +1069,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNum_1400_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_1400_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1106,8 +1106,8 @@ describe('ActsFormFuzzNumTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNum_1400_param_04_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_1400_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_1400_param_04_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_1400_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestNum_1400_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1145,7 +1145,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNum_1400_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_1400_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1182,8 +1182,8 @@ describe('ActsFormFuzzNumTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNum_1400_param_05_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_1400_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_1400_param_05_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_1400_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestNum_1400_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1221,7 +1221,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNum_1400_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_1400_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1258,8 +1258,8 @@ describe('ActsFormFuzzNumTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNum_1400_param_06_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_1400_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_1400_param_06_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_1400_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestNum_1400_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1297,7 +1297,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNum_1400_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_1400_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1334,8 +1334,8 @@ describe('ActsFormFuzzNumTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNum_1400_param_07_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_1400_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_1400_param_07_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_1400_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestNum_1400_param_07_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1373,7 +1373,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNum_1400_param_07_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_1400_param_07_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1410,8 +1410,8 @@ describe('ActsFormFuzzNumTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestNum_1400_param_08_callback async::callbak return!!!") - console.log("FMS_fuzzTestNum_1400_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestNum_1400_param_08_callback async::callback return!!!") + console.log("FMS_fuzzTestNum_1400_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestNum_1400_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1449,7 +1449,7 @@ describe('ActsFormFuzzNumTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestNum_1400_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestNum_1400_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzObject.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzObject.test.js old mode 100755 new mode 100644 index 82b157175..1b8ed78dc --- a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzObject.test.js +++ b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzObject.test.js @@ -38,8 +38,8 @@ describe('ActsFormFuzzObjectTest', function () { formManager.deleteForm( formId, (err,data) => { - console.log("FMS_fuzzTestObject_0200_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_0200_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_0200_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_0200_callback async::success data:" + data); console.log("FMS_fuzzTestObject_0200_callback async::error err:" + err); fail("should not reach here"); done(); @@ -71,7 +71,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.deleteForm(formId)); - console.log("FMS_fuzzTestObject_0200_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_0200_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -106,8 +106,8 @@ describe('ActsFormFuzzObjectTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestObject_0300_param_01_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_0300_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_0300_param_01_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_0300_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestObject_0300_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -143,7 +143,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestObject_0300_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_0300_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -178,8 +178,8 @@ describe('ActsFormFuzzObjectTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestObject_0300_param_02_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_0300_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_0300_param_02_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_0300_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestObject_0300_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -215,7 +215,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestObject_0300_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_0300_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -250,8 +250,8 @@ describe('ActsFormFuzzObjectTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestObject_0300_param_03_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_0300_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_0300_param_03_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_0300_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestObject_0300_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -287,7 +287,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestObject_0300_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_0300_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -322,8 +322,8 @@ describe('ActsFormFuzzObjectTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestObject_0300_param_04_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_0300_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_0300_param_04_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_0300_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestObject_0300_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -359,7 +359,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestObject_0300_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_0300_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -394,8 +394,8 @@ describe('ActsFormFuzzObjectTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestObject_0300_param_05_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_0300_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_0300_param_05_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_0300_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestObject_0300_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -431,7 +431,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestObject_0300_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_0300_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -466,8 +466,8 @@ describe('ActsFormFuzzObjectTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestObject_0300_param_06_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_0300_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_0300_param_06_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_0300_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestObject_0300_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -503,7 +503,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestObject_0300_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_0300_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -538,8 +538,8 @@ describe('ActsFormFuzzObjectTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestObject_0300_param_07_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_0300_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_0300_param_07_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_0300_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestObject_0300_param_07_callback async::error err:" + err); fail("should not reach here"); done(); @@ -575,7 +575,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestObject_0300_param_07_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_0300_param_07_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -610,8 +610,8 @@ describe('ActsFormFuzzObjectTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestObject_0300_param_08_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_0300_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_0300_param_08_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_0300_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestObject_0300_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -647,7 +647,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestObject_0300_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_0300_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -678,8 +678,8 @@ describe('ActsFormFuzzObjectTest', function () { formManager.releaseForm( formId, (err,data) => { - console.log("FMS_fuzzTestObject_0300_param_09_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_0300_param_09_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_0300_param_09_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_0300_param_09_callback async::success data:" + data); console.log("FMS_fuzzTestObject_0300_param_09_callback async::error err:" + err); fail("should not reach here"); done(); @@ -713,7 +713,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId)); - console.log("FMS_fuzzTestObject_0300_param_09_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_0300_param_09_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -743,8 +743,8 @@ describe('ActsFormFuzzObjectTest', function () { formManager.getAllFormsInfo( testParam, (err,data) => { - console.log("FMS_fuzzTestObject_1200_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_1200_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_1200_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_1200_callback async::success data:" + data); console.log("FMS_fuzzTestObject_1200_callback async::error err:" + err); fail("should not reach here"); done(); @@ -776,7 +776,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getAllFormsInfo(testParam)); - console.log("FMS_fuzzTestObject_1200_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_1200_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -807,8 +807,8 @@ describe('ActsFormFuzzObjectTest', function () { formManager.getFormsInfo( bundleName, (err,data) => { - console.log("FMS_fuzzTestObject_1300_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_1300_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_1300_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_1300_callback async::success data:" + data); console.log("FMS_fuzzTestObject_1300_callback async::error err:" + err); fail("should not reach here"); done(); @@ -841,7 +841,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName)); - console.log("FMS_fuzzTestObject_1300_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_1300_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -878,8 +878,8 @@ describe('ActsFormFuzzObjectTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestObject_1400_param_01_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_1400_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_1400_param_01_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_1400_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestObject_1400_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -917,7 +917,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestObject_1400_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_1400_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -954,8 +954,8 @@ describe('ActsFormFuzzObjectTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestObject_1400_param_02_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_1400_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_1400_param_02_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_1400_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestObject_1400_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -993,7 +993,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestObject_1400_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_1400_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1030,8 +1030,8 @@ describe('ActsFormFuzzObjectTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestObject_1400_param_03_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_1400_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_1400_param_03_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_1400_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestObject_1400_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1069,7 +1069,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestObject_1400_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_1400_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1106,8 +1106,8 @@ describe('ActsFormFuzzObjectTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestObject_1400_param_04_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_1400_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_1400_param_04_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_1400_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestObject_1400_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1145,7 +1145,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestObject_1400_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_1400_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1182,8 +1182,8 @@ describe('ActsFormFuzzObjectTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestObject_1400_param_05_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_1400_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_1400_param_05_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_1400_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestObject_1400_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1221,7 +1221,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestObject_1400_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_1400_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1258,8 +1258,8 @@ describe('ActsFormFuzzObjectTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestObject_1400_param_06_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_1400_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_1400_param_06_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_1400_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestObject_1400_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1297,7 +1297,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestObject_1400_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_1400_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1334,8 +1334,8 @@ describe('ActsFormFuzzObjectTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestObject_1400_param_07_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_1400_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_1400_param_07_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_1400_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestObject_1400_param_07_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1373,7 +1373,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestObject_1400_param_07_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_1400_param_07_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1410,8 +1410,8 @@ describe('ActsFormFuzzObjectTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestObject_1400_param_08_callback async::callbak return!!!") - console.log("FMS_fuzzTestObject_1400_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestObject_1400_param_08_callback async::callback return!!!") + console.log("FMS_fuzzTestObject_1400_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestObject_1400_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1449,7 +1449,7 @@ describe('ActsFormFuzzObjectTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestObject_1400_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestObject_1400_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzString.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzString.test.js old mode 100755 new mode 100644 index 7a236db92..45717893c --- a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzString.test.js +++ b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzString.test.js @@ -38,8 +38,8 @@ describe('ActsFormFuzzStringTest', function () { formManager.deleteForm( formId, (err,data) => { - console.log("FMS_fuzzTestString_0200_param_01_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_0200_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_0200_param_01_callback async::callback return!!!") + console.log("FMS_fuzzTestString_0200_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestString_0200_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -71,7 +71,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.deleteForm(formId)); - console.log("FMS_fuzzTestString_0200_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_0200_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -101,8 +101,8 @@ describe('ActsFormFuzzStringTest', function () { formManager.deleteForm( formId, (err,data) => { - console.log("FMS_fuzzTestString_0200_param_02_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_0200_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_0200_param_02_callback async::callback return!!!") + console.log("FMS_fuzzTestString_0200_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestString_0200_param_02_callback async::error err:" + err); expect(err).assertEqual(0); done(); @@ -110,7 +110,6 @@ describe('ActsFormFuzzStringTest', function () { ); console.log("FMS_fuzzTestString_0200_param_02_callback deleteForm end"); - done(); setTimeout(function () { console.info('=====================FMS_fuzzTestString_0200_param_02_callback==================end'); }, TIMEOUT) @@ -129,7 +128,7 @@ describe('ActsFormFuzzStringTest', function () { + typeof(formId) + ",formId:" + formId); formManager.deleteForm(formId).then((err) => { - console.log("FMS_fuzzTestString_0200_param_02_promise async::sucess err:" + err); + console.log("FMS_fuzzTestString_0200_param_02_promise async::success err:" + err); expect(err).assertEqual(0); console.log("FMS_fuzzTestString_0200_param_02_promise deleteForm end"); done(); @@ -160,8 +159,8 @@ describe('ActsFormFuzzStringTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestString_0300_param_01_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_0300_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_0300_param_01_callback async::callback return!!!") + console.log("FMS_fuzzTestString_0300_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestString_0300_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -197,7 +196,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestString_0300_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_0300_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -232,8 +231,8 @@ describe('ActsFormFuzzStringTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestString_0300_param_02_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_0300_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_0300_param_02_callback async::callback return!!!") + console.log("FMS_fuzzTestString_0300_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestString_0300_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -269,7 +268,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestString_0300_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_0300_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -304,8 +303,8 @@ describe('ActsFormFuzzStringTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestString_0300_param_03_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_0300_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_0300_param_03_callback async::callback return!!!") + console.log("FMS_fuzzTestString_0300_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestString_0300_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -341,7 +340,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestString_0300_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_0300_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -376,8 +375,8 @@ describe('ActsFormFuzzStringTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestString_0300_param_04_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_0300_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_0300_param_04_callback async::callback return!!!") + console.log("FMS_fuzzTestString_0300_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestString_0300_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -413,7 +412,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestString_0300_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_0300_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -448,8 +447,8 @@ describe('ActsFormFuzzStringTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestString_0300_param_05_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_0300_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_0300_param_05_callback async::callback return!!!") + console.log("FMS_fuzzTestString_0300_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestString_0300_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -485,7 +484,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestString_0300_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_0300_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -520,8 +519,8 @@ describe('ActsFormFuzzStringTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestString_0300_param_06_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_0300_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_0300_param_06_callback async::callback return!!!") + console.log("FMS_fuzzTestString_0300_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestString_0300_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -557,7 +556,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestString_0300_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_0300_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -592,8 +591,8 @@ describe('ActsFormFuzzStringTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestString_0300_param_07_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_0300_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_0300_param_07_callback async::callback return!!!") + console.log("FMS_fuzzTestString_0300_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestString_0300_param_07_callback async::error err:" + err); fail("should not reach here"); done(); @@ -629,7 +628,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestString_0300_param_07_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_0300_param_07_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -664,8 +663,8 @@ describe('ActsFormFuzzStringTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestString_0300_param_08_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_0300_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_0300_param_08_callback async::callback return!!!") + console.log("FMS_fuzzTestString_0300_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestString_0300_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -701,7 +700,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestString_0300_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_0300_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -732,8 +731,8 @@ describe('ActsFormFuzzStringTest', function () { formManager.releaseForm( formId, (err,data) => { - console.log("FMS_fuzzTestString_0300_param_09_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_0300_param_09_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_0300_param_09_callback async::callback return!!!") + console.log("FMS_fuzzTestString_0300_param_09_callback async::success data:" + data); console.log("FMS_fuzzTestString_0300_param_09_callback async::error err:" + err); fail("should not reach here"); done(); @@ -767,7 +766,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId)); - console.log("FMS_fuzzTestString_0300_param_09_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_0300_param_09_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -797,34 +796,61 @@ describe('ActsFormFuzzStringTest', function () { formManager.releaseForm( formId, (err,data) => { - console.log("FMS_fuzzTestString_0300_param_10_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_0300_param_10_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_0300_param_10_callback async::callback return!!!") + console.log("FMS_fuzzTestString_0300_param_10_callback async::success data:" + data); console.log("FMS_fuzzTestString_0300_param_10_callback async::error err:" + err); + if (Number.parseInt(formId) < 0) { expect(err).assertEqual(0); + } else expect(err).assertEqual(1); done(); } ); console.log("FMS_fuzzTestString_0300_param_10_callback releaseForm end"); - done(); setTimeout(function () { console.info('=====================FMS_fuzzTestString_0300_param_10_callback==================end'); }, TIMEOUT) }) + /** + * @tc.name fuzzTest + * @tc.number FMS_fuzzTestString_0300 + * @tc.desc Check whether the releaseForm interface can pass the fuzzy test (by Promise) + */ + it('FMS_fuzzTestString_0300_param_10_promise', 0, async function (done) { + console.log("FMS_fuzzTestString_0300_param_10_promise releaseForm begin"); + + var formId = numberTest() + ""; + console.log("FMS_fuzzTestString_0300_param_10_promise releaseForm formId typeof:" + + typeof(formId) + ",formId:" + formId); + + formManager.releaseForm(formId).then((err) => { + console.log("FMS_fuzzTestString_0300_param_10_promise async::sucess err:" + err); + if (Number.parseInt(formId) < 0) { + expect(err).assertEqual(0); + } else expect(err).assertEqual(1); + console.log("FMS_fuzzTestString_0300_param_10_promise deleteForm end"); + done(); + }); + + setTimeout(function () { + console.info('=====================FMS_fuzzTestString_0300_param_10_promise==================end'); + }, TIMEOUT) + }) + /** * @tc.name fuzzTest * @tc.number FMS_fuzzTestString_0300 * @tc.desc Check whether the releaseForm interface can pass the fuzzy test (by AsyncCallback) */ - it('FMS_fuzzTestString_0300_param_11_callback', 0, async function (done) { + it('FMS_fuzzTestString_0300_param_11_callback_release_cache', 0, async function (done) { console.log("FMS_fuzzTestString_0300_param_11_callback releaseForm begin"); var formId = numberTest() + ""; console.log("FMS_fuzzTestString_0300_param_11_callback releaseForm formId typeof:" + typeof(formId) + ",formId:" + formId); - var isReleaseCache = booleanTest(); + var isReleaseCache = true; console.log("FMS_fuzzTestString_0300_param_011_callback releaseForm isReleaseCache typeof:" + typeof(isReleaseCache)); @@ -832,18 +858,85 @@ describe('ActsFormFuzzStringTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestString_0300_param_011_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_0300_param_011_callback async::sucess data:" + data); - console.log("FMS_fuzzTestString_0300_param_011_callback async::error err:" + err); + console.log("FMS_fuzzTestString_0300_param_11_callback async::callback return!!!") + console.log("FMS_fuzzTestString_0300_param_11_callback async::success data:" + data); + console.log("FMS_fuzzTestString_0300_param_11_callback async::error err:" + err); expect(err).assertEqual(0); done(); } ); - console.log("FMS_fuzzTestString_0300_param_011_callback releaseForm end"); - done(); + console.log("FMS_fuzzTestString_0300_param_11_callback releaseForm end"); + setTimeout(function () { + console.info('=====================FMS_fuzzTestString_0300_param_11_callback==================end'); + }, TIMEOUT) + }) + + /** + * @tc.name fuzzTest + * @tc.number FMS_fuzzTestString_0300 + * @tc.desc Check whether the releaseForm interface can pass the fuzzy test (by AsyncCallback) + */ + it('FMS_fuzzTestString_0300_param_11_callback_no_release_cache', 0, async function (done) { + console.log("FMS_fuzzTestString_0300_param_11_callback releaseForm begin"); + + var formId = numberTest() + ""; + console.log("FMS_fuzzTestString_0300_param_11_callback releaseForm formId typeof:" + + typeof(formId) + ",formId:" + formId); + + var isReleaseCache = false; + console.log("FMS_fuzzTestString_0300_param_011_callback releaseForm isReleaseCache typeof:" + + typeof(isReleaseCache)); + + formManager.releaseForm( + formId, + isReleaseCache, + (err,data) => { + console.log("FMS_fuzzTestString_0300_param_11_callback async::callback return!!!") + console.log("FMS_fuzzTestString_0300_param_11_callback async::success data:" + data); + console.log("FMS_fuzzTestString_0300_param_11_callback async::error err:" + err); + if (Number.parseInt(formId) < 0) { + expect(err).assertEqual(0); + } else { + expect(err).assertEqual(1); + } + done(); + } + ); + + console.log("FMS_fuzzTestString_0300_param_11_callback releaseForm end"); setTimeout(function () { - console.info('=====================FMS_fuzzTestString_0300_param_011_callback==================end'); + console.info('=====================FMS_fuzzTestString_0300_param_11_callback==================end'); + }, TIMEOUT) + }) + + /** + * @tc.name fuzzTest + * @tc.number FMS_fuzzTestString_0300 + * @tc.desc Check whether the releaseForm interface can pass the fuzzy test (by Promise) + */ + it('FMS_fuzzTestString_0300_param_11_promise', 0, async function (done) { + console.log("FMS_fuzzTestString_0300_param_11_promise releaseForm begin"); + + var formId = numberTest() + ""; + console.log("FMS_fuzzTestString_0300_param_11_promise releaseForm formId typeof:" + + typeof(formId) + ",formId:" + formId); + + var isReleaseCache = booleanTest(); + console.log("FMS_fuzzTestString_0300_param_11_promise releaseForm isReleaseCache typeof:" + + typeof(isReleaseCache)); + + formManager.releaseForm(formId, isReleaseCache).then((err) => { + console.log("FMS_fuzzTestString_0300_param_11_promise async::sucess err:" + err); + if (Number.parseInt(formId) < 0) { + expect(err).assertEqual(0); + } else expect(err).assertEqual(1); + console.log("FMS_fuzzTestString_0300_param_11_promise deleteForm end"); + done(); + }); + + setTimeout(function () { + console.info('=====================FMS_fuzzTestString_0300_param_11_promise==================end'); }, TIMEOUT) }) @@ -862,8 +955,8 @@ describe('ActsFormFuzzStringTest', function () { formManager.getAllFormsInfo( testParam, (err,data) => { - console.log("FMS_fuzzTestString_1200_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_1200_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_1200_callback async::callback return!!!") + console.log("FMS_fuzzTestString_1200_callback async::success data:" + data); console.log("FMS_fuzzTestString_1200_callback async::error err:" + err); fail("should not reach here"); done(); @@ -895,7 +988,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getAllFormsInfo(testParam)); - console.log("FMS_fuzzTestString_1200_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_1200_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -926,8 +1019,8 @@ describe('ActsFormFuzzStringTest', function () { formManager.getFormsInfo( bundleName, (err,data) => { - console.log("FMS_fuzzTestString_1300_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_1300_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_1300_callback async::callback return!!!") + console.log("FMS_fuzzTestString_1300_callback async::success data:" + data); console.log("FMS_fuzzTestString_1300_callback async::error err:" + err); expect(err).assertEqual(0); done(); @@ -939,7 +1032,6 @@ describe('ActsFormFuzzStringTest', function () { } console.log("FMS_fuzzTestString_1300_callback getFormsInfoByApp end"); - done(); setTimeout(function () { console.info('=====================FMS_fuzzTestString_1300_callback==================end'); }, TIMEOUT) @@ -958,9 +1050,9 @@ describe('ActsFormFuzzStringTest', function () { console.log("FMS_fuzzTestString_1300_promise getFormsInfoByApp bundleName typeof:" + typeof(bundleName)); formManager.getFormsInfo(bundleName).then((err) => { - console.log("FMS_fuzzTestString_1300_promise async::sucess err:" + err); + console.log("FMS_fuzzTestString_1300_promise async::success err:" + err); expect(err).assertEqual(0); - console.log("FMS_fuzzTestString_1300_promise deleteForm end"); + console.log("FMS_fuzzTestString_1300_promise getFormsInfoByApp end"); done(); }); @@ -991,8 +1083,8 @@ describe('ActsFormFuzzStringTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestString_1400_param_01_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_1400_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_1400_param_01_callback async::callback return!!!") + console.log("FMS_fuzzTestString_1400_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestString_1400_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1030,7 +1122,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestString_1400_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_1400_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1067,8 +1159,8 @@ describe('ActsFormFuzzStringTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestString_1400_param_02_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_1400_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_1400_param_02_callback async::callback return!!!") + console.log("FMS_fuzzTestString_1400_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestString_1400_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1106,7 +1198,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestString_1400_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_1400_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1143,8 +1235,8 @@ describe('ActsFormFuzzStringTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestString_1400_param_03_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_1400_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_1400_param_03_callback async::callback return!!!") + console.log("FMS_fuzzTestString_1400_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestString_1400_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1182,7 +1274,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestString_1400_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_1400_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1219,8 +1311,8 @@ describe('ActsFormFuzzStringTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestString_1400_param_04_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_1400_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_1400_param_04_callback async::callback return!!!") + console.log("FMS_fuzzTestString_1400_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestString_1400_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1258,7 +1350,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestString_1400_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_1400_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1295,8 +1387,8 @@ describe('ActsFormFuzzStringTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestString_1400_param_05_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_1400_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_1400_param_05_callback async::callback return!!!") + console.log("FMS_fuzzTestString_1400_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestString_1400_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1334,7 +1426,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestString_1400_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_1400_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1371,8 +1463,8 @@ describe('ActsFormFuzzStringTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestString_1400_param_06_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_1400_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_1400_param_06_callback async::callback return!!!") + console.log("FMS_fuzzTestString_1400_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestString_1400_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1410,7 +1502,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestString_1400_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_1400_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1446,8 +1538,8 @@ describe('ActsFormFuzzStringTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestString_1400_param_07_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_1400_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_1400_param_07_callback async::callback return!!!") + console.log("FMS_fuzzTestString_1400_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestString_1400_param_07_callback async::error err:" + err); expect(retResult).assertEqual(0); done(); @@ -1479,7 +1571,7 @@ describe('ActsFormFuzzStringTest', function () { + typeof(moduleName)); formManager.getFormsInfo(bundleName, moduleName).then((err) => { - console.log("FMS_fuzzTestString_1400_param_07_promise async::sucess err:" + err); + console.log("FMS_fuzzTestString_1400_param_07_promise async::success err:" + err); expect(err).assertEqual(0); console.log("FMS_fuzzTestString_1400_param_07_promise getFormsInfo end"); done(); @@ -1512,8 +1604,8 @@ describe('ActsFormFuzzStringTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestString_1400_param_08_callback async::callbak return!!!") - console.log("FMS_fuzzTestString_1400_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestString_1400_param_08_callback async::callback return!!!") + console.log("FMS_fuzzTestString_1400_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestString_1400_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1551,7 +1643,7 @@ describe('ActsFormFuzzStringTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestString_1400_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestString_1400_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzUndefined.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzUndefined.test.js old mode 100755 new mode 100644 index 5c96ad703..4d65439e0 --- a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzUndefined.test.js +++ b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/FormFuzzUndefined.test.js @@ -38,8 +38,8 @@ describe('ActsFormFuzzUndefinedTest', function () { formManager.deleteForm( formId, (err,data) => { - console.log("FMS_fuzzTestUndefined_0200_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_0200_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_0200_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_0200_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_0200_callback async::error err:" + err); fail("should not reach here"); done(); @@ -71,7 +71,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.deleteForm(formId)); - console.log("FMS_fuzzTestUndefined_0200_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_0200_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -106,8 +106,8 @@ describe('ActsFormFuzzUndefinedTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestUndefined_0300_param_01_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_0300_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_0300_param_01_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_0300_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_0300_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -143,7 +143,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestUndefined_0300_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_0300_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -178,8 +178,8 @@ describe('ActsFormFuzzUndefinedTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestUndefined_0300_param_02_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_0300_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_0300_param_02_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_0300_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_0300_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -215,7 +215,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestUndefined_0300_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_0300_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -250,8 +250,8 @@ describe('ActsFormFuzzUndefinedTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestUndefined_0300_param_03_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_0300_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_0300_param_03_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_0300_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_0300_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -287,7 +287,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestUndefined_0300_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_0300_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -322,8 +322,8 @@ describe('ActsFormFuzzUndefinedTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestUndefined_0300_param_04_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_0300_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_0300_param_04_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_0300_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_0300_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -359,7 +359,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestUndefined_0300_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_0300_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -394,8 +394,8 @@ describe('ActsFormFuzzUndefinedTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestUndefined_0300_param_05_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_0300_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_0300_param_05_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_0300_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_0300_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -431,7 +431,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestUndefined_0300_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_0300_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -466,8 +466,8 @@ describe('ActsFormFuzzUndefinedTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestUndefined_0300_param_06_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_0300_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_0300_param_06_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_0300_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_0300_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -503,7 +503,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestUndefined_0300_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_0300_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -538,8 +538,8 @@ describe('ActsFormFuzzUndefinedTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestUndefined_0300_param_07_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_0300_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_0300_param_07_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_0300_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_0300_param_07_callback async::error err:" + err); fail("should not reach here"); done(); @@ -575,7 +575,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestUndefined_0300_param_07_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_0300_param_07_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -610,8 +610,8 @@ describe('ActsFormFuzzUndefinedTest', function () { formId, isReleaseCache, (err,data) => { - console.log("FMS_fuzzTestUndefined_0300_param_08_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_0300_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_0300_param_08_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_0300_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_0300_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -647,7 +647,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId, isReleaseCache)); - console.log("FMS_fuzzTestUndefined_0300_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_0300_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -678,8 +678,8 @@ describe('ActsFormFuzzUndefinedTest', function () { formManager.releaseForm( formId, (err,data) => { - console.log("FMS_fuzzTestUndefined_0300_param_09_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_0300_param_09_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_0300_param_09_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_0300_param_09_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_0300_param_09_callback async::error err:" + err); fail("should not reach here"); done(); @@ -713,7 +713,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.releaseForm(formId)); // formId: number>0 ok - console.log("FMS_fuzzTestUndefined_0300_param_09_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_0300_param_09_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -743,8 +743,8 @@ describe('ActsFormFuzzUndefinedTest', function () { formManager.getAllFormsInfo( testParam, (err,data) => { - console.log("FMS_fuzzTestUndefined_1200_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_1200_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_1200_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_1200_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_1200_callback async::error err:" + err); fail("should not reach here"); done(); @@ -776,7 +776,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getAllFormsInfo(testParam)); - console.log("FMS_fuzzTestUndefined_1200_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_1200_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -801,14 +801,14 @@ describe('ActsFormFuzzUndefinedTest', function () { console.log("FMS_fuzzTestUndefined_1300_callback getFormsInfoByApp begin"); var bundleName = undefinedTest(); - console.log("FMS_fuzzTestUndefined_1300_callback bundleName typeof:" + typeof(bundleName)); + console.log("FMS_fuzzTestUndefined_1300_callback getFormsInfoByApp bundleName typeof:" + typeof(bundleName)); try{ formManager.getFormsInfo( bundleName, (err,data) => { - console.log("FMS_fuzzTestUndefined_1300_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_1300_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_1300_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_1300_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_1300_callback async::error err:" + err); fail("should not reach here"); done(); @@ -841,7 +841,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName)); - console.log("FMS_fuzzTestUndefined_1300_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_1300_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -878,8 +878,8 @@ describe('ActsFormFuzzUndefinedTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestUndefined_1400_param_01_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_1400_param_01_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_1400_param_01_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_1400_param_01_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_1400_param_01_callback async::error err:" + err); fail("should not reach here"); done(); @@ -917,7 +917,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestUndefined_1400_param_01_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_1400_param_01_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -954,8 +954,8 @@ describe('ActsFormFuzzUndefinedTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestUndefined_1400_param_02_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_1400_param_02_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_1400_param_02_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_1400_param_02_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_1400_param_02_callback async::error err:" + err); fail("should not reach here"); done(); @@ -993,7 +993,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestUndefined_1400_param_02_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_1400_param_02_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1030,8 +1030,8 @@ describe('ActsFormFuzzUndefinedTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestUndefined_1400_param_03_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_1400_param_03_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_1400_param_03_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_1400_param_03_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_1400_param_03_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1069,7 +1069,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestUndefined_1400_param_03_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_1400_param_03_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1106,8 +1106,8 @@ describe('ActsFormFuzzUndefinedTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestUndefined_1400_param_04_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_1400_param_04_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_1400_param_04_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_1400_param_04_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_1400_param_04_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1145,7 +1145,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestUndefined_1400_param_04_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_1400_param_04_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1182,8 +1182,8 @@ describe('ActsFormFuzzUndefinedTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestUndefined_1400_param_05_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_1400_param_05_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_1400_param_05_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_1400_param_05_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_1400_param_05_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1221,7 +1221,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestUndefined_1400_param_05_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_1400_param_05_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1258,8 +1258,8 @@ describe('ActsFormFuzzUndefinedTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestUndefined_1400_param_06_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_1400_param_06_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_1400_param_06_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_1400_param_06_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_1400_param_06_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1297,7 +1297,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestUndefined_1400_param_06_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_1400_param_06_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1334,8 +1334,8 @@ describe('ActsFormFuzzUndefinedTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestUndefined_1400_param_07_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_1400_param_07_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_1400_param_07_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_1400_param_07_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_1400_param_07_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1373,7 +1373,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestUndefined_1400_param_07_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_1400_param_07_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1410,8 +1410,8 @@ describe('ActsFormFuzzUndefinedTest', function () { bundleName, moduleName, (err,data) => { - console.log("FMS_fuzzTestUndefined_1400_param_08_callback async::callbak return!!!"); - console.log("FMS_fuzzTestUndefined_1400_param_08_callback async::sucess data:" + data); + console.log("FMS_fuzzTestUndefined_1400_param_08_callback async::callback return!!!"); + console.log("FMS_fuzzTestUndefined_1400_param_08_callback async::success data:" + data); console.log("FMS_fuzzTestUndefined_1400_param_08_callback async::error err:" + err); fail("should not reach here"); done(); @@ -1449,7 +1449,7 @@ describe('ActsFormFuzzUndefinedTest', function () { var retResult; try{ retResult = await Promise.all(await formManager.getFormsInfo(bundleName, moduleName)); - console.log("FMS_fuzzTestUndefined_1400_param_08_promise async::sucess retResult:" + retResult); + console.log("FMS_fuzzTestUndefined_1400_param_08_promise async::success retResult:" + retResult); fail("should not reach here"); done(); } catch (e) { @@ -1465,4 +1465,4 @@ describe('ActsFormFuzzUndefinedTest', function () { }) } -}) +}) \ No newline at end of file diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/List.test.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/getParam.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/js/test/getParam.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/resources/base/element/string.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/entry/src/main/resources/base/media/icon.png old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformfuzztest/signature/openharmony_sx.p7b old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/BUILD.gn b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/BUILD.gn old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/Test.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/Test.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/config.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/config.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/app.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/i18n/en-US.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/i18n/zh-CN.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/pages/index/index.css old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/pages/index/index.hml old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/default/pages/index/index.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/test/FormsOneAndOneJsunit.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/test/FormsOneAndOneJsunit.test.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/js/test/List.test.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/resources/base/element/string.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/entry/src/main/resources/base/media/icon.png old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandonetest/signature/openharmony_sx.p7b old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/BUILD.gn b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/BUILD.gn old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/Test.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/Test.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/config.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/config.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/app.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/i18n/en-US.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/i18n/zh-CN.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/pages/index/index.css old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/pages/index/index.hml old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/default/pages/index/index.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/test/FormsOneAndTwoJsunit.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/test/FormsOneAndTwoJsunit.test.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/js/test/List.test.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/resources/base/element/string.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/entry/src/main/resources/base/media/icon.png old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformsoneandtwotest/signature/openharmony_sx.p7b old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/BUILD.gn b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/BUILD.gn old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/Test.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/Test.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/config.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/config.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/app.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/i18n/en-US.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/i18n/zh-CN.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/pages/index/index.css old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/pages/index/index.hml old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/default/pages/index/index.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/test/FormsZeroAndOneJsunit.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/test/FormsZeroAndOneJsunit.test.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/js/test/List.test.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/resources/base/element/string.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/entry/src/main/resources/base/media/icon.png old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszeroandonetest/signature/openharmony_sx.p7b old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/BUILD.gn b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/BUILD.gn old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/Test.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/Test.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/config.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/config.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/app.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/i18n/en-US.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/i18n/zh-CN.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/pages/index/index.css old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/pages/index/index.hml old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/default/pages/index/index.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/test/FormsZeroJsunit.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/test/FormsZeroJsunit.test.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/js/test/List.test.js old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/resources/base/element/string.json old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/entry/src/main/resources/base/media/icon.png old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/formmanager/formsystemtesthost/actsformszerotest/signature/openharmony_sx.p7b old mode 100755 new mode 100644 diff --git a/aafwk/aafwk_standard/formmanager/formsystemtestservice/formsystemtestservicec/src/main/config.json b/aafwk/aafwk_standard/formmanager/formsystemtestservice/formsystemtestservicec/src/main/config.json old mode 100755 new mode 100644 -- GitLab