|
LibJuno 1.0.4
LibJuno is a lightweight C11 library designed specifically for embedded systems.
|
#include <gtest/gtest.h>#include <cstring>#include "sender_app.h"#include "udp_msg_api.h"#include "monitor_app.h"#include "udp_bridge_app.h"#include "processor_app.h"
Data Structures | |
| class | SenderAppTest |
| class | MonitorAppTest |
| class | UdpBridgeAppTest |
| class | ProcessorAppTest |
Functions | |
| static JUNO_STATUS_T | UdpStub_Send (JUNO_UDP_ROOT_T *ptRoot, const UDP_THREAD_MSG_T *ptMsg) |
| static JUNO_STATUS_T | UdpStub_Receive (JUNO_UDP_ROOT_T *ptRoot, UDP_THREAD_MSG_T *ptMsg) |
| static JUNO_STATUS_T | UdpStub_Free (JUNO_UDP_ROOT_T *ptRoot) |
| static JUNO_STATUS_T | TestOnStart (JUNO_APP_ROOT_T *ptApp) |
| static JUNO_STATUS_T | TestOnProcess (JUNO_APP_ROOT_T *ptApp) |
| static JUNO_STATUS_T | TestOnExit (JUNO_APP_ROOT_T *ptApp) |
| static void | ResetDispatchFlags (void) |
| TEST_F (SenderAppTest, InitNullAppReturnsNullptrError) | |
| TEST_F (SenderAppTest, InitNullUdpReturnsNullptrError) | |
| TEST_F (SenderAppTest, InitNullBrokerReturnsNullptrError) | |
| TEST_F (SenderAppTest, InitHappyPathWiresVtableAndStoresPointers) | |
| TEST_F (SenderAppTest, InitNullFailureHandlerIsAccepted) | |
| TEST_F (SenderAppTest, VtableDispatchOnStart) | |
| TEST_F (SenderAppTest, VtableDispatchOnProcess) | |
| TEST_F (SenderAppTest, VtableDispatchOnExit) | |
| TEST_F (SenderAppTest, ProductionVtableOnStartReturnsSuccess) | |
| TEST_F (SenderAppTest, ProductionVtableOnProcessReturnsSuccess) | |
| TEST_F (SenderAppTest, ProductionVtableOnExitReturnsSuccess) | |
| TEST_F (MonitorAppTest, InitNullAppReturnsNullptrError) | |
| TEST_F (MonitorAppTest, InitNullBrokerReturnsNullptrError) | |
| TEST_F (MonitorAppTest, InitNullPipeArrayReturnsNullptrError) | |
| TEST_F (MonitorAppTest, InitHappyPathWiresVtableAndStoresPointers) | |
| TEST_F (MonitorAppTest, InitNullFailureHandlerIsAccepted) | |
| TEST_F (MonitorAppTest, ProductionVtableOnStartReturnsSuccess) | |
| TEST_F (MonitorAppTest, ProductionVtableOnProcessReturnsSuccess) | |
| TEST_F (MonitorAppTest, ProductionVtableOnExitReturnsSuccess) | |
| TEST_F (UdpBridgeAppTest, InitNullAppReturnsNullptrError) | |
| TEST_F (UdpBridgeAppTest, InitNullUdpReturnsNullptrError) | |
| TEST_F (UdpBridgeAppTest, InitNullBrokerReturnsNullptrError) | |
| TEST_F (UdpBridgeAppTest, InitHappyPathWiresVtableAndStoresPointers) | |
| TEST_F (UdpBridgeAppTest, InitNullFailureHandlerIsAccepted) | |
| TEST_F (UdpBridgeAppTest, VtableDispatchOnStart) | |
| TEST_F (UdpBridgeAppTest, VtableDispatchOnProcess) | |
| TEST_F (UdpBridgeAppTest, VtableDispatchOnExit) | |
| TEST_F (UdpBridgeAppTest, ProductionVtableOnStartReturnsSuccess) | |
| TEST_F (UdpBridgeAppTest, ProductionVtableOnProcessReturnsSuccess) | |
| TEST_F (UdpBridgeAppTest, ProductionVtableOnExitReturnsSuccess) | |
| TEST_F (ProcessorAppTest, InitNullAppReturnsNullptrError) | |
| TEST_F (ProcessorAppTest, InitNullBrokerReturnsNullptrError) | |
| TEST_F (ProcessorAppTest, InitNullPipeArrayReturnsNullptrError) | |
| TEST_F (ProcessorAppTest, InitHappyPathWiresVtableAndStoresPointers) | |
| TEST_F (ProcessorAppTest, InitNullFailureHandlerIsAccepted) | |
| TEST_F (ProcessorAppTest, VtableDispatchOnStart) | |
| TEST_F (ProcessorAppTest, VtableDispatchOnProcess) | |
| TEST_F (ProcessorAppTest, VtableDispatchOnExit) | |
| TEST_F (ProcessorAppTest, ProductionVtableOnStartReturnsSuccess) | |
| TEST_F (ProcessorAppTest, ProductionVtableOnProcessReturnsSuccess) | |
| TEST_F (ProcessorAppTest, ProductionVtableOnExitReturnsSuccess) | |
Variables | |
| static JUNO_UDP_ROOT_T | s_tUdpStub |
| static JUNO_SB_BROKER_ROOT_T | s_tBrokerStub |
| static UDPTH_MSG_ARRAY_T | s_tMsgArray |
| static JUNO_SB_PIPE_T * | s_aptBrokerPipeRegistry [4u] |
| static const JUNO_UDP_API_T | s_tUdpStubApi = { UdpStub_Send, UdpStub_Receive, UdpStub_Free } |
| static bool | s_bOnStartCalled = false |
| static bool | s_bOnProcessCalled = false |
| static bool | s_bOnExitCalled = false |
| static const JUNO_APP_API_T | s_tTestAppApi |
|
static |
| TEST_F | ( | MonitorAppTest | , |
| InitHappyPathWiresVtableAndStoresPointers | |||
| ) |
| TEST_F | ( | MonitorAppTest | , |
| InitNullAppReturnsNullptrError | |||
| ) |
| TEST_F | ( | MonitorAppTest | , |
| InitNullBrokerReturnsNullptrError | |||
| ) |
| TEST_F | ( | MonitorAppTest | , |
| InitNullFailureHandlerIsAccepted | |||
| ) |
| TEST_F | ( | MonitorAppTest | , |
| InitNullPipeArrayReturnsNullptrError | |||
| ) |
| TEST_F | ( | MonitorAppTest | , |
| ProductionVtableOnExitReturnsSuccess | |||
| ) |
| TEST_F | ( | MonitorAppTest | , |
| ProductionVtableOnProcessReturnsSuccess | |||
| ) |
| TEST_F | ( | MonitorAppTest | , |
| ProductionVtableOnStartReturnsSuccess | |||
| ) |
| TEST_F | ( | ProcessorAppTest | , |
| InitHappyPathWiresVtableAndStoresPointers | |||
| ) |
| TEST_F | ( | ProcessorAppTest | , |
| InitNullAppReturnsNullptrError | |||
| ) |
| TEST_F | ( | ProcessorAppTest | , |
| InitNullBrokerReturnsNullptrError | |||
| ) |
| TEST_F | ( | ProcessorAppTest | , |
| InitNullFailureHandlerIsAccepted | |||
| ) |
| TEST_F | ( | ProcessorAppTest | , |
| InitNullPipeArrayReturnsNullptrError | |||
| ) |
| TEST_F | ( | ProcessorAppTest | , |
| ProductionVtableOnExitReturnsSuccess | |||
| ) |
| TEST_F | ( | ProcessorAppTest | , |
| ProductionVtableOnProcessReturnsSuccess | |||
| ) |
| TEST_F | ( | ProcessorAppTest | , |
| ProductionVtableOnStartReturnsSuccess | |||
| ) |
| TEST_F | ( | ProcessorAppTest | , |
| VtableDispatchOnExit | |||
| ) |
| TEST_F | ( | ProcessorAppTest | , |
| VtableDispatchOnProcess | |||
| ) |
| TEST_F | ( | ProcessorAppTest | , |
| VtableDispatchOnStart | |||
| ) |
| TEST_F | ( | SenderAppTest | , |
| InitHappyPathWiresVtableAndStoresPointers | |||
| ) |
| TEST_F | ( | SenderAppTest | , |
| InitNullAppReturnsNullptrError | |||
| ) |
| TEST_F | ( | SenderAppTest | , |
| InitNullBrokerReturnsNullptrError | |||
| ) |
| TEST_F | ( | SenderAppTest | , |
| InitNullFailureHandlerIsAccepted | |||
| ) |
| TEST_F | ( | SenderAppTest | , |
| InitNullUdpReturnsNullptrError | |||
| ) |
| TEST_F | ( | SenderAppTest | , |
| ProductionVtableOnExitReturnsSuccess | |||
| ) |
| TEST_F | ( | SenderAppTest | , |
| ProductionVtableOnProcessReturnsSuccess | |||
| ) |
| TEST_F | ( | SenderAppTest | , |
| ProductionVtableOnStartReturnsSuccess | |||
| ) |
| TEST_F | ( | SenderAppTest | , |
| VtableDispatchOnExit | |||
| ) |
| TEST_F | ( | SenderAppTest | , |
| VtableDispatchOnProcess | |||
| ) |
| TEST_F | ( | SenderAppTest | , |
| VtableDispatchOnStart | |||
| ) |
| TEST_F | ( | UdpBridgeAppTest | , |
| InitHappyPathWiresVtableAndStoresPointers | |||
| ) |
| TEST_F | ( | UdpBridgeAppTest | , |
| InitNullAppReturnsNullptrError | |||
| ) |
| TEST_F | ( | UdpBridgeAppTest | , |
| InitNullBrokerReturnsNullptrError | |||
| ) |
| TEST_F | ( | UdpBridgeAppTest | , |
| InitNullFailureHandlerIsAccepted | |||
| ) |
| TEST_F | ( | UdpBridgeAppTest | , |
| InitNullUdpReturnsNullptrError | |||
| ) |
| TEST_F | ( | UdpBridgeAppTest | , |
| ProductionVtableOnExitReturnsSuccess | |||
| ) |
| TEST_F | ( | UdpBridgeAppTest | , |
| ProductionVtableOnProcessReturnsSuccess | |||
| ) |
| TEST_F | ( | UdpBridgeAppTest | , |
| ProductionVtableOnStartReturnsSuccess | |||
| ) |
| TEST_F | ( | UdpBridgeAppTest | , |
| VtableDispatchOnExit | |||
| ) |
| TEST_F | ( | UdpBridgeAppTest | , |
| VtableDispatchOnProcess | |||
| ) |
| TEST_F | ( | UdpBridgeAppTest | , |
| VtableDispatchOnStart | |||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |