48{
49 BOOST_CHECK_NO_THROW([]() {
50 try {
52
53 sChar->general_conf().set_config_file_path(
"config/char-server.lua.dist");
55
58 } catch(std::length_error &e) {
59 std::cerr << "Exception caught: " << e.what() << std::endl;
60 } catch(std::bad_alloc &e) {
61 std::cerr << "Exception caught: " << e.what() << std::endl;
62 } catch(std::exception &e) {
63 std::cerr << "Exception caught: " << e.what() << std::endl;
64 } catch(...) {
65 std::cerr << "Unknown exception caught." << std::endl;
66 }
67 });
68}
#define sChar
Definition: Char.hpp:143
@ TEST_RUN_MINIMAL
Definition: ServerConfiguration.hpp:40
@ SHUTDOWN_INITIATED
Definition: Server.hpp:65
void set_shutdown_stage(shutdown_stages new_stage)
Definition: Server.hpp:75