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

Go to the source code of this file.

Functions

int main (void)
 
void str_recv_from (void *s_, char **ptr_content_, char **ptr_address_)
 
SETUP_TEARDOWN_TESTCONTEXT void str_send_to (void *s_, const char *content_, const char *address_)
 
void test_connect_fails ()
 
void test_roundtrip ()
 

Variables

static const char test_answer [] = "Yes, there is !"
 
static const char test_question [] = "Is someone there ?"
 

Function Documentation

◆ main()

int main ( void  )

Definition at line 72 of file test_dgram.cpp.

◆ str_recv_from()

void str_recv_from ( void s_,
char **  ptr_content_,
char **  ptr_address_ 
)

Definition at line 17 of file test_dgram.cpp.

◆ str_send_to()

SETUP_TEARDOWN_TESTCONTEXT void str_send_to ( void s_,
const char *  content_,
const char *  address_ 
)

Definition at line 11 of file test_dgram.cpp.

◆ test_connect_fails()

void test_connect_fails ( )

Definition at line 29 of file test_dgram.cpp.

◆ test_roundtrip()

void test_roundtrip ( )

Definition at line 40 of file test_dgram.cpp.

Variable Documentation

◆ test_answer

const char test_answer[] = "Yes, there is !"
static

Definition at line 27 of file test_dgram.cpp.

◆ test_question

const char test_question[] = "Is someone there ?"
static

Definition at line 26 of file test_dgram.cpp.



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