Do not use 'test' namespace in tests

This commit is contained in:
Leonid Stryzhevskyi 2024-04-23 02:46:59 +03:00
parent 4bfa3db6f5
commit 0f99dc37fb
17 changed files with 64 additions and 64 deletions

View File

@ -119,21 +119,21 @@ void runTests() {
OATPP_RUN_TEST(oatpp::test::core::data::resource::InMemoryDataTest);
OATPP_RUN_TEST(oatpp::async::test::ConditionVariableTest);
OATPP_RUN_TEST(oatpp::async::test::LockTest);
OATPP_RUN_TEST(oatpp::async::ConditionVariableTest);
OATPP_RUN_TEST(oatpp::async::LockTest);
OATPP_RUN_TEST(oatpp::test::parser::CaretTest);
OATPP_RUN_TEST(oatpp::test::core::provider::PoolTest);
OATPP_RUN_TEST(oatpp::test::core::provider::PoolTemplateTest);
OATPP_RUN_TEST(oatpp::json::test::EnumTest);
OATPP_RUN_TEST(oatpp::json::test::BooleanTest);
OATPP_RUN_TEST(oatpp::json::EnumTest);
OATPP_RUN_TEST(oatpp::json::BooleanTest);
OATPP_RUN_TEST(oatpp::json::test::UnorderedSetTest);
OATPP_RUN_TEST(oatpp::json::UnorderedSetTest);
OATPP_RUN_TEST(oatpp::json::test::DeserializerTest);
OATPP_RUN_TEST(oatpp::json::test::DTOMapperPerfTest);
OATPP_RUN_TEST(oatpp::json::test::DTOMapperTest);
OATPP_RUN_TEST(oatpp::json::DeserializerTest);
OATPP_RUN_TEST(oatpp::json::DTOMapperPerfTest);
OATPP_RUN_TEST(oatpp::json::DTOMapperTest);
OATPP_RUN_TEST(oatpp::test::encoding::Base64Test);
OATPP_RUN_TEST(oatpp::test::encoding::UnicodeTest);

View File

@ -27,7 +27,7 @@
#include "oatpp/async/Executor.hpp"
#include "oatpp/async/ConditionVariable.hpp"
namespace oatpp { namespace async { namespace test {
namespace oatpp { namespace async {
namespace {
@ -233,4 +233,4 @@ void ConditionVariableTest::onRun() {
}
}}}
}}

View File

@ -22,12 +22,12 @@
*
***************************************************************************/
#ifndef oatpp_async_test_ConditionVariableTest_hpp
#define oatpp_async_test_ConditionVariableTest_hpp
#ifndef oatpp_async_ConditionVariableTest_hpp
#define oatpp_async_ConditionVariableTest_hpp
#include "oatpp-test/UnitTest.hpp"
namespace oatpp { namespace async { namespace test {
namespace oatpp { namespace async {
class ConditionVariableTest : public oatpp::test::UnitTest{
public:
@ -37,6 +37,6 @@ public:
};
}}}
}}
#endif // oatpp_async_test_ConditionVariableTest_hpp
#endif // oatpp_async_ConditionVariableTest_hpp

View File

@ -32,7 +32,7 @@
#include <thread>
#include <list>
namespace oatpp { namespace async { namespace test {
namespace oatpp { namespace async {
namespace {
@ -209,4 +209,4 @@ void LockTest::onRun() {
}
}}}
}}

View File

@ -22,12 +22,12 @@
*
***************************************************************************/
#ifndef oatpp_async_test_LockTest_hpp
#define oatpp_async_test_LockTest_hpp
#ifndef oatpp_async_LockTest_hpp
#define oatpp_async_LockTest_hpp
#include "oatpp-test/UnitTest.hpp"
namespace oatpp { namespace async { namespace test {
namespace oatpp { namespace async {
class LockTest : public oatpp::test::UnitTest{
public:
@ -37,6 +37,6 @@ public:
};
}}}
}}
#endif // oatpp_async_test_LockTest_hpp
#endif // oatpp_async_LockTest_hpp

View File

@ -26,7 +26,7 @@
#include "oatpp/json/ObjectMapper.hpp"
namespace oatpp { namespace json { namespace test {
namespace oatpp { namespace json {
void BooleanTest::onRun() {
oatpp::json::ObjectMapper mapper;
@ -60,4 +60,4 @@ void BooleanTest::onRun() {
}
}
}}}
}}

View File

@ -22,12 +22,12 @@
*
***************************************************************************/
#ifndef oatpp_json_test_BooleanTest_hpp
#define oatpp_json_test_BooleanTest_hpp
#ifndef oatpp_json_BooleanTest_hpp
#define oatpp_json_BooleanTest_hpp
#include "oatpp-test/UnitTest.hpp"
namespace oatpp { namespace json { namespace test {
namespace oatpp { namespace json {
class BooleanTest : public oatpp::test::UnitTest {
public:
@ -35,6 +35,6 @@ public:
void onRun() override;
};
}}}
}}
#endif /* oatpp_json_test_BooleanTest_hpp */
#endif /* oatpp_json_BooleanTest_hpp */

View File

@ -35,7 +35,7 @@
#include "oatpp-test/Checker.hpp"
namespace oatpp { namespace json { namespace test {
namespace oatpp { namespace json {
namespace {
@ -98,4 +98,4 @@ void DTOMapperPerfTest::onRun() {
}
}}}
}}

View File

@ -22,12 +22,12 @@
*
***************************************************************************/
#ifndef oatpp_json_test_DTOMapperPerfTest_hpp
#define oatpp_json_test_DTOMapperPerfTest_hpp
#ifndef oatpp_json_DTOMapperPerfTest_hpp
#define oatpp_json_DTOMapperPerfTest_hpp
#include "oatpp-test/UnitTest.hpp"
namespace oatpp { namespace json { namespace test {
namespace oatpp { namespace json {
class DTOMapperPerfTest : public oatpp::test::UnitTest {
public:
@ -37,6 +37,6 @@ public:
};
}}}
}}
#endif /* oatpp_json_test_DTOMapperPerfTest_hpp */
#endif /* oatpp_json_DTOMapperPerfTest_hpp */

View File

@ -36,7 +36,7 @@
#include "oatpp/macro/codegen.hpp"
namespace oatpp { namespace json { namespace test {
namespace oatpp { namespace json {
namespace {
@ -402,4 +402,4 @@ void DTOMapperTest::onRun(){
#include OATPP_CODEGEN_END(DTO)
}}}
}}

View File

@ -22,12 +22,12 @@
*
***************************************************************************/
#ifndef oatpp_json_test_DTOMapperTest_hpp
#define oatpp_json_test_DTOMapperTest_hpp
#ifndef oatpp_json_DTOMapperTest_hpp
#define oatpp_json_DTOMapperTest_hpp
#include "oatpp-test/UnitTest.hpp"
namespace oatpp { namespace json { namespace test {
namespace oatpp { namespace json {
class DTOMapperTest : public oatpp::test::UnitTest {
public:
@ -37,6 +37,6 @@ public:
};
}}}
}}
#endif /* oatpp_json_test_DTOMapperTest_hpp */
#endif /* oatpp_json_DTOMapperTest_hpp */

View File

@ -29,7 +29,7 @@
#include "oatpp/json/ObjectMapper.hpp"
#include "oatpp/macro/codegen.hpp"
namespace oatpp { namespace json { namespace test {
namespace oatpp { namespace json {
namespace {
@ -324,4 +324,4 @@ void DeserializerTest::onRun(){
}
}}}
}}

View File

@ -22,12 +22,12 @@
*
***************************************************************************/
#ifndef oatpp_json_test_DeserializerTest_hpp
#define oatpp_json_test_DeserializerTest_hpp
#ifndef oatpp_json_DeserializerTest_hpp
#define oatpp_json_DeserializerTest_hpp
#include "oatpp-test/UnitTest.hpp"
namespace oatpp { namespace json { namespace test {
namespace oatpp { namespace json {
class DeserializerTest : public oatpp::test::UnitTest {
public:
@ -37,6 +37,6 @@ public:
};
}}}
}}
#endif /* oatpp_json_test_DeserializerTest_hpp */
#endif /* oatpp_json_DeserializerTest_hpp */

View File

@ -28,7 +28,7 @@
#include "oatpp/macro/codegen.hpp"
namespace oatpp { namespace json { namespace test {
namespace oatpp { namespace json {
namespace {
@ -184,4 +184,4 @@ void EnumTest::onRun() {
}
}}}
}}

View File

@ -22,12 +22,12 @@
*
***************************************************************************/
#ifndef oatpp_json_test_EnumTest_hpp
#define oatpp_json_test_EnumTest_hpp
#ifndef oatpp_json_EnumTest_hpp
#define oatpp_json_EnumTest_hpp
#include "oatpp-test/UnitTest.hpp"
namespace oatpp { namespace json { namespace test {
namespace oatpp { namespace json {
class EnumTest : public oatpp::test::UnitTest {
public:
@ -37,6 +37,6 @@ public:
};
}}}
}}
#endif /* oatpp_json_test_EnumTest_hpp */
#endif /* oatpp_json_EnumTest_hpp */

View File

@ -26,7 +26,7 @@
#include "oatpp/json/ObjectMapper.hpp"
namespace oatpp { namespace json { namespace test {
namespace oatpp { namespace json {
void UnorderedSetTest::onRun() {
@ -50,4 +50,4 @@ void UnorderedSetTest::onRun() {
}
}}}
}}

View File

@ -22,12 +22,12 @@
*
***************************************************************************/
#ifndef oatpp_json_test_UnorderedSetTest_hpp
#define oatpp_json_test_UnorderedSetTest_hpp
#ifndef oatpp_json_UnorderedSetTest_hpp
#define oatpp_json_UnorderedSetTest_hpp
#include "oatpp-test/UnitTest.hpp"
namespace oatpp { namespace json { namespace test {
namespace oatpp { namespace json {
class UnorderedSetTest : public oatpp::test::UnitTest {
public:
@ -37,6 +37,6 @@ public:
};
}}}
}}
#endif /* oatpp_json_test_UnorderedSetTest_hpp */
#endif /* oatpp_json_UnorderedSetTest_hpp */