EventHandlerTest.cpp 688 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-11-27
  6. * Changed: 2020-11-29
  7. *
  8. * */
  9. #include <gtest/gtest.h>
  10. #include <ls_std/ls_std.hpp>
  11. #include <ls_std_test.hpp>
  12. namespace {
  13. class EventHandlerTest : public ::testing::Test {
  14. protected:
  15. EventHandlerTest() = default;
  16. ~EventHandlerTest() override = default;
  17. void SetUp() override
  18. {}
  19. void TearDown() override
  20. {}
  21. };
  22. TEST_F(EventHandlerTest, getId)
  23. {
  24. ls_std::EventHandler eventHandler {"EventId"};
  25. ASSERT_STREQ("EventId", eventHandler.getId().c_str());
  26. }
  27. }