From 965764a93d5908bc723782f96b37df768eaa0d89 Mon Sep 17 00:00:00 2001 From: lganzzzo Date: Wed, 17 Oct 2018 00:43:20 +0300 Subject: [PATCH] test logs --- parser/json/mapping/Deserializer.hpp | 7 +++++++ test/AllTestsMain.cpp | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/parser/json/mapping/Deserializer.hpp b/parser/json/mapping/Deserializer.hpp index a0090341..8d9e1efe 100644 --- a/parser/json/mapping/Deserializer.hpp +++ b/parser/json/mapping/Deserializer.hpp @@ -125,6 +125,13 @@ public: static AbstractObjectWrapper deserialize(oatpp::parser::ParsingCaret& caret, const std::shared_ptr& 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){ diff --git a/test/AllTestsMain.cpp b/test/AllTestsMain.cpp index 75e897c4..2331142c 100644 --- a/test/AllTestsMain.cpp +++ b/test/AllTestsMain.cpp @@ -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);