#include <boost/test/unit_test.hpp>#include "game_config_manager.hpp"#include "game_display.hpp"#include "game_initialization/multiplayer_connect.hpp"#include "game_initialization/multiplayer_ui.hpp"#include "hotkey/hotkey_manager.hpp"#include "mt_rng.hpp"#include "saved_game.hpp"#include "tests/utils/fake_display.hpp"#include <boost/scoped_ptr.hpp>#include <boost/assign.hpp>
Go to the source code of this file.
Classes | |
| class | test_connect_engine |
| struct | mp_connect_fixture |
Macros | |
| #define | GETTEXT_DOMAIN "wesnoth-test" |
Functions | |
| static test_connect_engine * | create_test_connect_engine () |
| static ng::side_engine * | create_side_engine (const config &defaults, test_connect_engine *connect_engine) |
| BOOST_GLOBAL_FIXTURE (mp_connect_fixture) | |
| BOOST_AUTO_TEST_SUITE (mp_connect) | |
| BOOST_AUTO_TEST_CASE (flg_map_settings) | |
| BOOST_AUTO_TEST_CASE (flg_no_map_settings) | |
| BOOST_AUTO_TEST_CASE (flg_saved_game) | |
| #define GETTEXT_DOMAIN "wesnoth-test" |
Definition at line 15 of file test_mp_connect.cpp.
| BOOST_AUTO_TEST_CASE | ( | flg_map_settings | ) |
Definition at line 128 of file test_mp_connect.cpp.
References config::add_child(), config::clear(), create_side_engine(), create_test_connect_engine(), and config::get().
| BOOST_AUTO_TEST_CASE | ( | flg_no_map_settings | ) |
Definition at line 339 of file test_mp_connect.cpp.
References config::clear(), create_side_engine(), create_test_connect_engine(), and config::get().
| BOOST_AUTO_TEST_CASE | ( | flg_saved_game | ) |
Definition at line 400 of file test_mp_connect.cpp.
| BOOST_AUTO_TEST_SUITE | ( | mp_connect | ) |
| BOOST_GLOBAL_FIXTURE | ( | mp_connect_fixture | ) |
|
static |
Definition at line 110 of file test_mp_connect.cpp.
References config::append(), config::child(), config::clear_children(), ng::connect_engine::current_config(), and config::remove_attributes().
Referenced by BOOST_AUTO_TEST_CASE().
|
static |
Definition at line 102 of file test_mp_connect.cpp.
Referenced by BOOST_AUTO_TEST_CASE().
1.8.8