| 1 | // SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd. |
| 2 | // |
| 3 | // SPDX-License-Identifier: GPL-3.0-only |
| 4 | |
| 5 | #ifndef UNITTESTOBJ_H |
| 6 | #define UNITTESTOBJ_H |
| 7 | |
| 8 | #include <bminterface.h> |
| 9 | #include <gtest/gtest.h> |
| 10 | |
| 11 | class UnitTestObj : public testing::Test |
| 12 | { |
| 13 | public: |
| 14 | static void SetUpTestCase(); |
| 15 | static void TearDownTestCase(); |
| 16 | |
| 17 | protected: |
| 18 | // Sets up the test fixture. |
| 19 | virtual void SetUp() override; |
| 20 | |
| 21 | // Tears down the test fixture. |
| 22 | virtual void TearDown() override; |
| 23 | |
| 24 | public: |
| 25 | static BMInterface* m_pBMinterFace; |
| 26 | }; |
| 27 | |
| 28 | #endif // UNITTESTOBJ_H |