The Battle for Wesnoth  1.19.7+dev
Macros | Functions
test_addons.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "addon/validation.hpp"
Include dependency graph for test_addons.cpp:

Go to the source code of this file.

Macros

#define GETTEXT_DOMAIN   "wesnoth-test"
 

Functions

 BOOST_AUTO_TEST_CASE (validation)
 
 BOOST_AUTO_TEST_CASE (encoding)
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-test"

Definition at line 16 of file test_addons.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/2]

BOOST_AUTO_TEST_CASE ( encoding  )

Definition at line 59 of file test_addons.cpp.

References c, encode_binary(), n, and unencode_binary().

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( validation  )

Definition at line 24 of file test_addons.cpp.

References addon_filename_legal(), addon_name_legal(), and i.