test logs

This commit is contained in:
lganzzzo 2018-10-17 00:43:20 +03:00
parent 6f6fb898fd
commit 965764a93d
2 changed files with 11 additions and 4 deletions

View File

@ -125,6 +125,13 @@ public:
static AbstractObjectWrapper deserialize(oatpp::parser::ParsingCaret& caret,
const std::shared_ptr<Config>& config,
const Type* const type) {
OATPP_LOGD("test", "type->name='%s'", type->name);
OATPP_LOGD("test", "__class='%s'", oatpp::data::mapping::type::__class::AbstractObject::CLASS_NAME);
OATPP_LOGD("test", "type->name addr=%d", type->name);
OATPP_LOGD("test", "__class addr=%d", oatpp::data::mapping::type::__class::AbstractObject::CLASS_NAME);
if(type->name == oatpp::data::mapping::type::__class::AbstractObject::CLASS_NAME){
return readObject(type, caret, config);
} else if(type->name == oatpp::data::mapping::type::__class::AbstractList::CLASS_NAME){

View File

@ -30,10 +30,10 @@ public:
};
void runTests() {
OATPP_RUN_TEST(oatpp::test::collection::LinkedListTest);
OATPP_RUN_TEST(oatpp::test::memory::MemoryPoolTest);
OATPP_RUN_TEST(oatpp::test::memory::PerfTest);
OATPP_RUN_TEST(oatpp::test::encoding::UnicodeTest);
//OATPP_RUN_TEST(oatpp::test::collection::LinkedListTest);
//OATPP_RUN_TEST(oatpp::test::memory::MemoryPoolTest);
//OATPP_RUN_TEST(oatpp::test::memory::PerfTest);
//OATPP_RUN_TEST(oatpp::test::encoding::UnicodeTest);
OATPP_RUN_TEST(oatpp::test::parser::json::mapping::DeserializerTest);
OATPP_RUN_TEST(oatpp::test::parser::json::mapping::DTOMapperPerfTest);
OATPP_RUN_TEST(oatpp::test::parser::json::mapping::DTOMapperTest);