Test.json 1.2 KB
Newer Older
Q
qinliwen 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
{
    "description": "Configuration for Image Tests",
    "driver": {
        "type": "JSUnitTest",
        "test-timeout": "300000",
        "package": "ohos.acts.multimedia.image.Exif",
		"shell-timeout": "120000"
    },
    "kits": [
        {
            "type": "ShellKit",
            "run-command": [
                "mkdir   /data/app/el2/100/base/ohos.acts.multimedia.image.Exif/files",
                "chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.image.Exif/files"
            ]
        },
		{
            "type": "PushKit",
            "pre-push": [
            ],
            "push": [
				"./resource/image/test_exif.jpg ->/data/app/el2/100/base/ohos.acts.multimedia.image.Exif/files"
            ]
        },
   
		{
            "type": "ShellKit",
            "run-command": [
                "chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.image.Exif/files/test_exif.jpg"
            ],
            "teardown-command":[
              
            ]
        },
        
        {
            "test-file-name": [
                "ActsImageExifJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        }
    ]
    
}