EX-Display
EX-Display
Loading...
Searching...
No Matches
test_Controller.cpp File Reference
#include "AtFinder.h"
#include "Controller.h"
#include "DisplayManager.h"
#include "InputManager.h"
#include "ScreenManager.h"
#include "test/mocks/MockCallback.h"
#include "test/mocks/MockInput.h"
#include "test/mocks/Stream.h"
#include <gtest/gtest.h>
Include dependency graph for test_Controller.cpp:

Classes

class  ControllerTests
 

Functions

 TEST_F (ControllerTests, CreateController)
 Create a Controller and check all attributes are valid.
 
 TEST_F (ControllerTests, TestUpdate)
 Ensure update() method correctly calls the mock callback.
 
 TEST_F (ControllerTests, TestInvalidUpdate)
 Ensure update() method correctly ignores an invalid stream input.
 

Function Documentation

◆ TEST_F() [1/3]

TEST_F ( ControllerTests  ,
CreateController   
)

Create a Controller and check all attributes are valid.

◆ TEST_F() [2/3]

TEST_F ( ControllerTests  ,
TestInvalidUpdate   
)

Ensure update() method correctly ignores an invalid stream input.

Here is the call graph for this function:

◆ TEST_F() [3/3]

TEST_F ( ControllerTests  ,
TestUpdate   
)

Ensure update() method correctly calls the mock callback.

Here is the call graph for this function: