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