mavtables  0.2.1
MAVLink router and firewall.
Functions
test_PacketParser.cpp File Reference
#include <cstdint>
#include <memory>
#include <optional>
#include <stdexcept>
#include <utility>
#include <vector>
#include <boost/range/irange.hpp>
#include <catch.hpp>
#include "config.hpp"
#include "Packet.hpp"
#include "PacketParser.hpp"
#include "PacketVersion1.hpp"
#include "PacketVersion2.hpp"
#include "common.hpp"
#include "common_Packet.hpp"
Include dependency graph for test_PacketParser.cpp:

Go to the source code of this file.

Functions

 TEST_CASE ("PacketParser's can be constructed.", "[PacketParser]")
 
 TEST_CASE ("PacketParser's can parse packets with 'parse_byte'.", "[PacketParser]")
 
 TEST_CASE ("PacketParser's can be cleared with 'clear'.", "[PacketParser]")
 
 TEST_CASE ("PacketParser's keep track of how many bytes they have parsed of " "the current packet.", "[PacketParser]")
 

Function Documentation

◆ TEST_CASE() [1/4]

TEST_CASE ( "PacketParser's can be constructed."  ,
""  [PacketParser] 
)

Definition at line 103 of file test_PacketParser.cpp.

◆ TEST_CASE() [2/4]

TEST_CASE ( "PacketParser's can parse packets with 'parse_byte'."  ,
""  [PacketParser] 
)

Definition at line 109 of file test_PacketParser.cpp.

◆ TEST_CASE() [3/4]

TEST_CASE ( "PacketParser's can be cleared with 'clear'."  ,
""  [PacketParser] 
)

Definition at line 193 of file test_PacketParser.cpp.

References PacketParser::clear(), and PacketParser::parse_byte().

Here is the call graph for this function:

◆ TEST_CASE() [4/4]

TEST_CASE ( "PacketParser's keep track of how many bytes they have parsed of " "the current packet."  ,
""  [PacketParser] 
)

Definition at line 206 of file test_PacketParser.cpp.