#include <boost/test/unit_test.hpp>
#include "config.hpp"
#include "log.hpp"
#include "tests/utils/game_config_manager_tests.hpp"
#include "units/id.hpp"
#include "units/map.hpp"
#include "units/types.hpp"
#include "units/unit.hpp"
#include <functional>
Go to the source code of this file.
Macros | |
#define | GETTEXT_DOMAIN "wesnoth-test" |
Functions | |
BOOST_AUTO_TEST_CASE (test_1) | |
BOOST_AUTO_TEST_CASE (track_real_unit_by_underlying_id) | |
BOOST_AUTO_TEST_CASE (track_fake_unit_by_underlying_id) | |
BOOST_AUTO_TEST_CASE (track_real_unit_by_iterator) | |
BOOST_AUTO_TEST_CASE (track_fake_unit_by_iterator) | |
#define GETTEXT_DOMAIN "wesnoth-test" |
Definition at line 16 of file test_unit_map.cpp.
BOOST_AUTO_TEST_CASE | ( | test_1 | ) |
Definition at line 38 of file test_unit_map.cpp.
References unit_map::add(), unit_type_data::build_unit_type(), unit::create(), unit_map::end(), lg::err(), unit_map::find(), unit_type::FULL, test_utils::get_test_config(), lg::info(), lg::LG_NONE, lg::set_log_domain_severity(), unit_map::size(), unit_types, unit_map::iterator_base< iter_types >::valid(), and lg::warn().
BOOST_AUTO_TEST_CASE | ( | track_fake_unit_by_iterator | ) |
Definition at line 236 of file test_unit_map.cpp.
References unit_map::add(), unit_type_data::build_unit_type(), unit::create(), unit_map::extract(), unit_map::find(), unit_type::FULL, test_utils::get_test_config(), unit_map::insert(), unit_types, and unit_map::iterator_base< iter_types >::valid().
BOOST_AUTO_TEST_CASE | ( | track_fake_unit_by_underlying_id | ) |
Definition at line 153 of file test_unit_map.cpp.
References unit_map::add(), unit_type_data::build_unit_type(), unit::create(), unit_map::end(), unit_map::extract(), unit_map::find(), unit_type::FULL, test_utils::get_test_config(), unit_map::insert(), and unit_types.
BOOST_AUTO_TEST_CASE | ( | track_real_unit_by_iterator | ) |
Definition at line 199 of file test_unit_map.cpp.
References unit_map::add(), unit_type_data::build_unit_type(), unit::create(), unit_map::extract(), unit_map::find(), unit_type::FULL, test_utils::get_test_config(), unit_map::insert(), unit_types, and unit_map::iterator_base< iter_types >::valid().
BOOST_AUTO_TEST_CASE | ( | track_real_unit_by_underlying_id | ) |
Definition at line 107 of file test_unit_map.cpp.
References unit_map::add(), unit_type_data::build_unit_type(), unit::create(), unit_map::end(), unit_map::extract(), unit_map::find(), unit_type::FULL, test_utils::get_test_config(), unit_map::insert(), and unit_types.