#include <boost/test/unit_test.hpp>
#include "config_cache.hpp"
#include "filesystem.hpp"
#include "formula/debugger.hpp"
#include "gettext.hpp"
#include "game_classification.hpp"
#include "game_config.hpp"
#include "game_display.hpp"
#include "generators/map_create.hpp"
#include "gui/core/layout_exception.hpp"
#include "gui/dialogs/addon/connect.hpp"
#include "gui/dialogs/addon/list.hpp"
#include "gui/dialogs/advanced_graphics_options.hpp"
#include "gui/dialogs/campaign_difficulty.hpp"
#include "gui/dialogs/campaign_selection.hpp"
#include "gui/dialogs/campaign_settings.hpp"
#include "gui/dialogs/chat_log.hpp"
#include "gui/dialogs/debug_clock.hpp"
#include "gui/dialogs/edit_label.hpp"
#include "gui/dialogs/edit_text.hpp"
#include "gui/dialogs/editor/generate_map.hpp"
#include "gui/dialogs/editor/new_map.hpp"
#include "gui/dialogs/editor/resize_map.hpp"
#include "gui/dialogs/editor/set_starting_position.hpp"
#include "gui/dialogs/folder_create.hpp"
#include "gui/dialogs/formula_debugger.hpp"
#include "gui/dialogs/game_cache_options.hpp"
#include "gui/dialogs/game_delete.hpp"
#include "gui/dialogs/game_load.hpp"
#include "gui/dialogs/game_version.hpp"
#include "gui/dialogs/game_save.hpp"
#include "gui/dialogs/gamestate_inspector.hpp"
#include "gui/dialogs/label_settings.hpp"
#include "gui/dialogs/language_selection.hpp"
#include "gui/dialogs/loadscreen.hpp"
#include "gui/dialogs/lobby/lobby.hpp"
#include "gui/dialogs/lobby/player_info.hpp"
#include "gui/dialogs/logging.hpp"
#include "gui/dialogs/lua_interpreter.hpp"
#include "gui/dialogs/message.hpp"
#include "gui/dialogs/multiplayer/mp_alerts_options.hpp"
#include "gui/dialogs/multiplayer/mp_change_control.hpp"
#include "gui/dialogs/multiplayer/mp_cmd_wrapper.hpp"
#include "gui/dialogs/multiplayer/mp_connect.hpp"
#include "gui/dialogs/multiplayer/mp_create_game.hpp"
#include "gui/dialogs/multiplayer/mp_create_game_set_password.hpp"
#include "gui/dialogs/multiplayer/mp_join_game_password_prompt.hpp"
#include "gui/dialogs/depcheck_confirm_change.hpp"
#include "gui/dialogs/depcheck_select_new.hpp"
#include "gui/dialogs/multiplayer/mp_login.hpp"
#include "gui/dialogs/multiplayer/mp_method_selection.hpp"
#include "gui/dialogs/simple_item_selector.hpp"
#include "gui/dialogs/screenshot_notification.hpp"
#include "gui/dialogs/select_orb_colors.hpp"
#include "gui/dialogs/theme_list.hpp"
#include "gui/dialogs/title_screen.hpp"
#include "gui/dialogs/tip.hpp"
#include "gui/dialogs/transient_message.hpp"
#include "gui/dialogs/unit_attack.hpp"
#include "gui/dialogs/unit_create.hpp"
#include "gui/dialogs/unit_recruit.hpp"
#include "gui/dialogs/wml_error.hpp"
#include "gui/dialogs/wml_message.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/widgets/window.hpp"
#include "language.hpp"
#include "game_initialization/create_engine.hpp"
#include "tests/utils/fake_display.hpp"
#include "saved_game.hpp"
#include "video.hpp"
#include "wesnothd_connection.hpp"
#include "wml_exception.hpp"
#include "utils/functional.hpp"
#include <memory>
Go to the source code of this file.
Namespaces | |
gui2 | |
A class inherited from ttext_box that displays its input as stars. | |
Macros | |
#define | GETTEXT_DOMAIN "wesnoth-lib" |
Functions | |
std::vector< std::string > & | gui2::unit_test_registered_window_list () |
std::string | gui2::unit_test_mark_as_tested (const tdialog &dialog) |
std::string | gui2::unit_test_mark_popup_as_tested (const tpopup &dialog) |
twindow * | gui2::unit_test_window (const tpopup &dialog) |
tdialog * | gui2::unit_test_mp_server_list () |
BOOST_AUTO_TEST_CASE (test_gui2) | |
BOOST_AUTO_TEST_CASE (test_make_test_fake) | |
#define GETTEXT_DOMAIN "wesnoth-lib" |
Definition at line 16 of file test_gui2.cpp.
BOOST_AUTO_TEST_CASE | ( | test_gui2 | ) |
Definition at line 347 of file test_gui2.cpp.
References game_config::config_cache::add_define(), gui2::cache, config::child(), game_config::config_cache::clear_defines(), game_config::config_cache::get_config(), game_config::config_cache::instance(), game_config::load_config(), load_language_list(), game_config::path, schema_validation::remove, and gui2::unit_test_registered_window_list().
BOOST_AUTO_TEST_CASE | ( | test_make_test_fake | ) |
Definition at line 481 of file test_gui2.cpp.
References _(), test_utils::get_fake_display(), gui2::tdialog::show(), twml_exception::user_message, and display::video().