Home
last modified time | relevance | path

Searched refs:CalendarTest (Results 1 – 11 of 11) sorted by relevance

/external/libtextclassifier/native/utils/calendar/
Dcalendar_test.cc23 class CalendarTest : public ::testing::Test { class
25 CalendarTest() in CalendarTest() function in libtextclassifier3::__anon9cf92d0d0111::CalendarTest
32 TEST_F(CalendarTest, Interface) { in TEST_F() argument
44 TEST_F(CalendarTest, SetsZeroTimeWhenNotRelative) { in TEST_F() argument
65 TEST_F(CalendarTest, SetsTimeZone) { in TEST_F() argument
102 TEST_F(CalendarTest, RoundingToGranularityBasic) { in TEST_F() argument
156 TEST_F(CalendarTest, RoundingToGranularityWeek) { in TEST_F() argument
180 TEST_F(CalendarTest, RelativeTime) { in TEST_F() argument
311 TEST_F(CalendarTest, AddsADayWhenTimeInThePastAndDayNotSpecified) { in TEST_F() argument
327 TEST_F(CalendarTest, in TEST_F() argument
[all …]
/external/icu/icu4c/source/test/intltest/
Dcaltest.cpp60 UnicodeString CalendarTest::calToStr(const Calendar & cal) in calToStr()
86 void CalendarTest::runIndexedTest( int32_t index, UBool exec, const char* &name, char* /*par*/ ) in runIndexedTest()
362 UnicodeString CalendarTest::fieldName(UCalendarDateFields f) { in fieldName()
397 CalendarTest::TestGenericAPI() in TestGenericAPI()
689 CalendarTest::TestRog() in TestRog()
717 CalendarTest::TestDOW943() in TestDOW943()
723 void CalendarTest::dowTest(UBool lenient) in dowTest()
755 CalendarTest::TestClonesUnique908() in TestClonesUnique908()
778 CalendarTest::TestGregorianChange768() in TestGregorianChange768()
806 CalendarTest::TestDisambiguation765() in TestDisambiguation765()
[all …]
Dcalcasts.h24 class CalendarCaseTest: public CalendarTest {
Ddtfmtrtts.cpp181 int32_t jCount = CalendarTest::testLocaleCount(); in TestDateFormatRoundTrip()
183 test(Locale(CalendarTest::testLocaleID(j))); in TestDateFormatRoundTrip()
293 UDate minDate = CalendarTest::minDateOfCalendar(*fmt->getCalendar(), isGregorian, minStatus); in test()
Dincaltst.cpp210 logln((UnicodeString)"cal : " + CalendarTest::calToStr(cal)); in quasiGregorianTest()
211 logln((UnicodeString)"grego: " + CalendarTest::calToStr(*grego)); in quasiGregorianTest()
227 logln((UnicodeString)"cal : " + CalendarTest::calToStr(cal)); in quasiGregorianTest()
228 logln((UnicodeString)"grego: " + CalendarTest::calToStr(*grego)); in quasiGregorianTest()
542 … + aDate + " but got " + " = " + otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2… in TestJapaneseFormat()
569 otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); in TestJapaneseFormat()
Dcaltest.h19 class CalendarTest: public CalendarTimeZoneTest {
Ditformat.cpp113 TESTCLASS(2,CalendarTest); in runIndexedTest()
Dcallimts.cpp70 logln(UnicodeString(" ") + theDate + " " + CalendarTest::calToStr(*cal)); in test()
Dcalregts.cpp1139 logln(CalendarTest::calToStr(*testCal)); in test4103271()
1141 logln(CalendarTest::calToStr(*testCal) + UnicodeString( " <<< expected ")); in test4103271()
2159 logln(CalendarTest::calToStr(cal)); in TestJ81()
2165 logln(CalendarTest::calToStr(cal)); in TestJ81()
2183 logln(CalendarTest::calToStr(cal)); in TestJ81()
/external/icu/android_icu4j/testing/src/android/icu/extratest/util/
DCalendarTest.java39 public class CalendarTest { class
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue49/
DCalendarTest.java27 public class CalendarTest extends TestCase { class