Searched refs:GetDateTimePartStringTest (Results 1 – 1 of 1) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_date_time_format_test.cpp | 500 std::string GetDateTimePartStringTest(JSThread *thread, JSHandle<JSTaggedValue> key, JSHandle<JSTag… in GetDateTimePartStringTest() function 548 EXPECT_STREQ(GetDateTimePartStringTest(thread, typeKey, year).c_str(), "year"); in HWTEST_F_L0() 549 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, year).c_str(), "2022"); in HWTEST_F_L0() 550 EXPECT_STREQ(GetDateTimePartStringTest(thread, typeKey, literal1).c_str(), "literal"); in HWTEST_F_L0() 551 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, literal1).c_str(), "/"); in HWTEST_F_L0() 552 EXPECT_STREQ(GetDateTimePartStringTest(thread, typeKey, month).c_str(), "month"); in HWTEST_F_L0() 553 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, month).c_str(), "5"); in HWTEST_F_L0() 554 EXPECT_STREQ(GetDateTimePartStringTest(thread, typeKey, literal2).c_str(), "literal"); in HWTEST_F_L0() 555 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, literal2).c_str(), "/"); in HWTEST_F_L0() 556 EXPECT_STREQ(GetDateTimePartStringTest(thread, typeKey, day).c_str(), "day"); in HWTEST_F_L0() [all …]
|