Test.json 1.1 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.actsbmsmetadatatest",
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
    },
    "kits": [
        {
            "test-file-name": [
                "ActsBmsMetaDataTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
        {
            "type": "ShellKit",
            "run-command": [
                "remount",
                "mkdir /data/test"
            ]
        },
        {
            "type": "PushKit",
            "push": [
                "bmsThirdBundleTest1.hap->/data/test/bmsThirdBundleTest1.hap",
                "bmsThirdBundleTest3.hap->/data/test/bmsThirdBundleTest3.hap",
                "bmsThirdBundleTest5.hap->/data/test/bmsThirdBundleTest5.hap",
                "bmsThirdBundleTestA1.hap->/data/test/bmsThirdBundleTestA1.hap"
            ]
        },
        {
            "type": "ShellKit",
            "run-command": [
                "chmod 644 /data/test/*.hap"
            ]
        }
    ]
}