The Battle for Wesnoth  1.19.0-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.


#define GETTEXT_DOMAIN   "wesnoth-test"


 BOOST_AUTO_TEST_CASE (validation)

Macro Definition Documentation


#define GETTEXT_DOMAIN   "wesnoth-test"

Definition at line 16 of file test_addons.cpp.

Function Documentation


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

Definition at line 24 of file test_addons.cpp.

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