Test.json 1.8 KB
Newer Older
T
tongtongdad 已提交
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
{
    "description": "Configuration for Image Tests",
    "driver": {
        "type": "JSUnitTest",
        "test-timeout": "120000",
        "package": "ohos.acts.multimedia.image",
		"shell-timeout": "120000"
    },
    "kits": [
        {
            "type": "PushKit",
            "pre-push": [
            ],
            "push": [
                "./resource/image/test.arw ->/data/local/tmp",
				"./resource/image/test.bmp ->/data/local/tmp",
				"./resource/image/test.cr2 ->/data/local/tmp",
				"./resource/image/test.dng ->/data/local/tmp",
				"./resource/image/test.gif ->/data/local/tmp",
				"./resource/image/test.jpg ->/data/local/tmp",
				"./resource/image/test.nrw ->/data/local/tmp",
				"./resource/image/test.pef ->/data/local/tmp",
				"./resource/image/test.png ->/data/local/tmp",
				"./resource/image/test.raf ->/data/local/tmp",
				"./resource/image/test.rw2 ->/data/local/tmp",
				"./resource/image/test.wbmp ->/data/local/tmp",
				"./resource/image/test.webp->/data/local/tmp",
				"./resource/image/test_exif.jpg ->/data/local/tmp",
				"./resource/image/test_hw.jpg ->/data/local/tmp",
				"./resource/image/test_large.webp ->/data/local/tmp",
				"./resource/image/hasNoExif.jpg ->/data/local/tmp",
32
				"./resource/image/moving_test.gif ->/data/local/tmp",
T
tongtongdad 已提交
33 34 35 36 37 38 39
				"./resource/image/test.9.png ->/data/local/tmp"
            ]
        },
		{
            "type": "ShellKit",
            "run-command": [
                "chmod -R 666 /data/media/*",
40
                "chmod -R 666 /data/local/*",
T
tongtongdad 已提交
41 42 43 44 45 46 47 48
                "setenforce 0"
            ],
            "teardown-command":[
                "setenforce 1"
            ]
        },
        {
            "test-file-name": [
49
                "ActsImageJsTest.hap"
T
tongtongdad 已提交
50 51 52 53 54 55
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        }
    ]
}