提交 415cee2a 编写于 作者: Z zhaoyuan17@huawei.com
上级 4c55833f
...@@ -17,9 +17,15 @@ group("formmanager") { ...@@ -17,9 +17,15 @@ group("formmanager") {
testonly = true testonly = true
if (is_standard_system) { if (is_standard_system) {
deps = [ deps = [
#"formsystemtesthost/FormFuzzTest:FormFuzzTest", "formsystemtestservice/formsystemtestservicea:ActsFormSystemTestServiceA",
#"formsystemtesthost/getallformsinfo:GetAllFormsInfo", "formsystemtestservice/formsystemtestserviceb:ActsFormSystemTestServiceB",
#"formsystemtestservice/formsystemtestservicea:ActsFormSystemTestServiceA", "formsystemtestservice/formsystemtestservicec:ActsFormSystemTestServiceC",
"formsystemtestservice/formsystemtestserviced:ActsFormSystemTestServiceD",
"formsystemtesthost/FormFuzzTest:FormFuzzTest",
"formsystemtesthost/getallformsinfo212:GetAllFormsInfo212",
"formsystemtesthost/getallformsinfo211:GetAllFormsInfo211",
"formsystemtesthost/getallformsinfo201:GetAllFormsInfo201",
"formsystemtesthost/getallformsinfo10:GetAllFormsInfo10",
] ]
} }
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"description": "Configuration for hjunit demo Tests", "description": "Configuration for hjunit demo Tests",
"driver": { "driver": {
"type": "JSUnitTest", "type": "JSUnitTest",
"test-timeout": "240000", "test-timeout": "360000",
"package": "com.example.formfuzztest", "package": "com.example.formfuzztest",
"shell-timeout": "60000" "shell-timeout": "60000"
}, },
......
...@@ -13,4 +13,11 @@ ...@@ -13,4 +13,11 @@
* limitations under the License. * limitations under the License.
*/ */
require('./FormFuzzTest.test.js') require('./FormFuzzTestArray.test.js')
\ No newline at end of file require('./FormFuzzTestBool.test.js')
require('./FormFuzzTestFunction.test.js')
require('./FormFuzzTestNull.test.js')
require('./FormFuzzTestNum.test.js')
require('./FormFuzzTestObject.test.js')
require('./FormFuzzTestString.test.js')
require('./FormFuzzTestUndefined.test.js')
\ No newline at end of file
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("GetAllFormsInfo") { ohos_js_hap_suite("GetAllFormsInfo10") {
hap_profile = "./entry/src/main/config.json" hap_profile = "./entry/src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "GetAllFormsInfo" hap_name = "GetAllFormsInfo10"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default" source_dir = "./entry/src/main/js/default"
......
{
"description": "Configuration for hjunit demo Tests",
"driver": {
"type": "JSUnitTest",
"test-timeout": "60000",
"package": "com.example.getallformsinfo10",
"shell-timeout": "60000"
},
"kits": [
{
"test-file-name": [
"GetAllFormsInfo10.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /system/vendor"
]
},
{
"type": "PushKit",
"push": [
"GetAllFormsInfo10.hap->/data/GetAllFormsInfo10.hap"
]
},
{
"type": "ShellKit",
"run-command": [
"chmod 644 /system/vendor/*.hap"
]
}
]
}
...@@ -13,4 +13,4 @@ ...@@ -13,4 +13,4 @@
* limitations under the License. * limitations under the License.
*/ */
require('./GetAllFormsInfoJsunit.test.js') require('./GetAllFormsInfo10Jsunit.test.js')
\ No newline at end of file \ No newline at end of file
{
"string": [
{
"name": "entry_MainAbility",
"value": "GetAllFormsInfo10"
},
{
"name": "mainability_description",
"value": "JS_Empty Ability"
}
]
}
\ No newline at end of file
<div class="container">
<text class="title">
{{ $t('strings.hello') }} {{ title }}
</text>
</div>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册