/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_date_time_format_second_test.cpp | 150 JSHandle<JSTaggedValue> valueKey = globalConst->GetHandledValueString(); in HWTEST_F_L0() local 169 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, year).c_str(), "2022"); in HWTEST_F_L0() 171 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, literal1).c_str(), "/"); in HWTEST_F_L0() 173 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, month).c_str(), "5"); in HWTEST_F_L0() 175 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, literal2).c_str(), "/"); in HWTEST_F_L0() 177 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, day).c_str(), "25"); in HWTEST_F_L0() 181 JSHandle<JSTaggedValue>& valueKey) in CheckOther() 186 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, month).c_str(), "05"); in CheckOther() 188 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, literal2).c_str(), "月"); in CheckOther() 193 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, da in CheckOther() 180 CheckOther(JSThread *thread, JSHandle<JSArray>& dateTimeArray, JSHandle<JSTaggedValue>& typeKey, JSHandle<JSTaggedValue>& valueKey) CheckOther() argument 236 JSHandle<JSTaggedValue> valueKey = globalConst->GetHandledValueString(); HWTEST_F_L0() local [all...] |
H A D | js_generator_object_test.cpp | 88 JSHandle<JSTaggedValue> valueKey = thread->GlobalConstants()->GetHandledValueString(); in HWTEST_F_L0() local 97 EXPECT_EQ((JSObject::GetProperty(thread, result, valueKey).GetValue()).GetTaggedValue(), in HWTEST_F_L0() 114 JSHandle<JSTaggedValue> valueKey = thread->GlobalConstants()->GetHandledValueString(); in HWTEST_F_L0() local 124 EXPECT_EQ((JSObject::GetProperty(thread, result, valueKey).GetValue()).GetTaggedValue(), JSTaggedValue(1)); in HWTEST_F_L0()
|
H A D | js_list_format_test.cpp | 247 JSHandle<JSTaggedValue> valueKey = globalConst->GetHandledValueString(); in HWTEST_F_L0() local 255 EXPECT_STREQ(GetListPartStringTest(thread, valueKey, element1).c_str(), "苹果"); in HWTEST_F_L0() 257 EXPECT_STREQ(GetListPartStringTest(thread, valueKey, literal1).c_str(), "、"); in HWTEST_F_L0() 259 EXPECT_STREQ(GetListPartStringTest(thread, valueKey, element2).c_str(), "梨子"); in HWTEST_F_L0() 261 EXPECT_STREQ(GetListPartStringTest(thread, valueKey, literal2).c_str(), "和"); in HWTEST_F_L0() 263 EXPECT_STREQ(GetListPartStringTest(thread, valueKey, element3).c_str(), "桃"); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_reflect_test.cpp | 159 JSHandle<JSTaggedValue> valueKey = globalConst->GetHandledValueString(); in HWTEST_F_L0() local 161 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(attributes), valueKey, value); in HWTEST_F_L0() 279 JSHandle<JSTaggedValue> valueKey = globalConst->GetHandledValueString(); in HWTEST_F_L0() local 280 JSHandle<JSTaggedValue> resultValue = JSObject::GetProperty(thread, resultObj, valueKey).GetValue(); in HWTEST_F_L0()
|
H A D | builtins_segmenter_test.cpp | 333 JSHandle<JSTaggedValue> valueKey = globalConst->GetHandledValueString(); in HWTEST_F_L0() local 335 JSHandle<JSTaggedValue> value1(JSObject::GetProperty(thread, result1, valueKey).GetValue()); in HWTEST_F_L0() 353 JSHandle<JSTaggedValue> value2(JSObject::GetProperty(thread, result2, valueKey).GetValue()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_promise_handler.cpp | 417 JSHandle<JSTaggedValue> valueKey = globalConst->GetHandledValueString(); in AllSettledResolveElementFunction() local 419 JSObject::CreateDataPropertyOrThrow(thread, obj, valueKey, xValue); in AllSettledResolveElementFunction()
|