Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestDialogGameCheats.cpp File Reference
#include "GUIInfoManager.h"
#include "GUIUserMessages.h"
#include "LangInfo.h"
#include "ServiceBroker.h"
#include "games/cheats/dialogs/DialogGameCheats.h"
#include "guilib/GUIButtonControl.h"
#include "guilib/GUIComponent.h"
#include "guilib/GUIControlGroupList.h"
#include "guilib/GUILabelControl.h"
#include "guilib/GUIMessage.h"
#include "guilib/GUIRadioButtonControl.h"
#include "guilib/GUIScrollBarControl.h"
#include "guilib/GUITexture.h"
#include "guilib/GUIWindowManager.h"
#include "input/actions/Action.h"
#include "input/actions/ActionIDs.h"
#include "resources/LocalizeStrings.h"
#include "resources/ResourcesComponent.h"
#include "utils/Variant.h"
#include "windowing/WinSystem.h"
#include <memory>
#include <string>
#include <vector>
#include <gtest/gtest.h>

Functions

 TEST_F (TestDialogGameCheats, NoMatchAndRequiredSelectionHaveDistinctStatus)
 
 TEST_F (TestDialogGameCheats, SingleMatchingPackWithNoEnabledCheatsStillMatches)
 
 TEST_F (TestDialogGameCheats, LongListKeepsAllRowsAndNavigationDistinctFromSkinControls)
 
 TEST_F (TestDialogGameCheats, HorizontalNavigationReturnsToTheSelectedRow)
 
 TEST_F (TestDialogGameCheats, HorizontalReturnDuringScrollingKeepsTheSelectedRow)
 
 TEST_F (TestDialogGameCheats, ScrollbarMovementAllowsFocusToFollowTheNewPage)
 
 TEST_F (TestDialogGameCheats, EmptyAndGetMoreOnlyDialogsHaveActionableInitialFocus)
 
 TEST_F (TestDialogGameCheats, RefreshPreservesRowsAndCloseAndHandlesRemovedGetMore)
 
 TEST_F (TestDialogGameCheats, RefreshAfterClosingDoesNotRebuildOrReactivateTheDialog)
 
 TEST_F (TestDialogGameCheats, RefreshPreservesMiddleOfPageRowAndOffset)
 
 TEST_F (TestDialogGameCheats, RefreshPreservesCloseFocusAndRememberedRowWithoutScrolling)
 
 TEST_F (TestDialogGameCheats, RefreshClampsRowIndexToLastRemainingRow)
 
 TEST_F (TestDialogGameCheats, RefreshAfterRemovingGetMoreFocusesLastRow)
 
 TEST_F (TestDialogGameCheats, RefreshWithCloseFocusClampsRememberedRow)
 
 TEST_F (TestDialogGameCheats, RefreshPreservesScrollbarPageAndInvalidatedRowRestoration)
 
 TEST_F (TestDialogGameCheats, RefreshMovesAnInvalidatedFocusedRowToTheScrollbarPage)
 
 TEST_F (TestDialogGameCheats, RefreshDuringScrollingKeepsOffsetAndBringsFocusedRowIntoView)
 
 TEST_F (TestDialogGameCheats, RefreshWithCloseFocusStopsThePreviousScroll)
 
 TEST_F (TestDialogGameCheats, RefreshDuringScrollbarPagingReturnsToTheVisiblePage)
 
 TEST_F (TestDialogGameCheats, RefreshToEmptyStopsThePreviousScroll)
 
 TEST_F (TestDialogGameCheats, RefreshMovesFocusWhenScrollbarBecomesHidden)
 
 TEST_F (TestDialogGameCheats, RefreshWhileClosingKeepsFocusAndOffset)
 
 TEST_F (TestDialogGameCheats, RequiredChooserGetsInitialFocusAndNavigatesToClose)
 
 TEST_F (TestDialogGameCheats, ChooserRefreshPreservesFocusAndListViewport)
 
 TEST_F (TestDialogGameCheats, CancelWithoutSelectionKeepsChooserFocused)
 
 TEST_F (TestDialogGameCheats, ReloadHidingChooserRecoversFocusWithAndWithoutRows)
 
 TEST_F (TestDialogGameCheats, ReloadRemovingSelectedPackFocusesRequiredChooser)
 
 TEST_F (TestDialogGameCheats, ReloadFromScrollbarToAmbiguousMatchesFocusesChooser)
 

Function Documentation

◆ TEST_F() [1/28]

TEST_F ( TestDialogGameCheats ,
CancelWithoutSelectionKeepsChooserFocused  )

◆ TEST_F() [2/28]

TEST_F ( TestDialogGameCheats ,
ChooserRefreshPreservesFocusAndListViewport  )

◆ TEST_F() [3/28]

TEST_F ( TestDialogGameCheats ,
EmptyAndGetMoreOnlyDialogsHaveActionableInitialFocus  )

◆ TEST_F() [4/28]

TEST_F ( TestDialogGameCheats ,
HorizontalNavigationReturnsToTheSelectedRow  )

◆ TEST_F() [5/28]

TEST_F ( TestDialogGameCheats ,
HorizontalReturnDuringScrollingKeepsTheSelectedRow  )

◆ TEST_F() [6/28]

TEST_F ( TestDialogGameCheats ,
LongListKeepsAllRowsAndNavigationDistinctFromSkinControls  )

◆ TEST_F() [7/28]

TEST_F ( TestDialogGameCheats ,
NoMatchAndRequiredSelectionHaveDistinctStatus  )

◆ TEST_F() [8/28]

TEST_F ( TestDialogGameCheats ,
RefreshAfterClosingDoesNotRebuildOrReactivateTheDialog  )

◆ TEST_F() [9/28]

TEST_F ( TestDialogGameCheats ,
RefreshAfterRemovingGetMoreFocusesLastRow  )

◆ TEST_F() [10/28]

TEST_F ( TestDialogGameCheats ,
RefreshClampsRowIndexToLastRemainingRow  )

◆ TEST_F() [11/28]

TEST_F ( TestDialogGameCheats ,
RefreshDuringScrollbarPagingReturnsToTheVisiblePage  )

◆ TEST_F() [12/28]

TEST_F ( TestDialogGameCheats ,
RefreshDuringScrollingKeepsOffsetAndBringsFocusedRowIntoView  )

◆ TEST_F() [13/28]

TEST_F ( TestDialogGameCheats ,
RefreshMovesAnInvalidatedFocusedRowToTheScrollbarPage  )

◆ TEST_F() [14/28]

TEST_F ( TestDialogGameCheats ,
RefreshMovesFocusWhenScrollbarBecomesHidden  )

◆ TEST_F() [15/28]

TEST_F ( TestDialogGameCheats ,
RefreshPreservesCloseFocusAndRememberedRowWithoutScrolling  )

◆ TEST_F() [16/28]

TEST_F ( TestDialogGameCheats ,
RefreshPreservesMiddleOfPageRowAndOffset  )

◆ TEST_F() [17/28]

TEST_F ( TestDialogGameCheats ,
RefreshPreservesRowsAndCloseAndHandlesRemovedGetMore  )

◆ TEST_F() [18/28]

TEST_F ( TestDialogGameCheats ,
RefreshPreservesScrollbarPageAndInvalidatedRowRestoration  )

◆ TEST_F() [19/28]

TEST_F ( TestDialogGameCheats ,
RefreshToEmptyStopsThePreviousScroll  )

◆ TEST_F() [20/28]

TEST_F ( TestDialogGameCheats ,
RefreshWhileClosingKeepsFocusAndOffset  )

◆ TEST_F() [21/28]

TEST_F ( TestDialogGameCheats ,
RefreshWithCloseFocusClampsRememberedRow  )

◆ TEST_F() [22/28]

TEST_F ( TestDialogGameCheats ,
RefreshWithCloseFocusStopsThePreviousScroll  )

◆ TEST_F() [23/28]

TEST_F ( TestDialogGameCheats ,
ReloadFromScrollbarToAmbiguousMatchesFocusesChooser  )

◆ TEST_F() [24/28]

TEST_F ( TestDialogGameCheats ,
ReloadHidingChooserRecoversFocusWithAndWithoutRows  )

◆ TEST_F() [25/28]

TEST_F ( TestDialogGameCheats ,
ReloadRemovingSelectedPackFocusesRequiredChooser  )

◆ TEST_F() [26/28]

TEST_F ( TestDialogGameCheats ,
RequiredChooserGetsInitialFocusAndNavigatesToClose  )

◆ TEST_F() [27/28]

TEST_F ( TestDialogGameCheats ,
ScrollbarMovementAllowsFocusToFollowTheNewPage  )

◆ TEST_F() [28/28]

TEST_F ( TestDialogGameCheats ,
SingleMatchingPackWithNoEnabledCheatsStillMatches  )