Home
last modified time | relevance | path

Searched refs:inner_obj (Results 1 – 1 of 1) sorted by relevance

/arkcompiler/runtime_core/libpandabase/tests/
Djson_parser_test.cpp118 const auto *inner_obj = obj.GetValue<JsonObject::JsonObjPointer>("key_1")->get(); variable
119 ASSERT_NE(inner_obj, nullptr);
120 ASSERT_TRUE(inner_obj->IsValid());
123 ASSERT_NE(inner_obj->GetValue<JsonObject::StringT>("key_0.0"), nullptr);
124 ASSERT_EQ(*inner_obj->GetValue<JsonObject::StringT>("key_0.0"), "key_0.0.value");
127 ASSERT_NE(inner_obj->GetValue<JsonObject::StringT>("repeated_key_1"), nullptr);
128 ASSERT_EQ(*inner_obj->GetValue<JsonObject::StringT>("repeated_key_1"), "repeated_key_1.value1");
131 ASSERT_NE(inner_obj->GetValue<JsonObject::StringT>("repeated_key_2"), nullptr);
132 ASSERT_EQ(*inner_obj->GetValue<JsonObject::StringT>("repeated_key_2"), "repeated_key_2.value0");