simple-socket library 1.2.0
UnixDatagramSocket_TEST.cpp File Reference
#include <cppunit/extensions/HelperMacros.h>
#include "../UnixDatagramSocket.h"
#include <unistd.h>
#include <cstring>
Include dependency graph for UnixDatagramSocket_TEST.cpp:

Go to the source code of this file.

Functions

 CPPUNIT_TEST_SUITE_REGISTRATION (UnixDatagramSocket_TEST)
 

Variables

static const int len = sizeof(send_msg)
 
static char recv_msg [sizeof(send_msg)]
 
static const char send_msg [] = "The quick brown fox jumps over the lazy dog"
 
static const char sock_file [] = "/tmp/simple-socket_test.sock"
 

Function Documentation

◆ CPPUNIT_TEST_SUITE_REGISTRATION()

CPPUNIT_TEST_SUITE_REGISTRATION ( UnixDatagramSocket_TEST )

Variable Documentation

◆ sock_file

const char sock_file[] = "/tmp/simple-socket_test.sock"
static

Definition at line 7 of file UnixDatagramSocket_TEST.cpp.

◆ send_msg

const char send_msg[] = "The quick brown fox jumps over the lazy dog"
static

Definition at line 8 of file UnixDatagramSocket_TEST.cpp.

◆ recv_msg

char recv_msg[sizeof(send_msg)]
static

Definition at line 9 of file UnixDatagramSocket_TEST.cpp.

◆ len

const int len = sizeof(send_msg)
static

Definition at line 10 of file UnixDatagramSocket_TEST.cpp.