mavtables  0.2.1
MAVLink router and firewall.
Functions
test_UnixUDPSocket.cpp File Reference
#include <algorithm>
#include <chrono>
#include <cstdint>
#include <cstring>
#include <system_error>
#include <catch.hpp>
#include <errno.h>
#include <fakeit.hpp>
#include "UnixSyscalls.hpp"
#include "UnixUDPSocket.hpp"
#include "utility.hpp"
#include "common.hpp"
Include dependency graph for test_UnixUDPSocket.cpp:

Go to the source code of this file.

Functions

 TEST_CASE ("UnixUDPSocket's create and bind a UDP socket on construction and " "closes the socket on destruction.", "[UnixUDPSocket]")
 
 TEST_CASE ("UnixUDPSocket's 'send' method sends data on the socket.", "[UnixUDPSocket]")
 
 TEST_CASE ("UnixUDPSocket's 'receive' method receives data on the socket.", "[UnixUDPSocket]")
 
 TEST_CASE ("UnixUDPSocket's are printable.", "[UnixUDPSocket]")
 

Function Documentation

◆ TEST_CASE() [1/4]

TEST_CASE ( "UnixUDPSocket's create and bind a UDP socket on construction and " "closes the socket on destruction."  ,
""  [UnixUDPSocket] 
)

Definition at line 38 of file test_UnixUDPSocket.cpp.

◆ TEST_CASE() [2/4]

TEST_CASE ( "UnixUDPSocket's 'send' method sends data on the socket."  ,
""  [UnixUDPSocket] 
)

Definition at line 179 of file test_UnixUDPSocket.cpp.

◆ TEST_CASE() [3/4]

TEST_CASE ( "UnixUDPSocket's 'receive' method receives data on the socket."  ,
""  [UnixUDPSocket] 
)

Definition at line 284 of file test_UnixUDPSocket.cpp.

References mock_unique().

Here is the call graph for this function:

◆ TEST_CASE() [4/4]

TEST_CASE ( "UnixUDPSocket's are printable."  ,
""  [UnixUDPSocket] 
)

Definition at line 721 of file test_UnixUDPSocket.cpp.