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/** 16 * define the testcase type : test type, size , level 17 */ 18if (typeof globalThis !== 'undefined') { 19 globalThis.DEFAULT = 0B0000 20 globalThis.FUNCTION = 0B1 21 globalThis.PERFORMANCE = 0B1 << 1 22 globalThis.POWER = 0B1 << 2 23 globalThis.RELIABILITY = 0B1 << 3 24 globalThis.SECURITY = 0B1 << 4 25 globalThis.GLOBAL = 0B1 << 5 26 globalThis.COMPATIBILITY = 0B1 << 6 27 globalThis.USER = 0B1 << 7 28 globalThis.STANDARD = 0B1 << 8 29 globalThis.SAFETY = 0B1 << 9 30 globalThis.RESILIENCE = 0B1 << 10 31 32 globalThis.SMALLTEST = 0B1 << 16 33 globalThis.MEDIUMTEST = 0B1 << 17 34 globalThis.LARGETEST = 0B1 << 18 35 36 globalThis.LEVEL0 = 0B1 << 24 37 globalThis.LEVEL1 = 0B1 << 25 38 globalThis.LEVEL2 = 0B1 << 26 39 globalThis.LEVEL3 = 0B1 << 27 40 globalThis.LEVEL4 = 0B1 << 28 41} 42