• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2021-2022 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
16import { paramMock } from "../../utils"
17import { ModuleInfo } from './moduleInfo';
18import { CustomizeData } from './customizeData';
19import { Metadata } from './metadata';
20import { Resource } from './../global/resource';
21
22export const ApplicationInfo = {
23    name: "[PC preview] unknown name",
24    description: "[PC preview] unknown description",
25    descriptionId: "[PC preview] unknown descriptionId",
26    systemApp: "[PC preview] unknown systemApp",
27    enabled: "[PC preview] unknown enabled",
28    label: "[PC preview] unknown label",
29    labelId: "[PC preview] unknown labelId",
30    icon: "[PC preview] unknown icon",
31    iconId: "[PC preview] unknown iconId",
32    process: "[PC preview] unknown process",
33    supportedModes: "[PC preview] unknown supportedModes",
34    moduleSourceDirs: [paramMock.paramNumberMock],
35    permissions: [paramMock.paramNumberMock],
36    moduleInfos: [ModuleInfo],
37    entryDir: "[PC preview] unknown entryDir",
38    codePath: "[PC preview] unknown codePath",
39    metaData: [CustomizeData],
40    metadata: [Metadata],
41    removable: "[PC preview] unknown removable",
42    accessTokenId: "[PC preview] unknown accessTokenId",
43    uid: "[PC preview] unknown uid",
44    entityType: "[PC preview] unknown entityType",
45    fingerprint: "[PC preview] unknown fingerprint",
46    iconResource: Resource,
47    labelResource: Resource,
48    descriptionResource: Resource,
49    appDistributionType: "[PC preview] unknown appDistributionType",
50    appProvisionType: "[PC preview] unknown appProvisionType",
51}
52
53export const Want = {
54    deviceId: "[PC Preview] unknow deviceId",
55    bundleName: "[PC Preview] unknow bundleName",
56    abilityName: "[PC Preview] unknow abilityName",
57    uri: "[PC Preview] unknow uri",
58    type: "[PC Preview] unknow type",
59    flag: "[PC Preview] unknow flag",
60    action: "[PC Preview] unknow action",
61    parameters: [paramMock.paramStringMock],
62    entities: [paramMock.paramStringMock],
63    moduleName: "[PC Preview] unknow moduleName",
64}