Classes | |
| class | game_config_manager |
Functions | |
| void | set_test_resolution (const int width, const int height) |
| Sets the dummy display resolution for use by the tests. More... | |
| const config & | get_test_config_ref () |
| config | get_test_config () |
| config test_utils::get_test_config | ( | ) |
Definition at line 113 of file game_config_manager_tests.cpp.
References test_utils::game_config_manager::get_config_static().
Referenced by BOOST_AUTO_TEST_CASE().
| const config & test_utils::get_test_config_ref | ( | ) |
Definition at line 108 of file game_config_manager_tests.cpp.
References test_utils::game_config_manager::get_config_static().
Referenced by config_cache_fixture::config_cache_fixture().
| void test_utils::set_test_resolution | ( | const int | width, |
| const int | height | ||
| ) |
Sets the dummy display resolution for use by the tests.
The width and height parameter are ignored if either of them is less than zero.
| width | The width of the display. |
| height | The height of the display. |
Definition at line 41 of file fake_display.cpp.
References video::set_resolution().
Referenced by BOOST_AUTO_TEST_CASE(), and wesnoth_global_fixture::wesnoth_global_fixture().