EX-Display
EX-Display
Loading...
Searching...
No Matches
test_DisplayManager.cpp File Reference
#include "DisplayManager.h"
#include "Version.h"
#include "test/mocks/MockDisplay.h"
#include <gtest/gtest.h>
Include dependency graph for test_DisplayManager.cpp:

Classes

class  DisplayManagerTests
 Test harness for testing DisplayManager. More...
 

Functions

 TEST_F (DisplayManagerTests, CreateDisplayManager)
 Create DisplayManager and validate attributes are as expected.
 
 TEST_F (DisplayManagerTests, CreateDisplayList)
 Create a list of mock displays and validate they are created and operate correctly.
 
 TEST_F (DisplayManagerTests, GetDisplayById)
 Validate displays can be retrieved by their ID.
 
 TEST_F (DisplayManagerTests, StartDisplays)
 Validate the startDisplays() method correctly calls all display begin() methods.
 
 TEST_F (DisplayManagerTests, DisplayStartupInfo)
 Validate the displayStartupInfo() method correct calls all display methods.
 

Function Documentation

◆ TEST_F() [1/5]

TEST_F ( DisplayManagerTests  ,
CreateDisplayList   
)

Create a list of mock displays and validate they are created and operate correctly.

Here is the call graph for this function:

◆ TEST_F() [2/5]

TEST_F ( DisplayManagerTests  ,
CreateDisplayManager   
)

Create DisplayManager and validate attributes are as expected.

Here is the call graph for this function:

◆ TEST_F() [3/5]

TEST_F ( DisplayManagerTests  ,
DisplayStartupInfo   
)

Validate the displayStartupInfo() method correct calls all display methods.

Here is the call graph for this function:

◆ TEST_F() [4/5]

TEST_F ( DisplayManagerTests  ,
GetDisplayById   
)

Validate displays can be retrieved by their ID.

Here is the call graph for this function:

◆ TEST_F() [5/5]

TEST_F ( DisplayManagerTests  ,
StartDisplays   
)

Validate the startDisplays() method correctly calls all display begin() methods.

Here is the call graph for this function: