Test.json 1.3 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{
    "description": "Configuration for actsbundleetsgetinfotest Tests",
    "driver": {
        "type": "JSUnitTest",
        "test-timeout": "600000",
        "package": "com.open.harmony.packagemag",
        "shell-timeout": "60000"
    },
    "kits": [
        {
            "test-file-name": [
                "ActsBundleManagerEtsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
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 42
        },
        {
            "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"
            ]
43 44 45
        }
    ]
}