mirror of
https://github.com/oatpp/oatpp.git
synced 2024-11-27 08:30:07 +08:00
test logs
This commit is contained in:
parent
6f6fb898fd
commit
965764a93d
@ -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){
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user