Go to the source code of this file.
Macros | |
#define | GETTEXT_DOMAIN "wesnoth-test" |
Functions | |
BOOST_AUTO_TEST_CASE (test_empty_options) | |
BOOST_AUTO_TEST_CASE (test_default_options) | |
BOOST_AUTO_TEST_CASE (test_full_options) | |
BOOST_AUTO_TEST_CASE (test_positional_options) | |
BOOST_AUTO_TEST_CASE (test_log_domain_severity_override_order) | |
#define GETTEXT_DOMAIN "wesnoth-test" |
Definition at line 15 of file test_commandline_options.cpp.
BOOST_AUTO_TEST_CASE | ( | test_default_options | ) |
Definition at line 87 of file test_commandline_options.cpp.
References commandline_options::campaign, commandline_options::campaign_difficulty, commandline_options::campaign_scenario, commandline_options::campaign_skip_story, commandline_options::clock, commandline_options::data_dir, commandline_options::data_path, commandline_options::debug, commandline_options::editor, commandline_options::fps, commandline_options::fullscreen, commandline_options::help, commandline_options::load, commandline_options::log, commandline_options::logdomains, commandline_options::max_fps, commandline_options::multiplayer, commandline_options::multiplayer_ai_config, commandline_options::multiplayer_algorithm, commandline_options::multiplayer_controller, commandline_options::multiplayer_era, commandline_options::multiplayer_exit_at_end, commandline_options::multiplayer_ignore_map_settings, commandline_options::multiplayer_label, commandline_options::multiplayer_parm, commandline_options::multiplayer_scenario, commandline_options::multiplayer_side, commandline_options::multiplayer_turns, commandline_options::new_widgets, commandline_options::nocache, commandline_options::nogui, commandline_options::nomusic, commandline_options::nosound, commandline_options::preprocess, commandline_options::preprocess_defines, commandline_options::preprocess_input_macros, commandline_options::preprocess_output_macros, commandline_options::preprocess_path, commandline_options::preprocess_target, commandline_options::resolution, commandline_options::rng_seed, commandline_options::screenshot, commandline_options::screenshot_map_file, commandline_options::screenshot_output_file, commandline_options::server, commandline_options::test, commandline_options::userdata_dir, commandline_options::userdata_path, commandline_options::validcache, commandline_options::version, commandline_options::windowed, and commandline_options::with_replay.
BOOST_AUTO_TEST_CASE | ( | test_empty_options | ) |
Definition at line 23 of file test_commandline_options.cpp.
References commandline_options::campaign, commandline_options::campaign_difficulty, commandline_options::campaign_scenario, commandline_options::campaign_skip_story, commandline_options::clock, commandline_options::data_dir, commandline_options::data_path, commandline_options::debug, commandline_options::editor, commandline_options::fps, commandline_options::fullscreen, commandline_options::help, commandline_options::load, commandline_options::log, commandline_options::logdomains, commandline_options::max_fps, commandline_options::multiplayer, commandline_options::multiplayer_ai_config, commandline_options::multiplayer_algorithm, commandline_options::multiplayer_controller, commandline_options::multiplayer_era, commandline_options::multiplayer_exit_at_end, commandline_options::multiplayer_ignore_map_settings, commandline_options::multiplayer_label, commandline_options::multiplayer_parm, commandline_options::multiplayer_scenario, commandline_options::multiplayer_side, commandline_options::multiplayer_turns, commandline_options::new_widgets, commandline_options::nocache, commandline_options::nogui, commandline_options::nomusic, commandline_options::nosound, commandline_options::preprocess, commandline_options::preprocess_defines, commandline_options::preprocess_input_macros, commandline_options::preprocess_output_macros, commandline_options::preprocess_path, commandline_options::preprocess_target, commandline_options::resolution, commandline_options::rng_seed, commandline_options::screenshot, commandline_options::screenshot_map_file, commandline_options::screenshot_output_file, commandline_options::server, commandline_options::test, commandline_options::userdata_dir, commandline_options::userdata_path, commandline_options::validcache, commandline_options::version, commandline_options::windowed, and commandline_options::with_replay.
BOOST_AUTO_TEST_CASE | ( | test_full_options | ) |
Definition at line 157 of file test_commandline_options.cpp.
References commandline_options::campaign, commandline_options::campaign_difficulty, commandline_options::campaign_scenario, commandline_options::campaign_skip_story, commandline_options::clock, commandline_options::data_dir, commandline_options::data_path, commandline_options::debug, commandline_options::editor, commandline_options::fps, commandline_options::fullscreen, commandline_options::help, lg::LG_DEBUG, lg::LG_ERROR, lg::LG_INFO, lg::LG_WARN, commandline_options::load, commandline_options::log, commandline_options::logdomains, commandline_options::max_fps, commandline_options::multiplayer, commandline_options::multiplayer_ai_config, commandline_options::multiplayer_algorithm, commandline_options::multiplayer_controller, commandline_options::multiplayer_era, commandline_options::multiplayer_exit_at_end, commandline_options::multiplayer_ignore_map_settings, commandline_options::multiplayer_label, commandline_options::multiplayer_parm, commandline_options::multiplayer_scenario, commandline_options::multiplayer_side, commandline_options::multiplayer_turns, commandline_options::new_widgets, commandline_options::nocache, commandline_options::nogui, commandline_options::nomusic, commandline_options::nosound, commandline_options::preprocess, commandline_options::preprocess_defines, commandline_options::preprocess_input_macros, commandline_options::preprocess_output_macros, commandline_options::preprocess_path, commandline_options::preprocess_target, commandline_options::resolution, commandline_options::rng_seed, commandline_options::screenshot, commandline_options::screenshot_map_file, commandline_options::screenshot_output_file, commandline_options::server, commandline_options::test, commandline_options::userdata_dir, commandline_options::userdata_path, commandline_options::validcache, commandline_options::version, commandline_options::windowed, and commandline_options::with_replay.
BOOST_AUTO_TEST_CASE | ( | test_log_domain_severity_override_order | ) |
Definition at line 370 of file test_commandline_options.cpp.
References lg::LG_DEBUG, lg::LG_ERROR, lg::LG_INFO, lg::LG_NONE, and commandline_options::log.
BOOST_AUTO_TEST_CASE | ( | test_positional_options | ) |
Definition at line 304 of file test_commandline_options.cpp.
References commandline_options::campaign, commandline_options::campaign_difficulty, commandline_options::campaign_scenario, commandline_options::campaign_skip_story, commandline_options::clock, commandline_options::data_dir, commandline_options::data_path, commandline_options::debug, commandline_options::editor, commandline_options::fps, commandline_options::fullscreen, commandline_options::help, commandline_options::load, commandline_options::log, commandline_options::logdomains, commandline_options::max_fps, commandline_options::multiplayer, commandline_options::multiplayer_ai_config, commandline_options::multiplayer_algorithm, commandline_options::multiplayer_controller, commandline_options::multiplayer_era, commandline_options::multiplayer_exit_at_end, commandline_options::multiplayer_ignore_map_settings, commandline_options::multiplayer_label, commandline_options::multiplayer_parm, commandline_options::multiplayer_scenario, commandline_options::multiplayer_side, commandline_options::multiplayer_turns, commandline_options::new_widgets, commandline_options::nocache, commandline_options::nogui, commandline_options::nomusic, commandline_options::nosound, commandline_options::preprocess, commandline_options::preprocess_defines, commandline_options::preprocess_input_macros, commandline_options::preprocess_output_macros, commandline_options::preprocess_path, commandline_options::preprocess_target, commandline_options::resolution, commandline_options::rng_seed, commandline_options::screenshot, commandline_options::screenshot_map_file, commandline_options::screenshot_output_file, commandline_options::server, commandline_options::test, commandline_options::userdata_dir, commandline_options::userdata_path, commandline_options::validcache, commandline_options::version, commandline_options::windowed, and commandline_options::with_replay.