1 /* 2 * Copyright (C) 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 #ifndef HILOG_LITE_TEST_H 17 #define HILOG_LITE_TEST_H 18 #define private public 19 20 #include <cstdint> 21 #include <cstring> 22 23 #include "gtest/gtest.h" 24 #include "hilog_module.h" 25 #include "jsi/jsi.h" 26 #include "hilog_realloc.h" 27 #include "hilog_string.h" 28 #include "hilog_vector.h" 29 #include "hilog_wrapper.h" 30 31 namespace OHOS { 32 namespace ACELite { 33 class HilogLiteTest : public testing::Test { 34 public: 35 // SetUpTestCase: before all testcasee 36 static void SetUpTestCase(void); 37 // TearDownTestCase: after all testcase 38 static void TearDownTestCase(void); 39 // SetUp 40 void SetUp(void); 41 // TearDown 42 void TearDown(void); 43 }; 44 } // namespace ACELite 45 } // namespace OHOS 46 #endif // HILOG_LITE_TEST_H