/* * author: Patrick-Christopher Mattulat * e-mail: webmaster@lynarstudios.com */ #include #include #include using ls::atlantis::cycle::StatusCodeWindowCreationFailed; using ls::atlantis::glossary::StatusCodes; using ::std::string; using ::testing::Test; namespace { class StatusCodeWindowCreationFailedTest : public Test { public: StatusCodeWindowCreationFailedTest() = default; ~StatusCodeWindowCreationFailedTest() override = default; }; TEST_F(StatusCodeWindowCreationFailedTest, getId) { ASSERT_EQ(StatusCodes::WINDOW_CREATION_FAILED, StatusCodeWindowCreationFailed().getId()); } TEST_F(StatusCodeWindowCreationFailedTest, getText) { ASSERT_EQ(string("window creation failed"), StatusCodeWindowCreationFailed().getText()); } }