| 1 |
// SPDX-FileCopyrightText: 2019 - 2026 UnionTech Software Technology Co., Ltd. |
| 2 |
// |
| 3 |
// SPDX-License-Identifier: LGPL-3.0-or-later |
| 4 |
|
| 5 |
#include "test_cscenebackgrounditem.h" |
| 6 |
|
| 7 |
//test_cscenebackgrounditem::test_cscenebackgrounditem() |
| 8 |
//{ |
| 9 |
|
| 10 |
//} |
| 11 |
|
| 12 |
//TEST_F(test_cscenebackgrounditem, setNextItemFocusAndGetNextItem_01) |
| 13 |
//{ |
| 14 |
// mItem->m_showItemIndex = 0; |
| 15 |
// mItem->setNextItemFocusAndGetNextItem(); |
| 16 |
//} |
| 17 |
|
| 18 |
//TEST_F(test_cscenebackgrounditem, setNextItemFocusAndGetNextItem_02) |
| 19 |
//{ |
| 20 |
// mItem->m_showItemIndex = 1; |
| 21 |
// mItem->setNextItemFocusAndGetNextItem(); |
| 22 |
//} |
| 23 |
|
| 24 |
//TEST_F(test_cscenebackgrounditem, setNextItemFocusAndGetNextItem_03) |
| 25 |
//{ |
| 26 |
// mItem->m_showItemIndex = -1; |
| 27 |
// mItem->m_isFocus = true; |
| 28 |
// mItem->setNextItemFocusAndGetNextItem(); |
| 29 |
//} |
| 30 |
|
| 31 |
//TEST_F(test_cscenebackgrounditem, setItemFocus_01) |
| 32 |
//{ |
| 33 |
// mItem->m_showItemIndex = -1; |
| 34 |
// mItem->setItemFocus(true); |
| 35 |
//} |
| 36 |
|
| 37 |
//TEST_F(test_cscenebackgrounditem, setItemFocus_02) |
| 38 |
//{ |
| 39 |
// mItem->m_showItemIndex = 1; |
| 40 |
// mItem->setItemFocus(true); |
| 41 |
//} |
| 42 |
|
| 43 |
//TEST_F(test_cscenebackgrounditem, initState_01) |
| 44 |
//{ |
| 45 |
// mItem->m_showItemIndex = 1; |
| 46 |
// mItem->initState(); |
| 47 |
//} |
| 48 |
|
| 49 |
//TEST_F(test_cscenebackgrounditem, updateCurrentItemShow_01) |
| 50 |
//{ |
| 51 |
// mItem->m_showItemIndex = 1; |
| 52 |
// mItem->updateCurrentItemShow(); |
| 53 |
//} |