Test.json 1.4 KB
Newer Older
1 2 3
{
    "description": "Configuration for actsbundleetsgetinfotest Tests",
    "driver": {
J
jiyong_sd 已提交
4
        "type": "OHJSUnitTest",
5
        "test-timeout": "600000",
J
jiyong_sd 已提交
6 7 8
        "bundle-name": "com.open.harmony.packagemag",
        "package-name": "com.open.harmony.packagemag",
        "shell-timeout": "600000"
9 10 11 12 13 14 15 16
    },
    "kits": [
        {
            "test-file-name": [
                "ActsBundleManagerEtsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
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 42 43
        },
        {
            "type": "ShellKit",
            "run-command": [
                "remount",
                "mkdir /data/test/"
            ]
        },
        {
            "type": "PushKit",
            "push":[
                "bmsThirdBundleTest1.hap -> /data/bmsThirdBundleTest1.hap ",
                "first_right.hap -> /data/test/first_right.hap",
                "second_right.hap -> /data/second_right.hap"
            ]
        },
        {
            "type": "ShellKit",
            "run-command": [
                "bm install -p /data/bmsThirdBundleTest1.hap",
                "bm install -p /data/test/first_right.hap",
                "bm install -p /data/second_right.hap"
            ],
            "teardown-command":[
                "bm uninstall -n com.example.third1",
                "bm uninstall -n com.example.l3jsdemo"
            ]
44 45 46
        }
    ]
}