Test.json 1.7 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
{
    "description": "Configuration for audioDecoder Tests",
    "driver": {
        "type": "JSUnitTest",
        "test-timeout": "2000000",
        "package": "ohos.acts.multimedia.audio.audiodecoder",
		"shell-timeout": "60000"
    },
    "kits": [
        {
            "type": "PushKit",
            "pre-push": [
            ],
            "push": [
J
jiyong_sd 已提交
15 16 17 18 19
                "./resource/audio/audioDecode/AAC_48000_32_1.aac ->/data/accounts/account_0/appdata/ohos.acts.multimedia.audio.audiodecoder/",
                "./resource/audio/audioDecode/AAC_16000_1.aac ->/data/accounts/account_0/appdata/ohos.acts.multimedia.audio.audiodecoder/",
                "./resource/audio/audioDecode/FLAC_48000_32_1.flac ->/data/accounts/account_0/appdata/ohos.acts.multimedia.audio.audiodecoder/",
                "./resource/audio/audioDecode/mp3.es ->/data/accounts/account_0/appdata/ohos.acts.multimedia.audio.audiodecoder/",
                "./resource/audio/audioDecode/vorbis.es ->/data/accounts/account_0/appdata/ohos.acts.multimedia.audio.audiodecoder/"
20 21 22 23 24
            ]
        },
		{
            "type": "ShellKit",
            "run-command": [
J
jiyong_sd 已提交
25 26 27
                "mkdir -p /data/accounts/account_0/appdata/ohos.acts.multimedia.audio.audiodecoder/results/",
                "chmod 777 -R /data/accounts/account_0/appdata/ohos.acts.multimedia.audio.audiodecoder",
                "chmod 777 /data/accounts/account_0/appdata/ohos.acts.multimedia.audio.audiodecoder/*",
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
                "setenforce 0"
            ],
            "teardown-command":[
                "setenforce 1"
            ]
        },
        {
            "test-file-name": [
                "ActsAudioDecoderJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        }
    ]
}