Test.json 1.2 KB
Newer Older
Z
zhaoyuan17 已提交
1 2 3 4
{
    "description": "Configuration for hjunit demo Tests",
    "driver": {
        "type": "JSUnitTest",
J
jiyong 已提交
5
        "test-timeout": "300000",
Z
zhaoyuan17 已提交
6
        "package": "com.example.actsbmsallshortcutinfotest",
J
jiyong 已提交
7
        "shell-timeout": "60000"
Z
zhaoyuan17 已提交
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 35 36 37 38 39 40 41
    },
    "kits": [
        {
            "test-file-name": [
                "ActsBmsAllShortcutInfoTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
        {
            "type": "ShellKit",
            "run-command": [
                "remount",
                "mkdir /data/test"
            ]
        },
        {
            "type": "PushKit",
            "push": [
                "bmsThirdBundleTest1.hap->/data/test/bmsThirdBundleTest1.hap",
                "bmsThirdBundleTest2.hap->/data/test/bmsThirdBundleTest2.hap",
                "bmsThirdBundleTest3.hap->/data/test/bmsThirdBundleTest3.hap",
                "bmsThirdBundleTest4.hap->/data/test/bmsThirdBundleTest4.hap",
                "bmsThirdBundleTestA1.hap->/data/test/bmsThirdBundleTestA1.hap"
            ]
        },
        {
            "type": "ShellKit",
            "run-command": [
                "chmod 644 /data/test/*.hap"
            ]
        }
    ]
}