Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_date_time_format_test.cpp528 JSHandle<JSTaggedValue> valueKey = globalConst->GetHandledValueString(); in HWTEST_F_L0() local
552 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, year).c_str(), "2022"); in HWTEST_F_L0()
554 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, literal1).c_str(), "/"); in HWTEST_F_L0()
556 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, month).c_str(), "5"); in HWTEST_F_L0()
558 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, literal2).c_str(), "/"); in HWTEST_F_L0()
560 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, day).c_str(), "25"); in HWTEST_F_L0()
571 JSHandle<JSTaggedValue> valueKey = globalConst->GetHandledValueString(); in HWTEST_F_L0() local
623 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, year).c_str(), "22"); in HWTEST_F_L0()
625 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, literal1).c_str(), "年"); in HWTEST_F_L0()
627 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, month).c_str(), "05"); in HWTEST_F_L0()
[all …]
Djs_generator_object_test.cpp108 JSHandle<JSTaggedValue> valueKey = thread->GlobalConstants()->GetHandledValueString(); in HWTEST_F_L0() local
117 EXPECT_EQ((JSObject::GetProperty(thread, result, valueKey).GetValue()).GetTaggedValue(), in HWTEST_F_L0()
134 JSHandle<JSTaggedValue> valueKey = thread->GlobalConstants()->GetHandledValueString(); in HWTEST_F_L0() local
144 …EXPECT_EQ((JSObject::GetProperty(thread, result, valueKey).GetValue()).GetTaggedValue(), JSTaggedV… in HWTEST_F_L0()
Djs_list_format_test.cpp314 JSHandle<JSTaggedValue> valueKey = globalConst->GetHandledValueString(); in HWTEST_F_L0() local
322 EXPECT_STREQ(GetListPartStringTest(thread, valueKey, element1).c_str(), "苹果"); in HWTEST_F_L0()
324 EXPECT_STREQ(GetListPartStringTest(thread, valueKey, literal1).c_str(), "、"); in HWTEST_F_L0()
326 EXPECT_STREQ(GetListPartStringTest(thread, valueKey, element2).c_str(), "梨子"); in HWTEST_F_L0()
328 EXPECT_STREQ(GetListPartStringTest(thread, valueKey, literal2).c_str(), "和"); in HWTEST_F_L0()
330 EXPECT_STREQ(GetListPartStringTest(thread, valueKey, element3).c_str(), "桃"); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_reflect_test.cpp183 JSHandle<JSTaggedValue> valueKey = globalConst->GetHandledValueString(); in HWTEST_F_L0() local
185 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(attributes), valueKey, value); in HWTEST_F_L0()
303 JSHandle<JSTaggedValue> valueKey = globalConst->GetHandledValueString(); in HWTEST_F_L0() local
304 …JSHandle<JSTaggedValue> resultValue = JSObject::GetProperty(thread, resultObj, valueKey).GetValue(… in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise_handler.cpp421 JSHandle<JSTaggedValue> valueKey = globalConst->GetHandledValueString(); in AllSettledResolveElementFunction() local
423 JSObject::CreateDataPropertyOrThrow(thread, obj, valueKey, xValue); in AllSettledResolveElementFunction()