Test.json 1.5 KB
Newer Older
C
chensi10 已提交
1 2 3
{
    "description": "Configuration for hjunit demo Tests",
    "driver": {
C
chengxingzhen 已提交
4
        "type": "OHJSUnitTest",
5
        "test-timeout": "300000",
C
chengxingzhen 已提交
6 7 8 9
        "bundle-name": "com.example.actsfeatureabilitytest",
        "package-name": "com.example.actsfeatureabilitytest",
        "shell-timeout": "600000",
        "testcase-timeout":"30000"
C
chensi10 已提交
10 11 12 13
    },
    "kits": [
        {
            "test-file-name": [
Z
zhaoyuan17 已提交
14 15 16 17 18 19 20
                "FinishWithResultEmptyTest.hap",
                "FinishWithResultPromiseParametersTest.hap",
                "FinishWithResultTest.hap",
                "GetCallingBundlePromiseTest.hap",
                "StartAbility.hap",
                "StartAbilityForResult.hap",
                "TerminateAbilityTest.hap",
C
chensi10 已提交
21
                "ActsFeatureAbilityTest.hap"
C
chensi10 已提交
22 23 24
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
M
m00512953 已提交
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
        },
        {
            "type": "ShellKit",
            "run-command": [
                "param set persist.ace.testmode.enabled 1",
                "param set persist.sys.suspend_manager_enabled 0",
                "reboot",
                "power-shell wakeup",
                "hilog -Q pidoff",
                "hilog -b DEBUG",
                "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"
            ]
Z
zhaoyuan17 已提交
42
        }
C
chensi10 已提交
43 44
    ]
}