Test.json 682 字节
Newer Older
1 2 3 4 5 6 7 8 9 10
{
	"description": "Configuration for MiscservicesRequestJSApiTest js api Tests",
	"driver": {
		"type": "JSUnitTest",
		"test-timeout": "4200000",
		"package": "com.example.myapplication.hmservice",
		"shell-timeout": "60000"
	},
	"kits": [
		{
高曦 已提交
11
			"test-file-name": ["ActsMiscservicesRequestJSApiTest.hap"],
12 13 14 15 16 17 18 19 20 21 22 23
			"type": "AppInstallKit",
			"cleanup-apps": true
		},
		{
            "type": "ShellKit",
            "run-command": [
                "mkdir -p /data/accounts/account_0/appdata/com.example.myapplication.hmservice/cache",
                "echo \"123456\" > /data/accounts/account_0/appdata/com.example.myapplication.hmservice/cache/test.txt"
            ]
        }
	]
}