|
mavtables
0.2.1
MAVLink router and firewall.
|
#include <cstdint>#include <memory>#include <optional>#include <string>#include <utility>#include <vector>#include <catch.hpp>#include <fakeit.hpp>#include "Connection.hpp"#include "Filter.hpp"#include "MAVAddress.hpp"#include "Packet.hpp"#include "utility.hpp"#include "common.hpp"#include "common_Packet.hpp"
Go to the source code of this file.
Functions | |
| TEST_CASE ("Packet's can be constructed.", "[Packet]") | |
| TEST_CASE ("Packet's are comparable.", "[Packet]") | |
| TEST_CASE ("Packet's are copyable.", "[Packet]") | |
| TEST_CASE ("Packet's are movable.", "[Packet]") | |
| TEST_CASE ("Packet's are assignable.", "[Packet]") | |
| PacketTestClass | packet_b ({0, 7, 7, 3, 4}) |
| TEST_CASE ("Packet's contain raw packet data and make it accessible.", "[Packet]") | |
| TEST_CASE ("Packet's have a version.", "[Packet]") | |
| TEST_CASE ("Packet's have an ID.", "[Packet]") | |
| TEST_CASE ("Packet's have a name.", "[Packet]") | |
| TEST_CASE ("Packet's have a source address.", "[Packet]") | |
| TEST_CASE ("Packet's optionally have a destination address.", "[Packet]") | |
| TEST_CASE ("Packet's optionally have a source connection.", "[Packet]") | |
| TEST_CASE ("Packet's are printable.", "[Packet]") | |
Variables | |
| packet_a = std::move(packet_b) | |
| PacketTestClass packet_b | ( | {0, 7, 7, 3, 4} | ) |

| TEST_CASE | ( | "Packet's can be constructed." | , |
| "" | [Packet] | ||
| ) |
Definition at line 90 of file test_Packet.cpp.
| TEST_CASE | ( | "Packet's are comparable." | , |
| "" | [Packet] | ||
| ) |
Definition at line 99 of file test_Packet.cpp.
| TEST_CASE | ( | "Packet's are copyable." | , |
| "" | [Packet] | ||
| ) |
Definition at line 117 of file test_Packet.cpp.
| TEST_CASE | ( | "Packet's are movable." | , |
| "" | [Packet] | ||
| ) |
Definition at line 125 of file test_Packet.cpp.
| TEST_CASE | ( | "Packet's are assignable." | , |
| "" | [Packet] | ||
| ) |
Definition at line 133 of file test_Packet.cpp.
References packet_a, and packet_b().

| TEST_CASE | ( | "Packet's contain raw packet data and make it accessible." | , |
| "" | [Packet] | ||
| ) |
Definition at line 153 of file test_Packet.cpp.
| TEST_CASE | ( | "Packet's have a version." | , |
| "" | [Packet] | ||
| ) |
Definition at line 165 of file test_Packet.cpp.
| TEST_CASE | ( | "Packet's have an ID." | , |
| "" | [Packet] | ||
| ) |
Definition at line 171 of file test_Packet.cpp.
| TEST_CASE | ( | "Packet's have a name." | , |
| "" | [Packet] | ||
| ) |
Definition at line 177 of file test_Packet.cpp.
| TEST_CASE | ( | "Packet's have a source address." | , |
| "" | [Packet] | ||
| ) |
Definition at line 183 of file test_Packet.cpp.
| TEST_CASE | ( | "Packet's optionally have a destination address." | , |
| "" | [Packet] | ||
| ) |
Definition at line 189 of file test_Packet.cpp.
| TEST_CASE | ( | "Packet's optionally have a source connection." | , |
| "" | [Packet] | ||
| ) |
Definition at line 195 of file test_Packet.cpp.
| TEST_CASE | ( | "Packet's are printable." | , |
| "" | [Packet] | ||
| ) |
Definition at line 215 of file test_Packet.cpp.
| packet_a = std::move(packet_b) |
Definition at line 148 of file test_Packet.cpp.
1.8.14