|
mavtables
0.2.1
MAVLink router and firewall.
|
#include <memory>#include <catch.hpp>#include <fakeit.hpp>#include <pegtl.hpp>#include "config_grammar.hpp"#include "ConfigParser.hpp"#include "MAVAddress.hpp"#include "PacketVersion2.hpp"#include "parse_tree.hpp"#include "utility.hpp"#include "common.hpp"#include "common_Packet.hpp"
Go to the source code of this file.
Functions | |
| TEST_CASE ("'init_chains' initializes a map of chain names to empty chains" "[ConfigParser]") | |
| TEST_CASE ("'parse_action' parses an action from the given AST node.", "[ConfigParser]") | |
| TEST_CASE ("'parse_condition' parses a condition from the given AST node.", "[ConfigParser]") | |
| TEST_CASE ("'parse_chain' parses an action from the given AST node.", "[ConfigParser]") | |
| TEST_CASE ("'parse_filter' parses the filter from the given AST root node.", "[ConfigParser]") | |
| TEST_CASE ("'parse_serial' parses a serial interface from a serial interface " "AST node.", "[ConfigParser]") | |
| TEST_CASE ("'parse_udp' parses a UDP interface from a UDP interface AST node.", "[ConfigParser]") | |
| TEST_CASE ("'parse_interfaces' parses serial port and UDP interfaces from " "the root node.", "[ConfigParser]") | |
| TEST_CASE ("ConfigParser can parse a file.", "[ConfigParser]") | |
| TEST_CASE ("ConfigParser are printable.", "[ConfigParser]") | |
| TEST_CASE ("ConfigParser's 'make_app' method returns an application object.", "[ConfigParser]") | |
| TEST_CASE | ( | "'init_chains' initializes a map of chain names to empty chains" "" | [ConfigParser] | ) |
Definition at line 35 of file test_ConfigParser.cpp.
| TEST_CASE | ( | "'parse_action' parses an action from the given AST node." | , |
| "" | [ConfigParser] | ||
| ) |
Definition at line 101 of file test_ConfigParser.cpp.
| TEST_CASE | ( | "'parse_condition' parses a condition from the given AST node." | , |
| "" | [ConfigParser] | ||
| ) |
Definition at line 432 of file test_ConfigParser.cpp.
| TEST_CASE | ( | "'parse_chain' parses an action from the given AST node." | , |
| "" | [ConfigParser] | ||
| ) |
Definition at line 564 of file test_ConfigParser.cpp.
| TEST_CASE | ( | "'parse_filter' parses the filter from the given AST root node." | , |
| "" | [ConfigParser] | ||
| ) |
Definition at line 661 of file test_ConfigParser.cpp.
References logger::heartbeat(), and ping.

| TEST_CASE | ( | "'parse_serial' parses a serial interface from a serial interface " "AST node." | , |
| "" | [ConfigParser] | ||
| ) |
Definition at line 741 of file test_ConfigParser.cpp.
| TEST_CASE | ( | "'parse_udp' parses a UDP interface from a UDP interface AST node." | , |
| "" | [ConfigParser] | ||
| ) |
Definition at line 903 of file test_ConfigParser.cpp.
| TEST_CASE | ( | "'parse_interfaces' parses serial port and UDP interfaces from " "the root node." | , |
| "" | [ConfigParser] | ||
| ) |
Definition at line 997 of file test_ConfigParser.cpp.
References config::parse().

| TEST_CASE | ( | "ConfigParser can parse a file." | , |
| "" | [ConfigParser] | ||
| ) |
Definition at line 1084 of file test_ConfigParser.cpp.
| TEST_CASE | ( | "ConfigParser are printable." | , |
| "" | [ConfigParser] | ||
| ) |
Definition at line 1098 of file test_ConfigParser.cpp.
| TEST_CASE | ( | "ConfigParser's 'make_app' method returns an application object." | , |
| "" | [ConfigParser] | ||
| ) |
Definition at line 1133 of file test_ConfigParser.cpp.
1.8.14