• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "description": "Configuration for hjunit demo Tests",
3    "driver": {
4        "type": "ValidatorTest",
5        "bundle-name": "com.example.actsvalidator",
6        "package-name": "com.example.actsvalidator",
7        "xml_path": "/data/app/el2/100/base/com.example.actsvalidator/haps/entry/files/Test.xml"
8    },
9    "kits": [
10        {
11            "test-file-name": [
12                "validator.hap",
13                "UninstallTest.hap"
14            ],
15            "type": "AppInstallKit",
16            "cleanup-apps": false
17        },
18        {
19            "type": "ShellKit",
20            "run-command": [
21                "hilog -Q pidoff"
22            ]
23        },
24        {
25            "type": "CommandKit",
26            "shell": [
27                {
28                    "name": "shell",
29                    "value": "\"SP_daemon &\""
30                },
31                {
32                    "name": "shell",
33                    "value": "aa start -a MainAbility -b com.example.actsvalidator"
34                },
35                {
36                    "name": "push",
37                    "value": "picture->/storage/media/100/local/files/Pictures"
38                },
39                {
40                    "name": "shell",
41                    "value": "mediatool send /storage/media/100/local/files/Pictures"
42                }
43            ]
44        },
45        {
46            "type": "PushKit",
47            "push": [
48                "AAC160001.aac->/data/app/el2/100/base/com.example.actsvalidator/haps/entry/files/AAC160001.aac",
49                "AAC48000321.aac->/data/app/el2/100/base/com.example.actsvalidator/haps/entry/files/AAC48000321.aac",
50                "FLAC48000321.flac->/data/app/el2/100/base/com.example.actsvalidator/haps/entry/files/FLAC48000321.flac",
51                "MP348000321.mp3->/data/app/el2/100/base/com.example.actsvalidator/haps/entry/files/MP348000321.mp3",
52                "MPEG448000321.m4a->/data/app/el2/100/base/com.example.actsvalidator/haps/entry/files/MPEG448000321.m4a",
53                "OGG480001.ogg->/data/app/el2/100/base/com.example.actsvalidator/haps/entry/files/OGG480001.ogg",
54                "vorbis48000321.wav->/data/app/el2/100/base/com.example.actsvalidator/haps/entry/files/vorbis48000321.wav",
55                "h264Mp3.mkv->/data/app/el2/100/base/com.example.actsvalidator/haps/entry/files/h264Mp3.mkv",
56                "h264Mp3.mp4->/data/app/el2/100/base/com.example.actsvalidator/haps/entry/files/h264Mp3.mp4"
57            ],
58            "uninstall": false
59        },
60        {
61            "type": "ShellKit",
62            "run-command": [
63                "scanner"
64            ]
65        }
66    ]
67}