Test.json 968 字节
Newer Older
H
hekun 已提交
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 33 34
{
    "description": "Configuration for hjunit demo Tests",
    "driver": {
        "type": "OHJSUnitTest",
        "test-timeout": "180000",
        "bundle-name": "com.example.myapplication",
        "module-name": "phone",
        "shell-timeout": "600000",
        "testcase-timeout": "180000"
    },
    "kits": [{
        "test-file-name": [
            "ActsAceEtsComponentUITest.hap"
        ],
        "type": "AppInstallKit",
        "cleanup-apps": true
    }, {
        "type": "ShellKit",
        "run-command": [
            "param set persist.ace.testmode.enabled 1",
            "param set persist.sys.suspend_manager_enabled 0",
            "reboot",
            "power-shell wakeup",
            "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
            "power-shell setmode 602"
        ], 
        "teardown-command": [
            "param set persist.sys.suspend_manager_enabled 1",
            "reboot"
        ]
        
        
    }]
}