The Battle for Wesnoth  1.19.5+dev
Functions | Variables
test_filesystem.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "config_cache.hpp"
#include "filesystem.hpp"
#include "game_config.hpp"
#include "log.hpp"
Include dependency graph for test_filesystem.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_SUITE (filesystem)
 
 BOOST_AUTO_TEST_CASE (test_fs_game_path_reverse_engineering)
 
 BOOST_AUTO_TEST_CASE (test_fs_base)
 
 BOOST_AUTO_TEST_CASE (test_fs_enum)
 
 BOOST_AUTO_TEST_CASE (test_fs_binary_path)
 
 BOOST_AUTO_TEST_CASE (test_fs_wml_path)
 
 BOOST_AUTO_TEST_CASE (test_fs_search)
 
 BOOST_AUTO_TEST_CASE (test_fs_fluff)
 

Variables

const std::string & gamedata = game_config::path
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/7]

BOOST_AUTO_TEST_CASE ( test_fs_base  )

◆ BOOST_AUTO_TEST_CASE() [2/7]

BOOST_AUTO_TEST_CASE ( test_fs_binary_path  )

◆ BOOST_AUTO_TEST_CASE() [3/7]

BOOST_AUTO_TEST_CASE ( test_fs_enum  )

Definition at line 107 of file test_filesystem.cpp.

References gamedata, filesystem::get_files_in_dir(), n, and game_config::path.

◆ BOOST_AUTO_TEST_CASE() [4/7]

BOOST_AUTO_TEST_CASE ( test_fs_fluff  )

◆ BOOST_AUTO_TEST_CASE() [5/7]

BOOST_AUTO_TEST_CASE ( test_fs_game_path_reverse_engineering  )

Definition at line 41 of file test_filesystem.cpp.

References gamedata, and filesystem::get_wml_location().

◆ BOOST_AUTO_TEST_CASE() [6/7]

BOOST_AUTO_TEST_CASE ( test_fs_search  )

◆ BOOST_AUTO_TEST_CASE() [7/7]

BOOST_AUTO_TEST_CASE ( test_fs_wml_path  )

◆ BOOST_AUTO_TEST_SUITE()

BOOST_AUTO_TEST_SUITE ( filesystem  )

Variable Documentation

◆ gamedata

const std::string& gamedata = game_config::path