Test.json 1.5 KB
Newer Older
L
new  
lwx1121892 已提交
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 39 40
{
    "description": "Configuration for audio manager Tests",
    "driver": {
        "type": "JSUnitTest",
        "test-timeout": "5500000",
        "package": "ohos.acts.multimedia.audio.audiointerrupt",
        "shell-timeout": "60000"
    },
    "kits": [
        {
            "test-file-name": [
                "ActsAudioInterruptJsTest.hap",
                "audioRenderInterrupt.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
        {
            "type": "ShellKit",
            "run-command": [
                "mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.audio.audiointerrupt/haps/entry/files/",
                "mkdir -p /data/app/el2/100/base/com.example.audiorenderinterrupt/haps/entry/files/",
                "chmod 777 -R /data/app/el2/100/base/ohos.acts.multimedia.audio.audiointerrupt/haps/entry",
                "chmod 777 -R /data/app/el2/100/base/com.example.audiorenderinterrupt/haps/entry"
                

            ],
            "cleanup-apps": true
        },
        {
            "type": "PushKit",
            "pre-push": [],
            "push": [
                "./resource/audio/audioManager/StarWars10s-2C-48000-4SW.wav ->/data/app/el2/100/base/ohos.acts.multimedia.audio.audiointerrupt/haps/entry/files/",
                "./resource/audio/audioManager/StarWars10s-2C-48000-4SW.wav ->/data/app/el2/100/base/com.example.audiorenderinterrupt/haps/entry/files/"
       
            ]
        }
    ]
}