theCore C++ embedded framework
|
#include "dev/bus.hpp"
#include "mocks/platform_bus.hpp"
#include <CppUTest/CommandLineTestRunner.h>
Typedefs | |
using | bus_t = ecl::generic_bus< platform_mock > |
Functions | |
TEST_GROUP (bus) | |
TEST (bus, init) | |
TEST (bus, lock_unlock) | |
TEST (bus, continuation_mode_xfer) | |
TEST_GROUP (bus_is_ready) | |
TEST (bus_is_ready, set_buffers_invalid) | |
TEST (bus_is_ready, set_buffers) | |
TEST (bus_is_ready, set_buffers_non_equal_size) | |
TEST (bus_is_ready, size_is_zero) | |
TEST (bus_is_ready, consequent_calls_and_buffers_reset) | |
TEST (bus_is_ready, fill_tx) | |
TEST (bus_is_ready, xfer_error) | |
TEST (bus_is_ready, async_xfer_error) | |
TEST (bus_is_ready, async_xfer_valid) | |
TEST (bus_is_ready, async_deffered) | |
TEST (bus_is_ready, cancel_async_xfer) | |
TEST (bus_is_ready, cancel_deferred_xfer) | |
TEST (bus_is_ready, xfer_timeout) | |
int | main (int argc, char *argv[]) |
using bus_t = ecl::generic_bus<platform_mock> |
TEST_GROUP | ( | bus | ) |
TEST | ( | bus | , |
init | |||
) |
TEST | ( | bus | , |
lock_unlock | |||
) |
TEST | ( | bus | , |
continuation_mode_xfer | |||
) |
TEST_GROUP | ( | bus_is_ready | ) |
TEST | ( | bus_is_ready | , |
set_buffers_invalid | |||
) |
TEST | ( | bus_is_ready | , |
set_buffers | |||
) |
TEST | ( | bus_is_ready | , |
set_buffers_non_equal_size | |||
) |
TEST | ( | bus_is_ready | , |
size_is_zero | |||
) |
TEST | ( | bus_is_ready | , |
consequent_calls_and_buffers_reset | |||
) |
TEST | ( | bus_is_ready | , |
fill_tx | |||
) |
TEST | ( | bus_is_ready | , |
xfer_error | |||
) |
TEST | ( | bus_is_ready | , |
async_xfer_error | |||
) |
TEST | ( | bus_is_ready | , |
async_xfer_valid | |||
) |
TEST | ( | bus_is_ready | , |
async_deffered | |||
) |
TEST | ( | bus_is_ready | , |
cancel_async_xfer | |||
) |
TEST | ( | bus_is_ready | , |
cancel_deferred_xfer | |||
) |
TEST | ( | bus_is_ready | , |
xfer_timeout | |||
) |
int main | ( | int | argc, |
char * | argv[] | ||
) |