#include <boost/test/auto_unit_test.hpp>
#include "testsuite.hh"
#include <utilmm/configfile/configfile.hh>
#include <utilmm/configfile/commandline.hh>
#include <boost/filesystem/path.hpp>
#include <utilmm/stringtools.hh>
#include <algorithm>
Go to the source code of this file.
Defines | |
#define | SETUP auto_ptr<config_file> config( setup() ) |
Functions | |
BOOST_AUTO_TEST_CASE (test_basic_properties) | |
BOOST_AUTO_TEST_CASE (test_scalar) | |
BOOST_AUTO_TEST_CASE (test_list) | |
BOOST_AUTO_TEST_CASE (test_child) | |
BOOST_AUTO_TEST_CASE (test_cmdline_option_parsing) | |
BOOST_AUTO_TEST_CASE (test_commandline) | |
void | check_cmdline_properties (command_line &cmdline) |
auto_ptr< config_file > | setup () |
template<typename T > | |
void | test_get_scalar (config_set const &config, string const &name, T expected) |
#define SETUP auto_ptr<config_file> config( setup() ) |
Definition at line 19 of file test_configfile.cc.
BOOST_AUTO_TEST_CASE | ( | test_basic_properties | ) |
Definition at line 22 of file test_configfile.cc.
BOOST_AUTO_TEST_CASE | ( | test_scalar | ) |
Definition at line 37 of file test_configfile.cc.
BOOST_AUTO_TEST_CASE | ( | test_list | ) |
Definition at line 49 of file test_configfile.cc.
BOOST_AUTO_TEST_CASE | ( | test_child | ) |
Definition at line 64 of file test_configfile.cc.
BOOST_AUTO_TEST_CASE | ( | test_cmdline_option_parsing | ) |
Definition at line 81 of file test_configfile.cc.
BOOST_AUTO_TEST_CASE | ( | test_commandline | ) |
Definition at line 163 of file test_configfile.cc.
void check_cmdline_properties | ( | command_line & | cmdline | ) |
Definition at line 144 of file test_configfile.cc.
auto_ptr<config_file> setup | ( | ) |
Definition at line 14 of file test_configfile.cc.
void test_get_scalar | ( | config_set const & | config, |
string const & | name, | ||
T | expected | ||
) |
Definition at line 32 of file test_configfile.cc.