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 #include <gtest/gtest.h> 16 #include "thread_pool.h" 17 #include <cstdio> 18 19 using namespace testing::ext; 20 using namespace OHOS; 21 22 class UtilsSemaphoreTest : public testing::Test 23 { 24 public : 25 static void SetUpTestCase(void); 26 static void TearDownTestCase(void); 27 void SetUp(); 28 void TearDown(); 29 }; 30 SetUpTestCase(void)31void UtilsSemaphoreTest::SetUpTestCase(void) 32 { 33 // input testsuit setup step 34 } 35 TearDownTestCase(void)36void UtilsSemaphoreTest::TearDownTestCase(void) 37 { 38 // input testsuit teardown step 39 } 40 SetUp(void)41void UtilsSemaphoreTest::SetUp(void) 42 { 43 // recover times 44 } 45 TearDown(void)46void UtilsSemaphoreTest::TearDown(void) 47 { 48 // recover times 49 } 50 51 HWTEST_F(UtilsSemaphoreTest, test_01, TestSize.Level0) 52 { 53 EXPECT_EQ(0, 0); 54 } 55 56