Ver Fonte

Improve core test namespace

Patrick-Christopher Mattulat há 2 anos atrás
pai
commit
feef3b32be

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

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-16
- * Changed:         2023-02-04
+ * Changed:         2023-02-05
  *
  * */
 
@@ -13,7 +13,7 @@
 
 using namespace ls::std::core;
 using namespace ::std;
-using namespace ls_std_core_test;
+using namespace test::core;
 
 namespace
 {

+ 2 - 2
test/classes/core/ClassWrapper.cpp

@@ -9,10 +9,10 @@
 
 #include <classes/core/ClassWrapper.hpp>
 
-ls_std_core_test::ClassWrapper::ClassWrapper() : ls::std::core::Class("ClassWrapper")
+test::core::ClassWrapper::ClassWrapper() : ls::std::core::Class("ClassWrapper")
 {}
 
-ls_std_core_test::ClassWrapper::~ClassWrapper()
+test::core::ClassWrapper::~ClassWrapper()
 {
   Die();
 }

+ 1 - 1
test/classes/core/ClassWrapper.hpp

@@ -13,7 +13,7 @@
 #include <gmock/gmock.h>
 #include <ls-std/ls-std-core.hpp>
 
-namespace ls_std_core_test // TODO: fix namespace
+namespace test::core
 {
   class ClassWrapper : public ls::std::core::Class
   {