{ "description": "Configuration for userfilemgr Tests", "driver": { "type": "JSUnitTest", "test-timeout": "300000", "package": "ohos.acts.multimedia.userfilemgr", "shell-timeout": "600000" }, "kits": [ { "type": "ShellKit", "pre-push": [ ], "run-command": [ "rm -rf /storage/media/100/local/files/*", "rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*", "mkdir -pv /storage/media/100/local/files/Pictures", "mkdir -p /storage/media/100/local/temp" ] }, { "type": "PushKit", "pre-push": [ ], "push": [ "./resource/medialibrary/01.jpg ->/storage/media/100/local/temp" ] }, { "type": "ShellKit", "run-command": [ "mkdir -pv /storage/media/100/local/files/Pictures/{Static,DynamicCb,DynamicPro}", "for d in Static DynamicCb DynamicPro; do for i in $$(seq 1); do cp /storage/media/100/local/temp/01.jpg /storage/media/100/local/files/Pictures/$$d/0$$i.jpg; done;done;", "chmod -R 777 /storage/media/100/local/files/*", "chmod -R 777 /data/service/el2/100/hmdfs/account/files/*", "hilog -Q pidoff", "hilog -p off", "hilog -b I", "hilog -b D -D 0xD002B70", "scanner", "sleep 10" ], "teardown-command":[ "hilog -b X -D 0xD002B70" ] }, { "test-file-name": [ "ActsUserFileMgrAlbumJsTest.hap" ], "type": "AppInstallKit", "cleanup-apps": true } ] }