Test.json 1.2 KB
Newer Older
X
xinking129 已提交
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 35 36 37 38
{
    "description": "Configuration for aceceshi Tests",
    "driver": {
        "type": "OHJSUnitTest",
        "test-timeout": "600000",
        "bundle-name": "com.example.actsactionextensionabilitytest",
        "module-name": "entry_test",
        "shell-timeout": "600000",
        "testcase-timeout": 25000
    },
    "kits": [
		{
            "test-file-name": [
                "ActsActionExtensionAbilityOtherRely.hap",
                "ActsActionExtensionAbilitySelfRely.hap",
                "ActsActionExtensionAbilitySelfModule.hap",
                "ActsActionExtensionAbilityTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
        {
            "type": "ShellKit",
            "run-command": [
                "param set persist.sys.suspend_manager_enabled false",
                "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 true",
                "power-shell setmode 601",
                "reboot"
            ]
        }
    ]
}