Test.json 1.0 KB
Newer Older
1 2 3 4 5
{
    "description": "Configuration for uitest Tests",
    "driver": {
        "type": "OHJSUnitTest",
        "test-timeout": "1800000",
6 7
        "bundle-name": "com.uitest.acts",
        "package-name": "com.uitest.acts",
8
        "shell-timeout": "180000"
9 10
    },
    "kits": [
11 12 13
        {
            "type": "ShellKit",
            "run-command": [
14
                "param set persist.ace.testmode.enabled 1",
15 16
                "param set persist.sys.suspend_manager_enabled 0",
                "reboot",
17 18
                "power-shell wakeup",
                "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
19
                "power-shell setmode 602"
20 21 22 23
            ],
            "teardown-command": [
                "param set persist.sys.suspend_manager_enabled 1",
                "reboot"
24
            ]
25 26 27 28 29 30 31 32
        },
        {
            "test-file-name": [
                "ActsUiTest.hap",
                "ActsUiTestScene.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
33 34 35
        }
    ]
}