xref: /test/testfwk/arkxtest/jsunit/index.ts (revision 886da342)
1886da342Sopenharmony_ci/*
2886da342Sopenharmony_ci * Copyright (c) 2024 Huawei Device Co., Ltd.
3886da342Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
4886da342Sopenharmony_ci * you may not use this file except in compliance with the License.
5886da342Sopenharmony_ci * You may obtain a copy of the License at
6886da342Sopenharmony_ci *
7886da342Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
8886da342Sopenharmony_ci *
9886da342Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
10886da342Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
11886da342Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12886da342Sopenharmony_ci * See the License for the specific language governing permissions and
13886da342Sopenharmony_ci * limitations under the License.
14886da342Sopenharmony_ci */
15886da342Sopenharmony_ci
16886da342Sopenharmony_ciimport { TestType, Size, Level } from "./src/Constant";
17886da342Sopenharmony_ci
18886da342Sopenharmony_ciexport declare function xdescribe(testSuiteName: string, func: Function): void;
19886da342Sopenharmony_ci
20886da342Sopenharmony_ciexport declare namespace xdescribe {
21886da342Sopenharmony_ci    function reason(reason: string): any;
22886da342Sopenharmony_ci};
23886da342Sopenharmony_ci
24886da342Sopenharmony_ciexport declare function describe(testSuiteName: string, func: Function): void;
25886da342Sopenharmony_ci
26886da342Sopenharmony_ciexport declare function xit(testCaseName: string, attribute: TestType | Size | Level, func: Function): void;
27886da342Sopenharmony_ci
28886da342Sopenharmony_ciexport declare namespace xit {
29886da342Sopenharmony_ci    function reason(reason: string): any;
30886da342Sopenharmony_ci};
31886da342Sopenharmony_ci
32886da342Sopenharmony_ciexport declare function it(testCaseName: string, attribute: TestType | Size | Level, func: Function): void;
33