The Battle for Wesnoth 1.21.0-dev
 
Loading...
Searching...
No Matches
Classes | Macros | Functions
test_pango_text.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "tests/utils/game_config_manager_tests.hpp"
#include "font/font_options.hpp"
#include "font/text.hpp"
#include "sdl/point.hpp"
#include <string>
#include <vector>
Include dependency graph for test_pango_text.cpp:

Go to the source code of this file.

Classes

struct  pango_text_fixture
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-test"
 

Functions

 BOOST_AUTO_TEST_CASE (pango_text_wraps_at_maximum_width)
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-test"

Definition at line 15 of file test_pango_text.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( pango_text_wraps_at_maximum_width  )

Definition at line 39 of file test_pango_text.cpp.

References renderer(), font::sans_serif, and font::pango_text::STYLE_NORMAL.