Test.json 2.2 KB
Newer Older
T
tianfenxia 已提交
1
{
T
tianfenxia 已提交
2
    "description": "Configuration for audioPlayer Tests",
T
tianfenxia 已提交
3 4
    "driver": {
        "type": "JSUnitTest",
T
tongtongdad 已提交
5
        "test-timeout": "120000",
T
tianfenxia 已提交
6
        "package": "ohos.acts.multimedia.audio.audioplayer",
T
tianfenxia 已提交
7
		"shell-timeout": "60000"
T
tianfenxia 已提交
8 9
    },
    "kits": [
T
tianfenxia 已提交
10 11 12 13 14
        {
            "type": "PushKit",
            "pre-push": [
            ],
            "push": [
T
tianfenxia 已提交
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
                "./resource/audio/01.mp3 ->/data/media/",
                "./resource/audio/02.mp3 ->/data/media/",
                "./resource/audio/03.mp3 ->/data/media/",
                "./resource/audio/04.mp3 ->/data/media/",
                "./resource/audio/47.mp4 ->/data/media/",
                "./resource/audio/49.mp4 ->/data/media/",
                "./resource/audio/50.mp4 ->/data/media/",
                "./resource/audio/51.mp4 ->/data/media/",
                "./resource/audio/54.mp4 ->/data/media/",
                "./resource/audio/55.m4a ->/data/media/",
                "./resource/audio/57.m4a ->/data/media/",
                "./resource/audio/58.m4a ->/data/media/",
                "./resource/audio/59.m4a ->/data/media/",
                "./resource/audio/62.m4a ->/data/media/",
                "./resource/audio/64.mp4 ->/data/media/",
                "./resource/audio/65.mp4 ->/data/media/",
                "./resource/audio/66.mp4 ->/data/media/",
                "./resource/audio/67.mp4 ->/data/media/",
                "./resource/audio/92.mp4 ->/data/media/",
                "./resource/audio/93.mp4 ->/data/media/",
                "./resource/audio/94.mp4 ->/data/media/",
                "./resource/audio/96.mp4 ->/data/media/",
                "./resource/audio/97.mp4 ->/data/media/",
                "./resource/audio/98.mp4 ->/data/media/"
T
tianfenxia 已提交
39 40
            ]
        },
T
tianfenxia 已提交
41
		{
T
tianfenxia 已提交
42 43
            "type": "ShellKit",
            "run-command": [
T
tongtongdad 已提交
44
                "chmod -R 777 /data/media/*",
T
tianfenxia 已提交
45 46 47 48 49
                "setenforce 0"
            ],
            "teardown-command":[
                "setenforce 1"
            ]
T
tianfenxia 已提交
50 51 52
        },
        {
            "test-file-name": [
J
jiyong 已提交
53
                "ActsAudioPlayerJsTest.hap"
T
tianfenxia 已提交
54 55 56
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
T
tianfenxia 已提交
57 58
        }
    ]
T
tianfenxia 已提交
59
}