提交 c6f7f305 编写于 作者: Z zhaoyuan17@huawei.com
上级 bfe85a4c
......@@ -811,30 +811,6 @@ describe('FMS_FuzzTest', function () {
}, 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.number FMS_fuzzTestString_0300
......@@ -870,34 +846,6 @@ describe('FMS_FuzzTest', function () {
}, 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.number FMS_fuzzTestString_1200
......
......@@ -10,23 +10,10 @@
{
"test-file-name": [
"GetAllFormsInfo10.hap",
"ActsFormSystemTestServiceD"
"ActsFormSystemTestServiceD.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /system/vendor"
]
},
{
"type": "ShellKit",
"run-command": [
"chmod 644 /system/vendor/*.hap"
]
}
]
}
......@@ -10,24 +10,11 @@
{
"test-file-name": [
"GetAllFormsInfo201.hap",
"ActsFormSystemTestServiceB",
"ActsFormSystemTestServiceD"
"ActsFormSystemTestServiceB.hap",
"ActsFormSystemTestServiceD.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /system/vendor"
]
},
{
"type": "ShellKit",
"run-command": [
"chmod 644 /system/vendor/*.hap"
]
}
]
}
......@@ -10,24 +10,11 @@
{
"test-file-name": [
"GetAllFormsInfo211.hap",
"ActsFormSystemTestServiceB",
"ActsFormSystemTestServiceC"
"ActsFormSystemTestServiceB.hap",
"ActsFormSystemTestServiceC.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /system/vendor"
]
},
{
"type": "ShellKit",
"run-command": [
"chmod 644 /system/vendor/*.hap"
]
}
]
}
......@@ -10,24 +10,11 @@
{
"test-file-name": [
"GetAllFormsInfo212.hap",
"ActsFormSystemTestServiceA",
"ActsFormSystemTestServiceB"
"ActsFormSystemTestServiceA.hap",
"ActsFormSystemTestServiceB.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /system/vendor"
]
},
{
"type": "ShellKit",
"run-command": [
"chmod 644 /system/vendor/*.hap"
]
}
]
}
{
"app": {
"bundleName": "com.form.formsystemtestserviceb",
"vendor": "neusoft",
"vendor": "ohos",
"version": {
"code": 1,
"name": "1.0"
......@@ -37,7 +37,7 @@
}
],
"visible": true,
"name": "com.form.formmodule001.FormAbility001",
"name": "FormStServiceAbilityB",
"icon": "$media:icon",
"description": "$string:mainability_description",
"label": "$string:entry_MainAbility",
......
{
"app": {
"bundleName": "com.form.formsystemtestservicec",
"vendor": "neusoft",
"vendor": "ohos",
"version": {
"code": 1,
"name": "1.0"
......@@ -37,7 +37,7 @@
}
],
"visible": true,
"name": "com.form.formmodule001.FormAbility001",
"name": "FormStServiceAbilityC",
"icon": "$media:icon",
"description": "$string:mainability_description",
"label": "$string:entry_MainAbility",
......
......@@ -37,7 +37,7 @@
}
],
"visible": true,
"name": "FormStServiceAbilityA",
"name": "FormStServiceAbilityD",
"icon": "$media:icon",
"description": "$string:mainability_description",
"label": "$string:entry_MainAbility",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册