Searched refs:GetDateTimePartStringTest (Results 1 – 1 of 1) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_date_time_format_second_test.cpp | 128 std::string GetDateTimePartStringTest(JSThread *thread, JSHandle<JSTaggedValue> key, JSHandle<JSTag… in GetDateTimePartStringTest() function 168 EXPECT_STREQ(GetDateTimePartStringTest(thread, typeKey, year).c_str(), "year"); in HWTEST_F_L0() 169 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, year).c_str(), "2022"); in HWTEST_F_L0() 170 EXPECT_STREQ(GetDateTimePartStringTest(thread, typeKey, literal1).c_str(), "literal"); in HWTEST_F_L0() 171 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, literal1).c_str(), "/"); in HWTEST_F_L0() 172 EXPECT_STREQ(GetDateTimePartStringTest(thread, typeKey, month).c_str(), "month"); in HWTEST_F_L0() 173 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, month).c_str(), "5"); in HWTEST_F_L0() 174 EXPECT_STREQ(GetDateTimePartStringTest(thread, typeKey, literal2).c_str(), "literal"); in HWTEST_F_L0() 175 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, literal2).c_str(), "/"); in HWTEST_F_L0() 176 EXPECT_STREQ(GetDateTimePartStringTest(thread, typeKey, day).c_str(), "day"); in HWTEST_F_L0() [all …]
|