Browse Source

Change namespace of ClassWrapper to stick to naming convention

Patrick-Christopher Mattulat 2 năm trước cách đây
mục cha
commit
b186592659
2 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 1 1
      test/cases/core/ClassTest.cpp
  2. 4 4
      test/classes/base/ClassWrapper.hpp

+ 1 - 1
test/cases/core/ClassTest.cpp

@@ -43,7 +43,7 @@ namespace
 
   TEST_F(ClassTest, destructor)
   {
-    std::shared_ptr<ls_std_test::ClassWrapper> object = std::make_shared<ls_std_test::ClassWrapper>();
+    std::shared_ptr<ls_std_core_test::ClassWrapper> object = std::make_shared<ls_std_core_test::ClassWrapper>();
     EXPECT_CALL(*object, Die());
   }
 

+ 4 - 4
test/classes/base/ClassWrapper.hpp

@@ -3,17 +3,17 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-04-24
- * Changed:         2022-05-05
+ * Changed:         2022-05-16
  *
  * */
 
 #ifndef LS_STD_CLASS_MOCK_HPP
 #define LS_STD_CLASS_MOCK_HPP
 
-#include <ls_std/ls_std.hpp>
+#include <ls_std/ls_std_core.hpp>
 #include <gmock/gmock.h>
-// TODO: check if this class is being used with correct include
-namespace ls_std_test // TODO: change namespace to core specific namespace
+
+namespace ls_std_core_test
 {
   class ClassWrapper : public ls::std::core::Class
   {