| 1 | // SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd. |
| 2 | // |
| 3 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 4 | |
| 5 | #include "DebugTimeManager.h" |
| 6 | #include <stub.h> |
| 7 | #include <gtest/gtest.h> |
| 8 | |
| 9 | |
| 10 | TEST(UT_DebugTimeManager_clear, UT_DebugTimeManager_clear_001) |
| 11 | { |
| 12 | DebugTimeManager *Dtime = new DebugTimeManager(); |
| 13 | ASSERT_TRUE(Dtime); |
| 14 | Dtime->clear(); |
| 15 | delete Dtime; |
| 16 | } |