| 12345678910111213141516171819202122232425262728293031323334 |
- /*
- * author: Patrick-Christopher Mattulat
- * e-mail: webmaster@lynarstudios.com
- */
- #include <glossary/StatusCodes.hpp>
- #include <cycle/StatusCodeWindowCreationFailed.hpp>
- #include <gtest/gtest.h>
- 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());
- }
- }
|