Test.json 1.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{
    "description": "Configuration for videoPlayer Tests",
    "driver": {
        "type": "JSUnitTest",
        "test-timeout": "2000000",
        "package": "ohos.acts.multimedia.video.videoencoder",
		"shell-timeout": "60000"
    },
    "kits": [
        {
            "type": "PushKit",
            "pre-push": [
            ],
            "push": [
            ]
        },
		{
            "type": "ShellKit",
            "run-command": [
20
                "rm -R /data/accounts/account_0/appdata/ohos.acts.multimedia.video.videoencoder/results",
21 22
                "mkdir -p /data/accounts/account_0/appdata/ohos.acts.multimedia.video.videoencoder/results/",
                "chmod 777 -R /data/accounts/account_0/appdata/ohos.acts.multimedia.video.videoencoder",
23
                "chmod 777 /data/accounts/account_0/appdata/ohos.acts.multimedia.video.videoencoder/*"
24 25 26 27 28 29 30 31 32 33 34 35 36
            ],
            "teardown-command":[
            ]
        },
        {
            "test-file-name": [
                "ActsVideoEncoderJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        }
    ]
}