Test.json 925 字节
Newer Older
S
shuxiong 已提交
1 2 3 4
{
    "description": "Configuration for hjunit demo Tests",
    "driver": {
        "type": "JSUnitTest",
J
jiyong 已提交
5 6
        "test-timeout": "180000",
        "package": "com.example.amsZipfileUnzipfileST",
S
shuxiong 已提交
7 8 9 10 11
        "shell-timeout": "60000"
    },
    "kits": [
        {
            "test-file-name": [
J
jiyong 已提交
12
                "amsZipfileUnzipfileST.hap"
S
shuxiong 已提交
13 14 15 16
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
J
jiyong 已提交
17 18 19 20 21 22 23
        {
            "type": "ShellKit",
            "run-command": [
                "remount",
                "mkdir /data/test"
            ]
        },
S
shuxiong 已提交
24 25 26
        {
            "type": "PushKit",
            "push": [
J
jiyong 已提交
27 28 29 30 31 32 33 34
                "amsZipfileUnzipfileST.hap->/data/test/amsZipfileUnzipfileST.hap"
               
            ]
        },
        {
            "type": "ShellKit",
            "run-command": [
                "chmod 644 /data/test/*.hap"
S
shuxiong 已提交
35
            ]
J
jiyong 已提交
36
        }
S
shuxiong 已提交
37 38
    ]
}
J
jiyong 已提交
39