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#ifndef ACELITE_JSFWK_TEST_COMMON_H 16#define ACELITE_JSFWK_TEST_COMMON_H 17 18#ifdef TDD_ASSERTIONS 19#define TDD_CASE_BEGIN() void() 20#define TDD_CASE_END() void() 21#else 22#define TDD_CASE_BEGIN() SetUp() 23#define TDD_CASE_END() TearDown() 24#define EXPECT_STREQ(arg1, args2) void() 25#define EXPECT_TRUE(arg1) void() 26#define EXPECT_EQ(arg1, arg2) void() 27#define EXPECT_NE(arg1, arg2) void() 28#define EXPECT_FALSE(arg1) void() 29#define HWTEST_F(className, funcName, level) void className::funcName() 30#endif 31#endif // ACELITE_JSFWK_TEST_COMMON_H 32