PRooFPS-dd Dev Doc 1.0
PRooFPS-dd Developer Documentation
Loading...
Searching...
No Matches
MapsTest Class Reference

Detailed Description

Definition at line 34 of file MapsTest.h.

#include <MapsTest.h>

+ Inheritance diagram for MapsTest:

Public Member Functions

 MapsTest (PGEcfgProfiles &cfgProfiles)
 
 MapsTest (const MapsTest &)=delete
 
MapsTestoperator= (const MapsTest &)=delete
 
 MapsTest (MapsTest &&)=delete
 
MapsTest && operator= (MapsTest &&)=delete
 
- Public Member Functions inherited from MapTestsCommon
 MapTestsCommon (const char *szTestName)
 
 MapTestsCommon (const MapTestsCommon &)=delete
 
MapTestsCommonoperator= (const MapTestsCommon &)=delete
 
 MapTestsCommon (MapTestsCommon &&)=delete
 
MapTestsCommon && operator= (MapTestsCommon &&)=delete
 

Protected Member Functions

virtual void Initialize () override
 
virtual bool setUp () override
 
virtual void TearDown () override
 
virtual void Finalize () override
 
- Protected Member Functions inherited from MapTestsCommon
bool checkConstCharPtrArrayElemsPointingToContainerElems (const std::vector< std::string > &vec, const char **vszArray)
 
bool checkConstCharPtrArrayElemsPointingToContainerElems (const std::set< std::string > &settt, const char **vszArray)
 

Private Member Functions

bool test_initially_empty ()
 
bool test_map_load_bad_filename ()
 
bool test_map_load_bad_assignment ()
 
bool test_map_load_bad_order ()
 
bool test_map_load_bad_jumppad_count ()
 
bool test_map_load_bad_jumppad_force_value ()
 
bool test_map_load_good ()
 
bool test_map_unload_and_load_again ()
 
bool test_map_shutdown ()
 
bool test_map_server_decide_first_map_to_be_loaded ()
 
bool test_map_get_random_spawnpoint ()
 
bool test_map_get_leftmost_spawnpoint ()
 
bool test_map_get_rightmost_spawnpoint ()
 
bool test_map_update ()
 
bool test_map_handle_map_item_update_from_server ()
 

Private Attributes

pge_audio::PgeAudio m_audio
 
PGEcfgProfiles & m_cfgProfiles
 
PR00FsUltimateRenderingEngine * engine
 
std::function< void(int)> m_cbDisplayMapLoadingProgressUpdate
 

Static Private Attributes

static const unsigned int MAP_TEST_W = 44u
 
static const unsigned int MAP_TEST_H = 10u
 

Constructor & Destructor Documentation

◆ MapsTest() [1/3]

MapsTest::MapsTest ( PGEcfgProfiles & cfgProfiles)
inline

Definition at line 39 of file MapsTest.h.

◆ MapsTest() [2/3]

MapsTest::MapsTest ( const MapsTest & )
delete

◆ MapsTest() [3/3]

MapsTest::MapsTest ( MapsTest && )
delete

Member Function Documentation

◆ Finalize()

virtual void MapsTest::Finalize ( )
inlineoverrideprotectedvirtual

Definition at line 97 of file MapsTest.h.

◆ Initialize()

virtual void MapsTest::Initialize ( )
inlineoverrideprotectedvirtual

Definition at line 54 of file MapsTest.h.

◆ operator=() [1/2]

MapsTest & MapsTest::operator= ( const MapsTest & )
delete

◆ operator=() [2/2]

MapsTest && MapsTest::operator= ( MapsTest && )
delete

◆ setUp()

virtual bool MapsTest::setUp ( )
inlineoverrideprotectedvirtual

Definition at line 88 of file MapsTest.h.

◆ TearDown()

virtual void MapsTest::TearDown ( )
inlineoverrideprotectedvirtual

Definition at line 93 of file MapsTest.h.

◆ test_initially_empty()

bool MapsTest::test_initially_empty ( )
inlineprivate

Definition at line 122 of file MapsTest.h.

◆ test_map_get_leftmost_spawnpoint()

bool MapsTest::test_map_get_leftmost_spawnpoint ( )
inlineprivate

Definition at line 779 of file MapsTest.h.

◆ test_map_get_random_spawnpoint()

bool MapsTest::test_map_get_random_spawnpoint ( )
inlineprivate

Definition at line 752 of file MapsTest.h.

◆ test_map_get_rightmost_spawnpoint()

bool MapsTest::test_map_get_rightmost_spawnpoint ( )
inlineprivate

Definition at line 808 of file MapsTest.h.

◆ test_map_handle_map_item_update_from_server()

bool MapsTest::test_map_handle_map_item_update_from_server ( )
inlineprivate

Definition at line 868 of file MapsTest.h.

◆ test_map_load_bad_assignment()

bool MapsTest::test_map_load_bad_assignment ( )
inlineprivate

Definition at line 238 of file MapsTest.h.

◆ test_map_load_bad_filename()

bool MapsTest::test_map_load_bad_filename ( )
inlineprivate

Definition at line 197 of file MapsTest.h.

◆ test_map_load_bad_jumppad_count()

bool MapsTest::test_map_load_bad_jumppad_count ( )
inlineprivate

Definition at line 320 of file MapsTest.h.

◆ test_map_load_bad_jumppad_force_value()

bool MapsTest::test_map_load_bad_jumppad_force_value ( )
inlineprivate

Definition at line 361 of file MapsTest.h.

◆ test_map_load_bad_order()

bool MapsTest::test_map_load_bad_order ( )
inlineprivate

Definition at line 279 of file MapsTest.h.

◆ test_map_load_good()

bool MapsTest::test_map_load_good ( )
inlineprivate

Definition at line 402 of file MapsTest.h.

◆ test_map_server_decide_first_map_to_be_loaded()

bool MapsTest::test_map_server_decide_first_map_to_be_loaded ( )
inlineprivate

Definition at line 716 of file MapsTest.h.

◆ test_map_shutdown()

bool MapsTest::test_map_shutdown ( )
inlineprivate

Definition at line 687 of file MapsTest.h.

◆ test_map_unload_and_load_again()

bool MapsTest::test_map_unload_and_load_again ( )
inlineprivate

Definition at line 533 of file MapsTest.h.

◆ test_map_update()

bool MapsTest::test_map_update ( )
inlineprivate

Definition at line 837 of file MapsTest.h.

Member Data Documentation

◆ engine

PR00FsUltimateRenderingEngine* MapsTest::engine
private

Definition at line 117 of file MapsTest.h.

◆ m_audio

pge_audio::PgeAudio MapsTest::m_audio
private

Definition at line 115 of file MapsTest.h.

◆ m_cbDisplayMapLoadingProgressUpdate

std::function<void(int)> MapsTest::m_cbDisplayMapLoadingProgressUpdate
private

Definition at line 118 of file MapsTest.h.

◆ m_cfgProfiles

PGEcfgProfiles& MapsTest::m_cfgProfiles
private

Definition at line 116 of file MapsTest.h.

◆ MAP_TEST_H

const unsigned int MapsTest::MAP_TEST_H = 10u
staticprivate

Definition at line 113 of file MapsTest.h.

◆ MAP_TEST_W

const unsigned int MapsTest::MAP_TEST_W = 44u
staticprivate

Definition at line 112 of file MapsTest.h.


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