• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
16 #include <thread>
17 #include <unistd.h>
18 #include <vector>
19 #include <gtest/gtest.h>
20 #include "hdf_log.h"
21 #include "osal_mem.h"
22 #include "securec.h"
23 
24 #define HDF_LOG_TAG   driver_manager
25 
26 namespace OHOS {
27 using namespace testing::ext;
28 
29 class DevMgrTest : public testing::Test {
30 public:
31     static void SetUpTestCase();
32     static void TearDownTestCase();
33     void SetUp();
34     void TearDown();
35 };
36 
SetUpTestCase()37 void DevMgrTest::SetUpTestCase()
38 {
39 }
40 
TearDownTestCase()41 void DevMgrTest::TearDownTestCase()
42 {
43 }
44 
SetUp()45 void DevMgrTest::SetUp()
46 {
47 }
48 
TearDown()49 void DevMgrTest::TearDown()
50 {
51 }
52 
53 /*
54 * @tc.name: DriverLoaderTest_001
55 * @tc.desc: driver load test
56 * @tc.type: FUNC
57 * @tc.require: AR000DT1TK
58 */
59 HWTEST_F(DevMgrTest, DriverLoaderTest_001, TestSize.Level1)
60 {
61     bool flag = true;
62     EXPECT_TRUE(flag);
63 }
64 } // namespace OHOS
65