Test.json 1.0 KB
Newer Older
Z
zhangxingxia 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
{
    "description": "Configuration for filemanager Tests",
    "driver": {
        "type": "JSUnitTest",
        "test-timeout": "2000000",
        "package": "ohos.acts.storage.filemanager",
		"shell-timeout": "60000"
    },
    "kits": [
        {
            "type": "PushKit",
            "pre-push": [
            ],
            "push": [
                "./resource/filemanagerment/fmsdir.sh ->/storage/media/100/local/files/"
            ]
        },
		{
            "type": "ShellKit",
            "run-command": [
                "chmod 777 /storage/media/100/local/files/fmsdir.sh",
Z
zhangxingxia 已提交
22
                "sh /data/media/fmsdir.sh",
Z
zhangxingxia 已提交
23 24 25 26
                "setenforce 0"
            ],
            "teardown-command":[
                "setenforce 1",
Z
zhangxingxia 已提交
27
                "rm -rf /storage/media/100/local/files/*"
Z
zhangxingxia 已提交
28 29 30 31 32 33 34 35 36 37 38
            ]
        },
        {
            "test-file-name": [
                "ActsStorageFilemanagerJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        }
    ]
}