The Battle for Wesnoth  1.15.2+dev
Classes | Macros | Functions
test_mp_connect.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "game_config_manager.hpp"
#include "game_display.hpp"
#include "game_initialization/connect_engine.hpp"
#include "hotkey/hotkey_manager.hpp"
#include "mt_rng.hpp"
#include "saved_game.hpp"
#include "tests/utils/fake_display.hpp"
#include <boost/assign.hpp>
Include dependency graph for test_mp_connect.cpp:

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_enginecreate_test_connect_engine ()
 
static ng::side_enginecreate_side_engine (const config &defaults, test_connect_engine *connect_engine)
 
 BOOST_GLOBAL_FIXTURE (mp_connect_fixture)
 
 BOOST_AUTO_TEST_CASE (flg_map_settings)
 
 BOOST_AUTO_TEST_CASE (flg_no_map_settings)
 
 BOOST_AUTO_TEST_CASE (flg_saved_game)
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-test"

Definition at line 15 of file test_mp_connect.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

BOOST_AUTO_TEST_CASE ( flg_map_settings  )

◆ BOOST_AUTO_TEST_CASE() [2/3]

BOOST_AUTO_TEST_CASE ( flg_no_map_settings  )

◆ BOOST_AUTO_TEST_CASE() [3/3]

BOOST_AUTO_TEST_CASE ( flg_saved_game  )

Definition at line 384 of file test_mp_connect.cpp.

◆ BOOST_GLOBAL_FIXTURE()

BOOST_GLOBAL_FIXTURE ( mp_connect_fixture  )

Referenced by create_side_engine().

◆ create_side_engine()

static ng::side_engine* create_side_engine ( const config defaults,
test_connect_engine connect_engine 
)
static

◆ create_test_connect_engine()

static test_connect_engine* create_test_connect_engine ( )
static