Procházet zdrojové kódy

Rename ClassWrapper class

Patrick-Christopher Mattulat před 1 rokem
rodič
revize
cadaf246d4

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

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-16
- * Changed:         2022-11-09
+ * Changed:         2022-12-16
  *
  * */
 
@@ -47,7 +47,7 @@ namespace
 
   TEST_F(ClassTest, destructor)
   {
-    shared_ptr<ClassWrapper> object = make_shared<ClassWrapper>();
+    shared_ptr<MockClass> object = make_shared<MockClass>();
     EXPECT_CALL(*object, Die());
   }
 

+ 3 - 3
test/classes/core/ClassWrapper.hpp → test/classes/core/MockClass.hpp

@@ -15,13 +15,13 @@
 
 namespace ls_std_core_test
 {
-  class ClassWrapper : public ls::std::core::Class
+  class MockClass : public ls::std::core::Class
   {
     public:
 
-      ClassWrapper() : ls::std::core::Class("ClassWrapper") {};
+      MockClass() : ls::std::core::Class("ClassWrapper") {};
       MOCK_METHOD0(Die, void());
-      ~ClassWrapper() override { Die(); }
+      ~MockClass() override { Die(); }
   };
 }
 

+ 1 - 1
test/ls_std_core_test.hpp

@@ -12,6 +12,6 @@
 
 #include <classes/core/api/io/MockPosixReader.hpp>
 
-#include <classes/core/ClassWrapper.hpp>
+#include <classes/core/MockClass.hpp>
 
 #endif