mavtables
0.2.1
MAVLink router and firewall.
|
#include <catch.hpp>
#include "Action.hpp"
#include "If.hpp"
#include "MAVAddress.hpp"
#include "Packet.hpp"
#include "PacketVersion1.hpp"
#include "PacketVersion2.hpp"
#include "Reject.hpp"
#include "Rule.hpp"
#include "utility.hpp"
#include "common_Packet.hpp"
Go to the source code of this file.
Functions | |
TEST_CASE ("Reject's are constructable.", "[Reject]") | |
TEST_CASE ("Reject's are comparable.", "[Reject]") | |
TEST_CASE ("Reject's 'action' method determines what to do with a " "packet/address combination.", "[Reject]") | |
Reject | reject (If().type("PING").from("192.168/8").to("172.16/4")) |
TEST_CASE ("Reject's 'clone' method returns a polymorphic copy.", "[Reject]") | |
Variables | |
Reject | reject |
Rule & | rule = reject |
TEST_CASE | ( | "Reject's are constructable." | , |
"" | [Reject] | ||
) |
Definition at line 33 of file test_Reject.cpp.
TEST_CASE | ( | "Reject's are comparable." | , |
"" | [Reject] | ||
) |
Definition at line 49 of file test_Reject.cpp.
TEST_CASE | ( | "Reject's 'action' method determines what to do with a " "packet/address combination." | , |
"" | [Reject] | ||
) |
Definition at line 71 of file test_Reject.cpp.
References ping.
TEST_CASE | ( | "Reject's 'clone' method returns a polymorphic copy." | , |
"" | [Reject] | ||
) |
Definition at line 134 of file test_Reject.cpp.
References Rule::clone(), reject, and rule.
Definition at line 103 of file test_Reject.cpp.
Definition at line 106 of file test_Reject.cpp.