Add new dialog to unit tests

This commit is contained in:
Celtic Minstrel 2016-08-25 17:23:00 -04:00
parent 201abc9d7e
commit e2a2f519bc

View file

@ -431,6 +431,7 @@ BOOST_AUTO_TEST_CASE(test_gui2)
test<gui2::twml_error>();
test<gui2::twml_message_left>();
test<gui2::twml_message_right>();
test<gui2::twml_message_double>();
test<gui2::tmp_alerts_options>();
test<gui2::tadvanced_graphics_options>();
test<gui2::tcustom_tod>();
@ -1066,5 +1067,14 @@ struct twrapper<gui2::twml_message_right>
}
};
template<>
struct twrapper<gui2::twml_message_double>
{
gui2::twml_message_double* create()
{
return new gui2::twml_message_double("Title", "Message", "", false, "", true);
}
};
} // namespace