Test.json 1.4 KB
Newer Older
L
lwx1121892 已提交
1 2 3
{
    "description": "Configuration for audio manager Tests",
    "driver": {
Q
qinliwen 已提交
4
        "type": "OHJSUnitTest",
L
lwx1121892 已提交
5
        "test-timeout": "550000",
Q
qinliwen 已提交
6 7 8 9
        "shell-timeout": "60000",
        "testcase-timeout": 60000,
        "bundle-name": "ohos.acts.multimedia.audio.audiovoip",
        "package-name": "ohos.acts.multimedia.audio.audiovoip"
L
lwx1121892 已提交
10 11 12 13 14 15 16 17 18 19 20 21
    },
    "kits": [
        {
            "test-file-name": [
                "ActsAudioVOIPJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
        {
            "type": "ShellKit",
            "run-command": [
J
jiyong_sd 已提交
22
                "hilog -Q pidoff",
L
lwx1121892 已提交
23
                "mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.audio.audiovoip/haps/entry/files",
Q
qinliwen 已提交
24
                "chmod 777 -R /data/app/el2/100/base/ohos.acts.multimedia.audio.audiovoip/haps/entry",
Q
qinliwen 已提交
25
                "power-shell wakeup",
Q
qinliwen 已提交
26 27 28
                "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
                "power-shell setmode 602"
            ],
Q
qinliwen 已提交
29
            "teardown-command":[
Q
qinliwen 已提交
30
                "power-shell setmode 600"
L
lwx1121892 已提交
31 32 33 34 35 36 37 38 39 40 41 42
            ],
            "cleanup-apps": true
        },
        {
            "type": "PushKit",
            "pre-push": [],
            "push": [
                "./resource/audio/audioManager/StarWars10s-1C-44100-2SW.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiovoip/haps/entry/files/"
            ]
        }
    ]
}