The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros | Functions
iterator.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "config_cache.hpp"
#include "gui/auxiliary/iterator/iterator.hpp"
#include "gui/widgets/label.hpp"
#include "gui/widgets/grid.hpp"
#include <iostream>
#include <sstream>
#include <typeinfo>
Include dependency graph for iterator.cpp:

Go to the source code of this file.

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 

Functions

static std::string top_down_t_t_t_result ()
 
static std::string bottom_up_t_t_t_result ()
 
static void add_widget (gui2::tgrid &grid, gui2::twidget *widget, const std::string &id, const unsigned row, const unsigned column)
 
template<class T >
static void test_control ()
 
static void test_grid ()
 
 BOOST_AUTO_TEST_CASE (test_gui2_iterator)
 

Macro Definition Documentation

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file iterator.cpp.

Function Documentation

static void add_widget ( gui2::tgrid grid,
gui2::twidget widget,
const std::string id,
const unsigned  row,
const unsigned  column 
)
static
BOOST_AUTO_TEST_CASE ( test_gui2_iterator  )
static std::string bottom_up_t_t_t_result ( )
static

Definition at line 74 of file iterator.cpp.

Referenced by test_grid().

template<class T >
static void test_control ( )
static

Definition at line 124 of file iterator.cpp.

References gui2::iterator::titerator< order >::at_end().

Referenced by BOOST_AUTO_TEST_CASE().

static void test_grid ( )
static
static std::string top_down_t_t_t_result ( )
static

Definition at line 41 of file iterator.cpp.

Referenced by test_grid().