Classes | Defines | Functions | Variables

tests/main.cpp File Reference

#include <boost/test/unit_test.hpp>
#include <boost/test/unit_test_monitor.hpp>
#include <boost/test/detail/unit_test_parameters.hpp>
#include <boost/test/results_reporter.hpp>
#include <fstream>
#include "SDL.h"
#include "filesystem.hpp"
#include "game_config.hpp"
#include "game_errors.hpp"
#include "gui/auxiliary/event/handler.hpp"
#include "gui/widgets/helper.hpp"
#include "network.hpp"
#include "config.hpp"
#include "log.hpp"
#include "tests/utils/fake_display.hpp"
#include "game_display.hpp"
Include dependency graph for main.cpp:

Go to the source code of this file.

Classes

struct  wesnoth_global_fixture

Defines

#define GETTEXT_DOMAIN   "wesnoth-test"
#define BOOST_TEST_MODULE   wesnoth unit tests master suite

Functions

static void exception_translator_config (const config::error &e)
static void exception_translator_network (const network::error &e)
static void exception_translator_game (const game::error &e)

Variables

std::ofstream reporter

Define Documentation

#define BOOST_TEST_MODULE   wesnoth unit tests master suite

Definition at line 19 of file main.cpp.

#define GETTEXT_DOMAIN   "wesnoth-test"

Definition at line 16 of file main.cpp.


Function Documentation

static void exception_translator_config ( const config::error e  )  [static]
Todo:
add all others exception handlers too

Definition at line 44 of file main.cpp.

References game::error::message.

static void exception_translator_game ( const game::error e  )  [static]

Definition at line 56 of file main.cpp.

References game::error::message.

static void exception_translator_network ( const network::error e  )  [static]

Definition at line 49 of file main.cpp.

References game::error::message.


Variable Documentation

std::ofstream reporter

Definition at line 61 of file main.cpp.

Referenced by wesnoth_global_fixture::wesnoth_global_fixture().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:10:35 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs