#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 23 of file test_configfile.cc.
BOOST_AUTO_TEST_CASE | ( | test_basic_properties | ) |
Definition at line 26 of file test_configfile.cc.
BOOST_AUTO_TEST_CASE | ( | test_scalar | ) |
Definition at line 41 of file test_configfile.cc.
BOOST_AUTO_TEST_CASE | ( | test_list | ) |
Definition at line 53 of file test_configfile.cc.
BOOST_AUTO_TEST_CASE | ( | test_child | ) |
Definition at line 68 of file test_configfile.cc.
BOOST_AUTO_TEST_CASE | ( | test_cmdline_option_parsing | ) |
Definition at line 85 of file test_configfile.cc.
BOOST_AUTO_TEST_CASE | ( | test_commandline | ) |
Definition at line 167 of file test_configfile.cc.
void check_cmdline_properties | ( | command_line & | cmdline | ) |
Definition at line 148 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 36 of file test_configfile.cc.