mavtables
0.2.1
MAVLink router and firewall.
|
#include <stdexcept>
#include <utility>
#include <catch.hpp>
#include <fakeit.hpp>
#include "If.hpp"
#include "MAVAddress.hpp"
#include "MAVSubnet.hpp"
#include "Packet.hpp"
#include "utility.hpp"
Go to the source code of this file.
Functions | |
TEST_CASE ("If's are constructable.", "[If]") | |
TEST_CASE ("If's are comparable.", "[If]") | |
TEST_CASE ("If's are copyable.", "[If]") | |
TEST_CASE ("If's are movable.", "[If]") | |
TEST_CASE ("If's are assignable.", "[If]") | |
TEST_CASE ("If's 'check' method determines if a packet and destination" "address matches the conditional.", "[If]") | |
TEST_CASE ("If's 'type' method sets the packet ID for matching.", "[If]") | |
TEST_CASE ("If's 'from' method sets the source subnet to match.", "[If]") | |
TEST_CASE ("If's 'to' method sets the source subnet to match.", "[If]") | |
TEST_CASE ("If's are printable.", "[If]") | |
Variables | |
If | if_b (11, MAVSubnet("255.255"), {}) |
if_a = std::move(if_b) | |
TEST_CASE | ( | "If's are constructable." | , |
"" | [If] | ||
) |
Definition at line 34 of file test_If.cpp.
TEST_CASE | ( | "If's are comparable." | , |
"" | [If] | ||
) |
Definition at line 68 of file test_If.cpp.
TEST_CASE | ( | "If's are copyable." | , |
"" | [If] | ||
) |
Definition at line 139 of file test_If.cpp.
TEST_CASE | ( | "If's are movable." | , |
"" | [If] | ||
) |
Definition at line 147 of file test_If.cpp.
TEST_CASE | ( | "If's are assignable." | , |
"" | [If] | ||
) |
Definition at line 155 of file test_If.cpp.
TEST_CASE | ( | "If's 'check' method determines if a packet and destination" "address matches the conditional." | , |
"" | [If] | ||
) |
Definition at line 175 of file test_If.cpp.
TEST_CASE | ( | "If's 'type' method sets the packet ID for matching." | , |
"" | [If] | ||
) |
Definition at line 259 of file test_If.cpp.
TEST_CASE | ( | "If's 'from' method sets the source subnet to match." | , |
"" | [If] | ||
) |
Definition at line 300 of file test_If.cpp.
TEST_CASE | ( | "If's 'to' method sets the source subnet to match." | , |
"" | [If] | ||
) |
Definition at line 325 of file test_If.cpp.
TEST_CASE | ( | "If's are printable." | , |
"" | [If] | ||
) |
Definition at line 350 of file test_If.cpp.
if_a = std::move(if_b) |
Definition at line 170 of file test_If.cpp.