JayBeams
0.1
Another project to have fun coding.
|
#include <jb/config_files_location.hpp>
#include <jb/config_object.hpp>
#include <boost/filesystem.hpp>
#include <boost/test/unit_test.hpp>
#include <cstdlib>
#include <fstream>
#include <string>
#include <vector>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (config_attribute_simple) | |
BOOST_AUTO_TEST_CASE (config_attribute_complex) | |
BOOST_AUTO_TEST_CASE (config_attribute_complex_copy) | |
BOOST_AUTO_TEST_CASE (config_attribute_variadic_constructor) | |
BOOST_AUTO_TEST_CASE (config_object_apply) | |
BOOST_AUTO_TEST_CASE (config_object_vector) | |
BOOST_AUTO_TEST_CASE (config_object_vector_empty) | |
BOOST_AUTO_TEST_CASE (config_object_nested_by_class) | |
BOOST_AUTO_TEST_CASE (config_object_load) | |
BOOST_AUTO_TEST_CASE (config_object_cmdline_args) | |
BOOST_AUTO_TEST_CASE (config_object_usage) | |
BOOST_AUTO_TEST_CASE (config_object_invalid_option) | |
BOOST_AUTO_TEST_CASE (config_object_pair_yaml) | |
BOOST_AUTO_TEST_CASE (config_object_pair_options) | |
BOOST_AUTO_TEST_CASE (config_object_config_file_env) | |
BOOST_AUTO_TEST_CASE (config_object_config_file_missing_with_env) | |
BOOST_AUTO_TEST_CASE (config_object_config_file) | |
BOOST_AUTO_TEST_CASE (config_object_config_file_missing) | |
BOOST_AUTO_TEST_CASE (config_object_positional) | |
BOOST_AUTO_TEST_CASE (usage_coverage) | |
BOOST_AUTO_TEST_CASE | ( | config_attribute_simple | ) |
Definition at line 55 of file ut_config_object.cpp.
BOOST_AUTO_TEST_CASE | ( | config_attribute_complex | ) |
Definition at line 70 of file ut_config_object.cpp.
BOOST_AUTO_TEST_CASE | ( | config_attribute_complex_copy | ) |
Definition at line 93 of file ut_config_object.cpp.
BOOST_AUTO_TEST_CASE | ( | config_attribute_variadic_constructor | ) |
Definition at line 121 of file ut_config_object.cpp.
References config_object_constructors, jb::operator<<(), and jb::itch5::operator==().
BOOST_AUTO_TEST_CASE | ( | config_object_apply | ) |
Definition at line 177 of file ut_config_object.cpp.
References config_object_constructors.
BOOST_AUTO_TEST_CASE | ( | config_object_vector | ) |
Definition at line 225 of file ut_config_object.cpp.
BOOST_AUTO_TEST_CASE | ( | config_object_vector_empty | ) |
Definition at line 279 of file ut_config_object.cpp.
References config_object_constructors.
BOOST_AUTO_TEST_CASE | ( | config_object_nested_by_class | ) |
Definition at line 333 of file ut_config_object.cpp.
BOOST_AUTO_TEST_CASE | ( | config_object_load | ) |
Definition at line 389 of file ut_config_object.cpp.
BOOST_AUTO_TEST_CASE | ( | config_object_cmdline_args | ) |
Definition at line 420 of file ut_config_object.cpp.
BOOST_AUTO_TEST_CASE | ( | config_object_usage | ) |
Definition at line 455 of file ut_config_object.cpp.
BOOST_AUTO_TEST_CASE | ( | config_object_invalid_option | ) |
Definition at line 470 of file ut_config_object.cpp.
References config_object_constructors.
BOOST_AUTO_TEST_CASE | ( | config_object_pair_yaml | ) |
Definition at line 497 of file ut_config_object.cpp.
BOOST_AUTO_TEST_CASE | ( | config_object_pair_options | ) |
Definition at line 516 of file ut_config_object.cpp.
References config_object_constructors.
BOOST_AUTO_TEST_CASE | ( | config_object_config_file_env | ) |
Definition at line 560 of file ut_config_object.cpp.
References jb::sysconfdir().
BOOST_AUTO_TEST_CASE | ( | config_object_config_file_missing_with_env | ) |
Definition at line 607 of file ut_config_object.cpp.
BOOST_AUTO_TEST_CASE | ( | config_object_config_file | ) |
Definition at line 636 of file ut_config_object.cpp.
References jb::sysconfdir().
BOOST_AUTO_TEST_CASE | ( | config_object_config_file_missing | ) |
Definition at line 683 of file ut_config_object.cpp.
References config_object_constructors.
BOOST_AUTO_TEST_CASE | ( | config_object_positional | ) |
Definition at line 719 of file ut_config_object.cpp.
BOOST_AUTO_TEST_CASE | ( | usage_coverage | ) |
Definition at line 737 of file ut_config_object.cpp.
References jb::usage::exit_status().