Test.json 984 字节
Newer Older
1
15929983503 已提交
1 2 3 4 5 6 7 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
{
    "description": "Configuration for hjunit demo Tests",
    "driver": {
        "type": "OHJSUnitTest",
        "test-timeout": "270000",
        "shell-timeout": "60000",
        "bundle-name": "ohos.acts.hiviewdfx.hilogdomainoff.function",
        "package-name": "ohos.acts.hiviewdfx.hilogdomainoff.function"
    },
    "kits": [
        {
            "test-file-name": [
                "ActsHilogDomainOffJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
        {
            "type": "ShellKit",
            "run-command": [
                "param set persist.sys.hilog.debug.on true",
                "service_control stop hilogd",
                "service_control start hilogd"
            ],
            "teardown-command": [
                "param set persist.sys.hilog.debug.on false",
                "service_control stop hilogd",
                "service_control start hilogd"
            ]
        }
    ]
}