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 11 12
    },
    "kits": [
        {
            "test-file-name": [
13 14
                "ActsUiTest.hap",
                "ActsUiTestScene.hap"
15 16 17
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
18 19 20 21
        },
        {
            "type": "ShellKit",
            "run-command": [
22
                "param set persist.ace.testmode.enabled 1",
23 24
                "param set persist.sys.suspend_manager_enabled 0",
                "reboot",
25 26
                "power-shell wakeup",
                "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
27
                "power-shell setmode 602"
28 29 30 31
            ],
            "teardown-command": [
                "param set persist.sys.suspend_manager_enabled 1",
                "reboot"
32
            ]
33 34 35
        }
    ]
}