mavtables
0.2.1
MAVLink router and firewall.
|
#include <algorithm>
#include <chrono>
#include <iterator>
#include <optional>
#include <utility>
#include <catch.hpp>
#include <fakeit.hpp>
#include "IPAddress.hpp"
#include "UDPSocket.hpp"
#include <utility.hpp>
Go to the source code of this file.
Functions | |
TEST_CASE ("UDPSocket's 'send' method accepts a vector of bytes and an address.", "[UDPSocket]") | |
TEST_CASE ("UDPSocket's 'send' method accepts two vector iterators and an " "address.", "[UDPSocket]") | |
TEST_CASE ("UDPSocket's 'receive' method takes a timeout and returns a vector " "of bytes and the IP address that sent them.", "[UDPSocket]") | |
TEST_CASE ("UDPSocket's 'receive' method takes a back inserter and a timeout " "and returns the IP address that sent the bytes written to the " "back inserter.", "[UDPSocket]") | |
TEST_CASE ("UDPSocket's are printable.", "UDPSocket") | |
TEST_CASE | ( | "UDPSocket's 'send' method accepts a vector of bytes and an address." | , |
"" | [UDPSocket] | ||
) |
Definition at line 35 of file test_UDPSocket.cpp.
References UDPSocket::send().
TEST_CASE | ( | "UDPSocket's 'send' method accepts two vector iterators and an " "address." | , |
"" | [UDPSocket] | ||
) |
Definition at line 64 of file test_UDPSocket.cpp.
References UDPSocket::send().
TEST_CASE | ( | "UDPSocket's 'receive' method takes a timeout and returns a vector " "of bytes and the IP address that sent them." | , |
"" | [UDPSocket] | ||
) |
Definition at line 92 of file test_UDPSocket.cpp.
References UDPSocket::receive().
TEST_CASE | ( | "UDPSocket's 'receive' method takes a back inserter and a timeout " "and returns the IP address that sent the bytes written to the " "back inserter." | , |
"" | [UDPSocket] | ||
) |
Definition at line 129 of file test_UDPSocket.cpp.
References UDPSocket::receive().
TEST_CASE | ( | "UDPSocket's are printable." | , |
"UDPSocket" | |||
) |
Definition at line 163 of file test_UDPSocket.cpp.