提交 389b39b1 编写于 作者: O openharmony_ci 提交者: Gitee

!1143 fms_xts

Merge pull request !1143 from blackleon/fms_1122
...@@ -811,30 +811,6 @@ describe('FMS_FuzzTest', function () { ...@@ -811,30 +811,6 @@ describe('FMS_FuzzTest', function () {
}, TIMEOUT) }, 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);
expect(err).assertEqual(0);
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.name fuzzTest
* @tc.number FMS_fuzzTestString_0300 * @tc.number FMS_fuzzTestString_0300
...@@ -870,34 +846,6 @@ describe('FMS_FuzzTest', function () { ...@@ -870,34 +846,6 @@ describe('FMS_FuzzTest', function () {
}, TIMEOUT) }, 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);
expect(err).assertEqual(0);
console.log("FMS_fuzzTestString_0300_param_11_promise deleteForm end");
done();
});
setTimeout(function () {
console.info('=====================FMS_fuzzTestString_0300_param_11_promise==================end');
}, TIMEOUT)
})
/** /**
* @tc.name fuzzTest * @tc.name fuzzTest
* @tc.number FMS_fuzzTestString_1200 * @tc.number FMS_fuzzTestString_1200
......
...@@ -10,23 +10,10 @@ ...@@ -10,23 +10,10 @@
{ {
"test-file-name": [ "test-file-name": [
"GetAllFormsInfo10.hap", "GetAllFormsInfo10.hap",
"ActsFormSystemTestServiceD" "ActsFormSystemTestServiceD.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /system/vendor"
]
},
{
"type": "ShellKit",
"run-command": [
"chmod 644 /system/vendor/*.hap"
]
} }
] ]
} }
...@@ -10,24 +10,11 @@ ...@@ -10,24 +10,11 @@
{ {
"test-file-name": [ "test-file-name": [
"GetAllFormsInfo201.hap", "GetAllFormsInfo201.hap",
"ActsFormSystemTestServiceB", "ActsFormSystemTestServiceB.hap",
"ActsFormSystemTestServiceD" "ActsFormSystemTestServiceD.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /system/vendor"
]
},
{
"type": "ShellKit",
"run-command": [
"chmod 644 /system/vendor/*.hap"
]
} }
] ]
} }
...@@ -10,24 +10,11 @@ ...@@ -10,24 +10,11 @@
{ {
"test-file-name": [ "test-file-name": [
"GetAllFormsInfo211.hap", "GetAllFormsInfo211.hap",
"ActsFormSystemTestServiceB", "ActsFormSystemTestServiceB.hap",
"ActsFormSystemTestServiceC" "ActsFormSystemTestServiceC.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /system/vendor"
]
},
{
"type": "ShellKit",
"run-command": [
"chmod 644 /system/vendor/*.hap"
]
} }
] ]
} }
...@@ -10,24 +10,11 @@ ...@@ -10,24 +10,11 @@
{ {
"test-file-name": [ "test-file-name": [
"GetAllFormsInfo212.hap", "GetAllFormsInfo212.hap",
"ActsFormSystemTestServiceA", "ActsFormSystemTestServiceA.hap",
"ActsFormSystemTestServiceB" "ActsFormSystemTestServiceB.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /system/vendor"
]
},
{
"type": "ShellKit",
"run-command": [
"chmod 644 /system/vendor/*.hap"
]
} }
] ]
} }
{ {
"app": { "app": {
"bundleName": "com.form.formsystemtestserviceb", "bundleName": "com.form.formsystemtestserviceb",
"vendor": "neusoft", "vendor": "ohos",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
} }
], ],
"visible": true, "visible": true,
"name": "com.form.formmodule001.FormAbility001", "name": "FormStServiceAbilityB",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:mainability_description", "description": "$string:mainability_description",
"label": "$string:entry_MainAbility", "label": "$string:entry_MainAbility",
......
{ {
"app": { "app": {
"bundleName": "com.form.formsystemtestservicec", "bundleName": "com.form.formsystemtestservicec",
"vendor": "neusoft", "vendor": "ohos",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
} }
], ],
"visible": true, "visible": true,
"name": "com.form.formmodule001.FormAbility001", "name": "FormStServiceAbilityC",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:mainability_description", "description": "$string:mainability_description",
"label": "$string:entry_MainAbility", "label": "$string:entry_MainAbility",
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
} }
], ],
"visible": true, "visible": true,
"name": "FormStServiceAbilityA", "name": "FormStServiceAbilityD",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:mainability_description", "description": "$string:mainability_description",
"label": "$string:entry_MainAbility", "label": "$string:entry_MainAbility",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册