mavtables  0.2.1
MAVLink router and firewall.
Functions
test_Accept.cpp File Reference
#include <catch.hpp>
#include "Accept.hpp"
#include "Action.hpp"
#include "If.hpp"
#include "MAVAddress.hpp"
#include "Packet.hpp"
#include "PacketVersion1.hpp"
#include "PacketVersion2.hpp"
#include "Rule.hpp"
#include "utility.hpp"
#include "common_Packet.hpp"
Include dependency graph for test_Accept.cpp:

Go to the source code of this file.

Functions

 TEST_CASE ("Accept's are constructable.", "[Accept]")
 
 TEST_CASE ("Accept's are comparable.", "[Accept]")
 
 TEST_CASE ("Accept's 'action' method determines what to do with a " "packet/address combination.", "[Accept]")
 
 TEST_CASE ("Accept's are printable (without a condition or a priority).", "[Accept]")
 
 TEST_CASE ("Accept's are printable (without a condition but with a priority).", "[Accept]")
 
 TEST_CASE ("Accept's are printable (with a condition but without a priority).", "[Accept]")
 
 TEST_CASE ("Accept's are printable (with a condition and a priority).", "[Accept]")
 
 TEST_CASE ("Accept's 'clone' method returns a polymorphic copy.", "[Accept]")
 

Function Documentation

◆ TEST_CASE() [1/8]

TEST_CASE ( "Accept's are constructable."  ,
""  [Accept] 
)

Definition at line 33 of file test_Accept.cpp.

◆ TEST_CASE() [2/8]

TEST_CASE ( "Accept's are comparable."  ,
""  [Accept] 
)

Definition at line 62 of file test_Accept.cpp.

◆ TEST_CASE() [3/8]

TEST_CASE ( "Accept's 'action' method determines what to do with a " "packet/address combination."  ,
""  [Accept] 
)

Definition at line 93 of file test_Accept.cpp.

References ping.

◆ TEST_CASE() [4/8]

TEST_CASE ( "Accept's are printable (without a condition or a priority)."  ,
""  [Accept] 
)

Definition at line 145 of file test_Accept.cpp.

References ping, and rule.

◆ TEST_CASE() [5/8]

TEST_CASE ( "Accept's are printable (without a condition but with a priority)."  ,
""  [Accept] 
)

Definition at line 162 of file test_Accept.cpp.

References ping, and rule.

◆ TEST_CASE() [6/8]

TEST_CASE ( "Accept's are printable (with a condition but without a priority)."  ,
""  [Accept] 
)

Definition at line 179 of file test_Accept.cpp.

References ping, and rule.

◆ TEST_CASE() [7/8]

TEST_CASE ( "Accept's are printable (with a condition and a priority)."  ,
""  [Accept] 
)

Definition at line 196 of file test_Accept.cpp.

References ping, and rule.

◆ TEST_CASE() [8/8]

TEST_CASE ( "Accept's 'clone' method returns a polymorphic copy."  ,
""  [Accept] 
)

Definition at line 217 of file test_Accept.cpp.