Public Member Functions | Static Public Member Functions | Private Member Functions

test_config_cache Class Reference

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

Inheritance diagram for test_config_cache:
Inheritance graph
[legend]
Collaboration diagram for test_config_cache:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void set_force_invalid_cache (bool force)

Static Public Member Functions

static test_config_cacheinstance ()
 Get reference to the singleton object.

Private Member Functions

 test_config_cache ()

Detailed Description

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.


Constructor & Destructor Documentation

test_config_cache::test_config_cache (  )  [inline, private]

Definition at line 55 of file test_config_cache.cpp.


Member Function Documentation

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().

Here is the caller graph for this function:

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:16:37 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs