theCore C++ embedded framework
|
#include <ecl/unity_helpers.hpp>
#include <test_gpio.hpp>
#include <platform/exti_manager.hpp>
#include <unity.h>
#include <unity_fixture.h>
Functions | |
static void | test_exti_hanlder (void *ctx) |
TEST_GROUP (exti_basic) | |
TEST_SETUP (exti_basic) | |
TEST_TEAR_DOWN (exti_basic) | |
TEST (exti_basic, subscribe_unsubscribe) | |
TEST (exti_basic, mask_unmask) | |
TEST (exti_basic, handle_presses) | |
Variables | |
static volatile bool | call_is_expected = false |
static volatile bool | call_occur = true |
static void * | expected_ctx = nullptr |
static ecl::exti_manager::handler | test_handler = {} |
|
static |
TEST_GROUP | ( | exti_basic | ) |
TEST_SETUP | ( | exti_basic | ) |
TEST_TEAR_DOWN | ( | exti_basic | ) |
TEST | ( | exti_basic | , |
subscribe_unsubscribe | |||
) |
TEST | ( | exti_basic | , |
mask_unmask | |||
) |
TEST | ( | exti_basic | , |
handle_presses | |||
) |
|
static |
|
static |
|
static |
|
static |