Test.json 1.1 KB
{
    "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": [
                "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",
                "chmod 777 /data/accounts/account_0/appdata/ohos.acts.multimedia.video.videoencoder/*",
                "setenforce 0"
            ],
            "teardown-command":[
                "setenforce 1"
            ]
        },
        {
            "test-file-name": [
                "ActsVideoEncoderJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        }
    ]
}
反馈
建议
客服 返回
顶部