Test.json 863 字节
Newer Older
1 2 3 4 5 6
{
  "description": "Configuration for hjunit demo Tests",
  "driver": {
    "type": "OHJSUnitTest",
    "test-timeout": "900000",
    "shell-timeout": "900000",
7
    "testcase-timeout": "60000",
8 9
    "bundle-name": "com.openharmony.cryptoFramework2",
    "package-name": "com.openharmony.cryptoFramework2"
10 11 12
  },
  "kits": [
    {
13
      "test-file-name": ["ActsCryptoFrameworkJSNormalTwoTest.hap"],
14 15 16 17 18 19 20 21 22 23
      "type": "AppInstallKit",
      "cleanup-apps": true
    },
    {
      "type": "ShellKit",
      "run-command": ["remount", "mkdir /data/test"]
    },
    {
      "type": "PushKit",
      "push": [
24
        "ActsCryptoFrameworkJSNormalTwoTest.hap->/data/test/ActsCryptoFrameworkJSNormalTwoTest.hap"
25 26 27 28 29 30 31 32
      ]
    },
    {
      "type": "ShellKit",
      "run-command": ["chmod 644 /data/test/*.hap", "chmod 777 -R data"]
    }
  ]
}