| 123456789101112131415161718192021222324252627282930 |
- /*
- * author: Patrick-Christopher Mattulat
- * e-mail: webmaster@lynarstudios.com
- */
- #include <factory/KeyboardFactory.hpp>
- #include <glossary/WindowApiTypes.hpp>
- #include <gtest/gtest.h>
- #include <ls-std/ls-std-core.hpp>
- using ls::atlantis::factory::KeyboardFactory;
- using ls::atlantis::glossary::WindowApiTypes;
- using ls::std::core::IllegalArgumentException;
- using ::testing::Test;
- namespace
- {
- class KeyboardFactoryTest : public Test
- {
- public:
- KeyboardFactoryTest() = default;
- ~KeyboardFactoryTest() override = default;
- };
- TEST_F(KeyboardFactoryTest, build_noneSelected)
- {
- ASSERT_THROW(static_cast<void>(KeyboardFactory::build(WindowApiTypes::NONE_SELECTED)), IllegalArgumentException);
- }
- }
|