#include <boost/test/unit_test.hpp>
#include <cmath>
#include "config.hpp"
#include "config_assign.hpp"
#include "variable_info.hpp"
Go to the source code of this file.
Macros | |
#define | GETTEXT_DOMAIN "wesnoth-test" |
Functions | |
BOOST_AUTO_TEST_CASE (test_config_attribute_value) | |
BOOST_AUTO_TEST_CASE (test_variable_info) | |
#define GETTEXT_DOMAIN "wesnoth-test" |
Definition at line 15 of file test_config.cpp.
BOOST_AUTO_TEST_CASE | ( | test_config_attribute_value | ) |
Definition at line 26 of file test_config.cpp.
BOOST_AUTO_TEST_CASE | ( | test_variable_info | ) |
This is the config: [tag1] [/tag1] [tag1] [tag2] [/tag2] [tag2] [/tag2] [tag2] atribute1 = 88 atribute2 = "value" [/tag2] [/tag1] [tag1] [/tag1]
Definition at line 177 of file test_config.cpp.
References variable_info< vit >::as_container(), variable_info< vit >::as_scalar(), c, config::empty(), variable_info< vit >::exists_as_attribute(), variable_info< vit >::exists_as_container(), and UNUSED.