Test.json 1.7 KB
Newer Older
Z
zhaoyuan17 已提交
1 2 3 4
{
    "description": "Configuration for hjunit demo Tests",
    "driver": {
        "type": "JSUnitTest",
Z
zhaoyuan17 已提交
5
        "test-timeout": "120000",
Z
zhaoyuan17 已提交
6
        "package": "com.example.amsZipfileUnzipfileST",
J
jiyong 已提交
7
        "shell-timeout": "60000"
Z
zhaoyuan17 已提交
8 9 10 11
    },
    "kits": [
        {
            "test-file-name": [
Z
zhaoyuan17 已提交
12
                "amsZipfileUnzipfileST.hap"
Z
zhaoyuan17 已提交
13 14 15
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
Z
zhaoyuan17 已提交
16 17 18 19 20 21 22 23 24 25 26
        },
        {
            "type": "ShellKit",
            "run-command": [
                "remount",
                "mkdir /data/test"
            ]
        },
        {
            "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
zhaoyuan17 已提交
30
                
Z
zhaoyuan17 已提交
31 32 33
               
            ]
        },
Z
zhaoyuan17 已提交
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
        
        {
            "type": "ShellKit",
            "run-command": [
                "remount",
                "mkdir /data/testA"
            ]
        },
        {
            "type": "ShellKit",
            "run-command": [
                "chmod 777 /data/testA/*"
            ]
        },
       
Z
zhaoyuan17 已提交
49 50 51
        {
            "type": "ShellKit",
            "run-command": [
Z
zhaoyuan17 已提交
52 53 54
                "chmod 777 /data/test/*"
            ]
        },
Z
zhaoyuan17 已提交
55
       
Z
zhaoyuan17 已提交
56 57 58 59
        {
            "type": "ShellKit",
            "run-command": [
                "remount",
Z
zhaoyuan17 已提交
60
                "mkdir /data/testb"
Z
zhaoyuan17 已提交
61 62 63 64 65
            ]
        },
        {
            "type": "ShellKit",
            "run-command": [
Z
zhaoyuan17 已提交
66
                "chmod 777 /data/testb/*"
Z
zhaoyuan17 已提交
67
            ]
Z
zhaoyuan17 已提交
68
        }
Z
zhaoyuan17 已提交
69 70 71 72
       
       
       

Z
zhaoyuan17 已提交
73 74
    ]
}
Z
zhaoyuan17 已提交
75