Used to make distinct singleton for testing it because other tests will need original one to load data. More...


Public Member Functions | |
| void | set_force_invalid_cache (bool force) |
Static Public Member Functions | |
| static test_config_cache & | instance () |
| Get reference to the singleton object. | |
Private Member Functions | |
| test_config_cache () | |
Used to make distinct singleton for testing it because other tests will need original one to load data.
Definition at line 54 of file test_config_cache.cpp.
| test_config_cache::test_config_cache | ( | ) | [inline, private] |
Definition at line 55 of file test_config_cache.cpp.
| test_config_cache & test_config_cache::instance | ( | ) | [static] |
Get reference to the singleton object.
Reimplemented from game_config::config_cache.
Definition at line 66 of file test_config_cache.cpp.
References cache_.
Referenced by BOOST_AUTO_TEST_CASE().

| void test_config_cache::set_force_invalid_cache | ( | bool | force | ) | [inline] |
Reimplemented from game_config::config_cache.
Definition at line 60 of file test_config_cache.cpp.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:16:37 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |