mavtables  0.2.1
MAVLink router and firewall.
Functions
test_Options.cpp File Reference
#include <stdexcept>
#include "catch.hpp"
#include "fakeit.hpp"
#include "config.hpp"
#include "Filesystem.hpp"
#include "Options.hpp"
#include "common.hpp"
Include dependency graph for test_Options.cpp:

Go to the source code of this file.

Functions

 TEST_CASE ("'find_config' returns the path to the highest priority " "configuration file.", "[Options]")
 
 TEST_CASE ("Options's class prints the help message.", "[Options]")
 
 TEST_CASE ("Options's class prints version information when given the " "'--version' flag.", "[Options]")
 
 TEST_CASE ("Options's class will use the given configuration file " "(--config flag).", "[Options]")
 
 TEST_CASE ("Options's class finds the configuration file.", "[Options]")
 
 TEST_CASE ("Options's class sets run to false and ast to true when the --ast " "flag is given.", "[Options]")
 
 TEST_CASE ("Option's class has a loglevel option", "[Options]")
 

Function Documentation

◆ TEST_CASE() [1/7]

TEST_CASE ( "'find_config' returns the path to the highest priority " "configuration file."  ,
""  [Options] 
)

Definition at line 30 of file test_Options.cpp.

◆ TEST_CASE() [2/7]

TEST_CASE ( "Options's class prints the help message."  ,
""  [Options] 
)

Definition at line 133 of file test_Options.cpp.

◆ TEST_CASE() [3/7]

TEST_CASE ( "Options's class prints version information when given the " "'--version' flag."  ,
""  [Options] 
)

Definition at line 162 of file test_Options.cpp.

◆ TEST_CASE() [4/7]

TEST_CASE ( "Options's class will use the given configuration file " "(--config flag)."  ,
""  [Options] 
)

Definition at line 184 of file test_Options.cpp.

◆ TEST_CASE() [5/7]

TEST_CASE ( "Options's class finds the configuration file."  ,
""  [Options] 
)

Definition at line 245 of file test_Options.cpp.

◆ TEST_CASE() [6/7]

TEST_CASE ( "Options's class sets run to false and ast to true when the --ast " "flag is given."  ,
""  [Options] 
)

Definition at line 403 of file test_Options.cpp.

◆ TEST_CASE() [7/7]

TEST_CASE ( "Option's class has a loglevel option"  ,
""  [Options] 
)

Definition at line 427 of file test_Options.cpp.