Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestGUIControlFactory.cpp File Reference
#include "GUIInfoManager.h"
#include "LangInfo.h"
#include "guilib/GUIAction.h"
#include "guilib/GUIColorManager.h"
#include "guilib/GUIControlFactory.h"
#include "guilib/GUIFont.h"
#include "guilib/GUILabelControl.h"
#include "guilib/GUITexture.h"
#include "guilib/LocalizeStrings.h"
#include "guilib/guiinfo/GUIInfoLabel.h"
#include "utils/SystemInfo.h"
#include "utils/XBMCTinyXML.h"
#include <limits>
#include <string>
#include <gtest/gtest.h>

Classes

class  CGFTestable
 

Functions

 TEST_P (TestGetActions, GetActions)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetActions, testing::ValuesIn(ActionsTests))
 
 TEST_P (TestGetAlignment, GetAlignment)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetAlignment, testing::ValuesIn(AlignmentTests))
 
 TEST_P (TestGetAlignmentY, GetAlignmentY)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetAlignmentY, testing::ValuesIn(AlignmentYTests))
 
 TEST_P (TestAspectRatio, GetAspectRatio)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestAspectRatio, testing::ValuesIn(AspectRatioTests))
 
 TEST_P (TestGetColor, GetColor)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetColor, testing::ValuesIn(ColorTests))
 
 TEST_P (TestGetDimension, GetDimension)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetDimension, testing::ValuesIn(DimensionTests))
 
 TEST_P (TestGetDimensions, GetDimensions)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetDimensions, testing::ValuesIn(DimensionsTests))
 
 TEST_P (TestGetFloatRange, GetFloatRange)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetFloatRange, testing::ValuesIn(FloatRangeTests))
 
 TEST_P (TestGetHitRect, GetHitRect)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetHitRect, testing::ValuesIn(HitRectTests))
 
 TEST_P (TestGetInfoLabel, GetInfoLabel)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetInfoLabel, testing::ValuesIn(InfoLabelTests))
 
 TEST_P (TestGetInfoLabels, GetInfoLabels)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetInfoLabels, testing::ValuesIn(InfoLabelsTests))
 
 TEST_P (TestGetIntRange, GetIntRange)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetIntRange, testing::ValuesIn(IntRangeTests))
 
 TEST_P (TestGetMovingSpeed, GetMovingSpeed)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetMovingSpeed, testing::ValuesIn(MovingSpeedTests))
 
 TEST_P (TestGetPosition, GetPosition)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetPosition, testing::ValuesIn(PositionTests))
 
 TEST_P (TestGetScroller, GetScroller)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetScroller, testing::ValuesIn(ScrollerTests))
 
 TEST_P (TestGetString, GetString)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetString, testing::ValuesIn(StringTests))
 
 TEST_P (TestGetTexture, GetTexture)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetTexture, testing::ValuesIn(TextureTests))
 
 TEST_P (TestGetType, GetType)
 
 INSTANTIATE_TEST_SUITE_P (TestGUIControlFactory, TestGetType, testing::ValuesIn(TypeTests))
 

Function Documentation

◆ INSTANTIATE_TEST_SUITE_P() [1/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestAspectRatio ,
testing::ValuesIn(AspectRatioTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [2/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetActions ,
testing::ValuesIn(ActionsTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [3/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetAlignment ,
testing::ValuesIn(AlignmentTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [4/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetAlignmentY ,
testing::ValuesIn(AlignmentYTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [5/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetColor ,
testing::ValuesIn(ColorTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [6/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetDimension ,
testing::ValuesIn(DimensionTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [7/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetDimensions ,
testing::ValuesIn(DimensionsTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [8/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetFloatRange ,
testing::ValuesIn(FloatRangeTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [9/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetHitRect ,
testing::ValuesIn(HitRectTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [10/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetInfoLabel ,
testing::ValuesIn(InfoLabelTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [11/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetInfoLabels ,
testing::ValuesIn(InfoLabelsTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [12/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetIntRange ,
testing::ValuesIn(IntRangeTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [13/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetMovingSpeed ,
testing::ValuesIn(MovingSpeedTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [14/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetPosition ,
testing::ValuesIn(PositionTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [15/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetScroller ,
testing::ValuesIn(ScrollerTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [16/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetString ,
testing::ValuesIn(StringTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [17/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetTexture ,
testing::ValuesIn(TextureTests)  )

◆ INSTANTIATE_TEST_SUITE_P() [18/18]

INSTANTIATE_TEST_SUITE_P ( TestGUIControlFactory ,
TestGetType ,
testing::ValuesIn(TypeTests)  )

◆ TEST_P() [1/18]

TEST_P ( TestAspectRatio ,
GetAspectRatio  )

◆ TEST_P() [2/18]

TEST_P ( TestGetActions ,
GetActions  )

◆ TEST_P() [3/18]

TEST_P ( TestGetAlignment ,
GetAlignment  )

◆ TEST_P() [4/18]

TEST_P ( TestGetAlignmentY ,
GetAlignmentY  )

◆ TEST_P() [5/18]

TEST_P ( TestGetColor ,
GetColor  )

◆ TEST_P() [6/18]

TEST_P ( TestGetDimension ,
GetDimension  )

◆ TEST_P() [7/18]

TEST_P ( TestGetDimensions ,
GetDimensions  )

◆ TEST_P() [8/18]

TEST_P ( TestGetFloatRange ,
GetFloatRange  )

◆ TEST_P() [9/18]

TEST_P ( TestGetHitRect ,
GetHitRect  )

◆ TEST_P() [10/18]

TEST_P ( TestGetInfoLabel ,
GetInfoLabel  )

◆ TEST_P() [11/18]

TEST_P ( TestGetInfoLabels ,
GetInfoLabels  )

◆ TEST_P() [12/18]

TEST_P ( TestGetIntRange ,
GetIntRange  )

◆ TEST_P() [13/18]

TEST_P ( TestGetMovingSpeed ,
GetMovingSpeed  )

◆ TEST_P() [14/18]

TEST_P ( TestGetPosition ,
GetPosition  )

◆ TEST_P() [15/18]

TEST_P ( TestGetScroller ,
GetScroller  )

◆ TEST_P() [16/18]

TEST_P ( TestGetString ,
GetString  )

◆ TEST_P() [17/18]

TEST_P ( TestGetTexture ,
GetTexture  )

◆ TEST_P() [18/18]

TEST_P ( TestGetType ,
GetType  )