Test.json 1.7 KB
Newer Older
S
shuxiong 已提交
1 2 3 4
{
    "description": "Configuration for hjunit demo Tests",
    "driver": {
        "type": "JSUnitTest",
Z
Xts fix  
zhaoyuan17 已提交
5
        "test-timeout": "120000",
J
jiyong 已提交
6
        "package": "com.example.amsZipfileUnzipfileST",
S
shuxiong 已提交
7 8 9 10 11
        "shell-timeout": "60000"
    },
    "kits": [
        {
            "test-file-name": [
Q
quxianfei 已提交
12
                "ActsAmsZipfileUnzipfileSTest.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
                "./resource/appexecfwk/ceshi.txt->/data/test/ceshi.txt",
                "./resource/appexecfwk/ceshitwo.zip->/data/test/ceshitwo.zip",
                "./resource/appexecfwk/ceshitwo.txt->/data/test/ceshitwo.txt"
Z
Xts fix  
zhaoyuan17 已提交
30
                
J
jiyong 已提交
31 32 33
               
            ]
        },
Z
Xts fix  
zhaoyuan17 已提交
34
        
J
jiyong 已提交
35 36 37
        {
            "type": "ShellKit",
            "run-command": [
Z
Xts fix  
zhaoyuan17 已提交
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
                "remount",
                "mkdir /data/testA"
            ]
        },
        {
            "type": "ShellKit",
            "run-command": [
                "chmod 777 /data/testA/*"
            ]
        },
       
        {
            "type": "ShellKit",
            "run-command": [
                "chmod 777 /data/test/*"
            ]
        },
       
        {
            "type": "ShellKit",
            "run-command": [
                "remount",
                "mkdir /data/testb"
            ]
        },
        {
            "type": "ShellKit",
            "run-command": [
                "chmod 777 /data/testb/*"
S
shuxiong 已提交
67
            ]
J
jiyong 已提交
68
        }
Z
Xts fix  
zhaoyuan17 已提交
69 70 71 72
       
       
       

S
shuxiong 已提交
73 74
    ]
}
J
jiyong 已提交
75