|
EX-Display
EX-Display
|
#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>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. | |
| TEST_F | ( | ControllerTests | , |
| CreateController | |||
| ) |
Create a Controller and check all attributes are valid.
| TEST_F | ( | ControllerTests | , |
| TestInvalidUpdate | |||
| ) |
Ensure update() method correctly ignores an invalid stream input.
| TEST_F | ( | ControllerTests | , |
| TestUpdate | |||
| ) |
Ensure update() method correctly calls the mock callback.