mavtables  0.2.1
MAVLink router and firewall.
Functions
test_Rule.cpp File Reference
#include <ostream>
#include <catch.hpp>
#include "Action.hpp"
#include "If.hpp"
#include "MAVAddress.hpp"
#include "MAVSubnet.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_Rule.cpp:

Go to the source code of this file.

Functions

 TEST_CASE ("Rule's can be constructed.", "[Rule]")
 
 TEST_CASE ("Rule's are comparable.", "[Rule]")
 
 TEST_CASE ("Rule's 'action' method determines what to do with a packet with " "respect to a destination address.", "[Rule]")
 
 TEST_CASE ("Rule's are printable.", "[Rule]")
 
 TEST_CASE ("Rule's 'clone' method returns a polymorphic copy.", "[Rule]")
 

Function Documentation

◆ TEST_CASE() [1/5]

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

Definition at line 82 of file test_Rule.cpp.

◆ TEST_CASE() [2/5]

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

Definition at line 88 of file test_Rule.cpp.

◆ TEST_CASE() [3/5]

TEST_CASE ( "Rule's 'action' method determines what to do with a packet with " "respect to a destination address."  ,
""  [Rule] 
)

Definition at line 95 of file test_Rule.cpp.

References ping, and rule.

◆ TEST_CASE() [4/5]

TEST_CASE ( "Rule's are printable."  ,
""  [Rule] 
)

Definition at line 128 of file test_Rule.cpp.

References ping, and rule.

◆ TEST_CASE() [5/5]

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

Definition at line 144 of file test_Rule.cpp.

References Rule::clone(), and rule.

Here is the call graph for this function: