1/*
2 * Copyright (C) 2024 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15{
16  "module": {
17    "name": "entry_test",
18    "type": "feature",
19    "description": "$string:module_test_desc",
20    "mainElement": "TestAbility",
21    "deviceTypes": [
22      "default",
23      "tablet"
24    ],
25    "deliveryWithInstall": true,
26    "installationFree": false,
27    "pages": "$profile:test_pages",
28    "abilities": [
29      {
30        "name": "TestAbility",
31        "srcEntry": "./ets/testability/TestAbility.ets",
32        "description": "$string:TestAbility_desc",
33        "icon": "$media:icon",
34        "label": "$string:TestAbility_label",
35        "exported": true,
36        "startWindowIcon": "$media:icon",
37        "startWindowBackground": "$color:start_window_background",
38        "skills": [
39          {
40            "actions": [
41              "action.system.home"
42            ],
43            "entities": [
44              "entity.system.home"
45            ]
46          }
47        ]
48      },
49      {
50        "name": "TestWantShowModeAbility",
51        "srcEntry": "./ets/testability/TestWantShowModeAbility.ets",
52        "description": "$string:TestAbility_desc",
53        "icon": "$media:icon",
54        "label": "$string:TestAbility_label",
55        "exported": true,
56        "startWindowIcon": "$media:icon",
57        "startWindowBackground": "$color:start_window_background"
58      },
59      {
60        "name": "TestWantShowModeWindowAbility",
61        "srcEntry": "./ets/testability/TestWantShowModeWindowAbility.ets",
62        "description": "$string:TestAbility_desc",
63        "icon": "$media:icon",
64        "label": "$string:TestAbility_label",
65        "exported": true,
66        "startWindowIcon": "$media:icon",
67        "startWindowBackground": "$color:start_window_background"
68      },
69      {
70        "name": "TestWantShowModeOtherFullAbility",
71        "srcEntry": "./ets/testability/TestWantShowModeOtherFullAbility.ets",
72        "description": "$string:TestAbility_desc",
73        "icon": "$media:icon",
74        "label": "$string:TestAbility_label",
75        "exported": true,
76        "startWindowIcon": "$media:icon",
77        "startWindowBackground": "$color:start_window_background"
78      },
79      {
80        "name": "TestWantShowModeOtherWindowAbility",
81        "srcEntry": "./ets/testability/TestWantShowModeOtherWindowAbility.ets",
82        "description": "$string:TestAbility_desc",
83        "icon": "$media:icon",
84        "label": "$string:TestAbility_label",
85        "exported": true,
86        "startWindowIcon": "$media:icon",
87        "startWindowBackground": "$color:start_window_background"
88      }
89    ],
90    "extensionAbilities": [
91      {
92        "name": "UIExtensionProvider",
93        "srcEntry": "./ets/testability/UIExtensionProvider.ets",
94        "description": "UIExtensionProvider",
95        "exported": true,
96        "icon": "$media:icon",
97        "type": "action",
98        "visible": true
99      }
100    ],
101    "libIsolation": true
102  }
103}
104