|
mavtables
0.2.1
MAVLink router and firewall.
|
#include <chrono>#include <future>#include <memory>#include <stdexcept>#include <thread>#include <catch.hpp>#include <Packet.hpp>#include <PacketQueue.hpp>#include "PacketVersion2.hpp"#include "common_Packet.hpp"
Go to the source code of this file.
Functions | |
| TEST_CASE ("PacketQueue's can be constructed.", "[AddressPool]") | |
| TEST_CASE ("PacketQueue's 'push' adds a packet to the queue.", "[PacketQueue]") | |
| TEST_CASE ("PacketQueue's 'empty' method determines if the queue is empty or " "not.", "[PacketQueue]") | |
| TEST_CASE ("PacketQueue's can be managed with 'push' and 'pop' methods.", "[PacketQueue]") | |
| TEST_CASE ("PacketQueue's 'pop' method blocks by default.", "[PacketQueue]") | |
| TEST_CASE ("PacketQueue's 'pop' method optionally has a timeout.", "[PacketQueue]") | |
| TEST_CASE ("PacketQueue's 'pop' method is non blocking when given a 0 second " "timeout.", "[PacketQueue]") | |
| TEST_CASE | ( | "PacketQueue's can be constructed." | , |
| "" | [AddressPool] | ||
| ) |
Definition at line 36 of file test_PacketQueue.cpp.
| TEST_CASE | ( | "PacketQueue's 'push' adds a packet to the queue." | , |
| "" | [PacketQueue] | ||
| ) |
Definition at line 51 of file test_PacketQueue.cpp.
| TEST_CASE | ( | "PacketQueue's 'empty' method determines if the queue is empty or " "not." | , |
| "" | [PacketQueue] | ||
| ) |
Definition at line 75 of file test_PacketQueue.cpp.
References ping.
| TEST_CASE | ( | "PacketQueue's can be managed with 'push' and 'pop' methods." | , |
| "" | [PacketQueue] | ||
| ) |
Definition at line 86 of file test_PacketQueue.cpp.
References logger::heartbeat(), and ping.

| TEST_CASE | ( | "PacketQueue's 'pop' method blocks by default." | , |
| "" | [PacketQueue] | ||
| ) |
Definition at line 205 of file test_PacketQueue.cpp.
References ping.
| TEST_CASE | ( | "PacketQueue's 'pop' method optionally has a timeout." | , |
| "" | [PacketQueue] | ||
| ) |
Definition at line 240 of file test_PacketQueue.cpp.
References ping.
| TEST_CASE | ( | "PacketQueue's 'pop' method is non blocking when given a 0 second " "timeout." | , |
| "" | [PacketQueue] | ||
| ) |
Definition at line 288 of file test_PacketQueue.cpp.
References ping.
1.8.14