EX-Display
EX-Display
Loading...
Searching...
No Matches
test_TouchScreenInput.cpp File Reference
#include "test/mocks/MockCallback.h"
#include "test/mocks/MockTouchScreenInput.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
Include dependency graph for test_TouchScreenInput.cpp:

Classes

class  TouchScreenInputTests
 Test harness for touch screen inputs requiring calculation of where the user has touched to be converted to a valid InputAction. More...
 

Functions

 TEST_F (TouchScreenInputTests, TestAttributes)
 Simple test of attributes related to calibration of touch screens and reliance on a display instance.
 
 TEST_F (TouchScreenInputTests, ValidateAreaCalculation)
 Simple test to validate the formula for calculating the correct InputAction works.
 

Function Documentation

◆ TEST_F() [1/2]

TEST_F ( TouchScreenInputTests  ,
TestAttributes   
)

Simple test of attributes related to calibration of touch screens and reliance on a display instance.

◆ TEST_F() [2/2]

TEST_F ( TouchScreenInputTests  ,
ValidateAreaCalculation   
)

Simple test to validate the formula for calculating the correct InputAction works.