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