• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2021 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
16export const AbilityInfoMock = {
17    bundleName: "string",
18    name: "string",
19    label: "string",
20    description: "string",
21    icon: "string",
22    labelId: 1,
23    descriptionId: 2,
24    iconId: 3,
25    moduleName: "string",
26    process: "string",
27    targetAbility: "string",
28    backgroundModes: 4,
29    isVisible: true,
30    formEnabled: true,
31    type: "bundle.AbilityType",
32    subType: "bundle.AbilitySubType",
33    orientation: "bundle.DisplayOrientation",
34    launchMode: "bundle.LaunchMode",
35    permissions: ["1"],
36    deviceTypes: ["2"],
37    deviceCapabilities: ["3"],
38    readPermission: "string",
39    writePermission: "string",
40    applicationInfo: {
41        packageName: "[PC preview] unknown package name",
42        className: "[PC preview] unknown class name",
43        name: "[PC preview] unknown name",
44        labelId: 1,
45        iconId: 2,
46        sourceDir: "[PC preview] unknown source dir",
47        flags: 3,
48        customizeData: {
49            key: "[PC preview] unknown key",
50            value: {
51                CustomizeData: {
52                    name: "[PC preview] unknown name",
53                    value: "[PC preview] unknown value",
54                }
55            }
56        }
57    },
58    formEntity: 5,
59    minFormHeight: 6,
60    defaultFormHeight: 7,
61    minFormWidth: 8,
62    defaultFormWidth: 9,
63    uri: "string",
64    customizeData: {
65        key: "[PC preview] unknown key",
66        value: [
67            {
68                CustomizeData: {
69                    name: "[PC preview] unknown name",
70                    value: "[PC preview] unknown value",
71                },
72            },
73            {
74                CustomizeData: {
75                    name: "[PC preview] unknown name",
76                    value: "[PC preview] unknown value",
77                },
78            }
79        ]
80    },
81}