The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
test_utils::fake_display_manager Class Reference

Public Member Functions

game_displayget_display ()
 
 fake_display_manager ()
 

Static Public Member Functions

static fake_display_managerget_manager ()
 

Private Attributes

config dummy_cfg_
 
config dummy_cfg2_
 
game_board dummy_board_
 
reports dummy_reports
 
const events::event_context main_event_context_
 
game_display disp_
 

Static Private Attributes

static fake_display_managermanager_ = 0
 

Detailed Description

Definition at line 33 of file fake_display.cpp.

Constructor & Destructor Documentation

◆ fake_display_manager()

test_utils::fake_display_manager::fake_display_manager ( )

Definition at line 64 of file fake_display.cpp.

References video::init(), and video::no_draw.

Referenced by get_manager().

Member Function Documentation

◆ get_display()

game_display & test_utils::fake_display_manager::get_display ( )

Definition at line 74 of file fake_display.cpp.

References disp_.

Referenced by test_utils::get_fake_display().

◆ get_manager()

fake_display_manager * test_utils::fake_display_manager::get_manager ( )
static

Definition at line 55 of file fake_display.cpp.

References fake_display_manager(), and manager_.

Referenced by test_utils::get_fake_display().

Member Data Documentation

◆ disp_

game_display test_utils::fake_display_manager::disp_
private

Definition at line 43 of file fake_display.cpp.

Referenced by get_display().

◆ dummy_board_

game_board test_utils::fake_display_manager::dummy_board_
private

Definition at line 39 of file fake_display.cpp.

◆ dummy_cfg2_

config test_utils::fake_display_manager::dummy_cfg2_
private

Definition at line 38 of file fake_display.cpp.

◆ dummy_cfg_

config test_utils::fake_display_manager::dummy_cfg_
private

Definition at line 37 of file fake_display.cpp.

◆ dummy_reports

reports test_utils::fake_display_manager::dummy_reports
private

Definition at line 40 of file fake_display.cpp.

◆ main_event_context_

const events::event_context test_utils::fake_display_manager::main_event_context_
private

Definition at line 41 of file fake_display.cpp.

◆ manager_

fake_display_manager * test_utils::fake_display_manager::manager_ = 0
staticprivate

Definition at line 35 of file fake_display.cpp.

Referenced by get_manager().


The documentation for this class was generated from the following file: