Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/libpandabase/tests/
Djson_parser_test.cpp40 ASSERT_EQ(obj.GetValue<JsonObject::StringT>("key_2"), nullptr);
64 ASSERT_NE(main_array[0].Get<JsonObject::StringT>(), nullptr);
65 ASSERT_EQ(*main_array[0].Get<JsonObject::StringT>(), "elem0");
71 ASSERT_NE(inner_array[0].Get<JsonObject::StringT>(), nullptr);
72 ASSERT_EQ(*inner_array[0].Get<JsonObject::StringT>(), "elem1.0");
74 ASSERT_NE(inner_array[1].Get<JsonObject::StringT>(), nullptr);
75 ASSERT_EQ(*inner_array[1].Get<JsonObject::StringT>(), "elem1.1");
78 ASSERT_NE(main_array[2].Get<JsonObject::StringT>(), nullptr);
79 ASSERT_EQ(*main_array[2].Get<JsonObject::StringT>(), "elem2");
109 ASSERT_NE(obj.GetValue<JsonObject::StringT>("key_0"), nullptr);
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Djson_parser.h35 using StringT = std::string; variable
39 using Key = StringT;
77 std::variant<std::monostate, StringT, NumT, BoolT, ArrayT, JsonObjPointer> value_;
114 StringT string_temp_;
160 const StringT *GetValueSourceString(const Key &key) const in GetValueSourceString()
186 std::unordered_map<Key, StringT> string_map_;
Djson_parser.cpp92 ASSERT(parsed_temp_.Get<StringT>() != nullptr); in InsertKeyValuePairIn()
93 Key key(std::move(*parsed_temp_.Get<StringT>())); in InsertKeyValuePairIn()