EX-Display
EX-Display
|
#include "test/mocks/MockButtonInput.h"
#include "test/mocks/MockCallback.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
Classes | |
class | DebounceHoldInputTests |
Test harness for inputs utilising debounce and hold options. More... | |
Functions | |
TEST_F (DebounceHoldInputTests, TestSingleInputAction) | |
Test case for a single press with no time advance. | |
TEST_F (DebounceHoldInputTests, TestDebouncedAction) | |
Test case for a press that should be debounced. | |
TEST_F (DebounceHoldInputTests, TestHoldAction) | |
Test case for a button hold. | |
TEST_F (DebounceHoldInputTests, TestBouncyInput) | |
Test to validate debounce correctly ignores bouncy inputs. | |
TEST_F | ( | DebounceHoldInputTests | , |
TestBouncyInput | |||
) |
Test to validate debounce correctly ignores bouncy inputs.
TEST_F | ( | DebounceHoldInputTests | , |
TestDebouncedAction | |||
) |
Test case for a press that should be debounced.
TEST_F | ( | DebounceHoldInputTests | , |
TestHoldAction | |||
) |
Test case for a button hold.
TEST_F | ( | DebounceHoldInputTests | , |
TestSingleInputAction | |||
) |
Test case for a single press with no time advance.