Functions
test_mock_pub_sub.cpp File Reference
#include "testutil.hpp"
#include "testutil_unity.hpp"
#include <stdlib.h>
#include <string.h>
Include dependency graph for test_mock_pub_sub.cpp:

Go to the source code of this file.

Functions

static SETUP_TEARDOWN_TESTCONTEXT int get_monitor_event (void *monitor_)
 
int main (void)
 
static void mock_handshake (fd_t fd_, bool sub_command, bool mock_pub)
 
static void prep_server_socket (void **server_out_, void **mon_out_, char *endpoint_, size_t ep_length_, int socket_type)
 
static void recv_with_retry (fd_t fd_, char *buffer_, int bytes_)
 
void test_mock_pub_command ()
 
void test_mock_pub_legacy ()
 
static void test_mock_pub_sub (bool sub_command_, bool mock_pub_)
 
void test_mock_sub_command ()
 
void test_mock_sub_legacy ()
 

Function Documentation

◆ get_monitor_event()

static SETUP_TEARDOWN_TESTCONTEXT int get_monitor_event ( void monitor_)
static

Definition at line 15 of file test_mock_pub_sub.cpp.

◆ main()

int main ( void  )

Definition at line 215 of file test_mock_pub_sub.cpp.

◆ mock_handshake()

static void mock_handshake ( fd_t  fd_,
bool  sub_command,
bool  mock_pub 
)
static

Definition at line 56 of file test_mock_pub_sub.cpp.

◆ prep_server_socket()

static void prep_server_socket ( void **  server_out_,
void **  mon_out_,
char *  endpoint_,
size_t  ep_length_,
int  socket_type 
)
static

Definition at line 88 of file test_mock_pub_sub.cpp.

◆ recv_with_retry()

static void recv_with_retry ( fd_t  fd_,
char *  buffer_,
int  bytes_ 
)
static

Definition at line 42 of file test_mock_pub_sub.cpp.

◆ test_mock_pub_command()

void test_mock_pub_command ( )

Definition at line 205 of file test_mock_pub_sub.cpp.

◆ test_mock_pub_legacy()

void test_mock_pub_legacy ( )

Definition at line 210 of file test_mock_pub_sub.cpp.

◆ test_mock_pub_sub()

static void test_mock_pub_sub ( bool  sub_command_,
bool  mock_pub_ 
)
static

Definition at line 118 of file test_mock_pub_sub.cpp.

◆ test_mock_sub_command()

void test_mock_sub_command ( )

Definition at line 195 of file test_mock_pub_sub.cpp.

◆ test_mock_sub_legacy()

void test_mock_sub_legacy ( )

Definition at line 200 of file test_mock_pub_sub.cpp.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:04