Test.json 764 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
{
    "description": "Configuration for MiscservicesRequestJSApiTest js api Tests",
    "driver": {
        "type": "OHJSUnitTest",
        "test-timeout": "600000",
        "bundle-name": "com.acts.requesttest",
        "package-name": "com.acts.requesttest",
        "shell-timeout": "60000"
    },
    "kits": [
        {
            "test-file-name": ["ActsRequestETSApiTest.hap"],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
        {
            "type": "ShellKit",
            "run-command": [
                "mkdir -p /data/app/el2/100/base/com.acts.requesttest/haps/entry/cache",
                "echo \"123456\" > /data/app/el2/100/base/com.acts.requesttest/haps/entry/cache/test.txt"
            ]
        }
    ]
}