• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2022-2023 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/**
17 * @file
18 * @kit TestKit
19 */
20
21/*** if arkts 1.1&1.2 */
22import abilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry';
23import TestRunner from '@ohos.application.testRunner';
24import {
25  Component, DisplayRotation, Driver, MatchPattern, MouseButton, ON, On, PointerMatrix, ResizeDirection,
26  UIElementInfo, UIEventObserver, UiDirection, UiWindow, WindowMode, Point, WindowFilter,
27  Rect, TouchPadSwipeOptions, InputTextMode
28} from '@ohos.UiTest';
29/*** endif */
30
31import {PerfMetric, PerfTestStrategy, PerfMeasureResult, PerfTest} from '@ohos.test.PerfTest';
32
33import {
34  UiComponent, UiDriver, BY, By
35} from '@ohos.UiTest';
36export {
37  BY, By, Component, DisplayRotation, Driver, MatchPattern, MouseButton, ON, On, PointerMatrix, ResizeDirection,
38  TestRunner, UIElementInfo, UIEventObserver, UiComponent, UiDirection, UiDriver, UiWindow,
39  WindowMode, abilityDelegatorRegistry, Point, WindowFilter, Rect, TouchPadSwipeOptions, InputTextMode,
40  PerfMetric, PerfTestStrategy, PerfMeasureResult, PerfTest
41};
42
43/*** if arkts 1.2 */
44export {
45  Component, DisplayRotation, Driver, MatchPattern, MouseButton, ON, On, PointerMatrix, ResizeDirection,
46  TestRunner, UIElementInfo, UIEventObserver, UiDirection, UiWindow, InputTextMode,
47  WindowMode, abilityDelegatorRegistry, Point, WindowFilter, Rect, TouchPadSwipeOptions
48};
49/*** endif */
50