Searched refs:TestTimeFormats (Results 1 – 2 of 2) sorted by relevance
/external/chromium/chrome/common/ |
D | time_format_unittest.cc | 36 void TestTimeFormats(const TimeDelta delta, const char* expected_ascii) { in TestTimeFormats() function 60 TestTimeFormats(twohundred_millisecs, "0 secs"); in TEST() 61 TestTimeFormats(one_sec - twohundred_millisecs, "0 secs"); in TEST() 62 TestTimeFormats(one_sec + twohundred_millisecs, "1 sec"); in TEST() 63 TestTimeFormats(five_secs + twohundred_millisecs, "5 secs"); in TEST() 64 TestTimeFormats(one_min + five_secs, "1 min"); in TEST() 65 TestTimeFormats(three_mins + twohundred_millisecs, "3 mins"); in TEST() 66 TestTimeFormats(one_hour + five_secs, "1 hour"); in TEST() 67 TestTimeFormats(four_hours + five_secs, "4 hours"); in TEST() 68 TestTimeFormats(one_day + five_secs, "1 day"); in TEST() [all …]
|
/external/chromium_org/ui/base/l10n/ |
D | time_format_unittest.cc | 18 void TestTimeFormats(const TimeDelta& delta, const char* expected_ascii) { in TestTimeFormats() function 40 TestTimeFormats(twohundred_millisecs, "0 secs"); in TEST() 41 TestTimeFormats(one_sec - twohundred_millisecs, "0 secs"); in TEST() 42 TestTimeFormats(one_sec + twohundred_millisecs, "1 sec"); in TEST() 43 TestTimeFormats(five_secs + twohundred_millisecs, "5 secs"); in TEST() 44 TestTimeFormats(one_min + five_secs, "1 min"); in TEST() 45 TestTimeFormats(three_mins + twohundred_millisecs, "3 mins"); in TEST() 46 TestTimeFormats(one_hour + five_secs, "1 hour"); in TEST() 47 TestTimeFormats(four_hours + five_secs, "4 hours"); in TEST() 48 TestTimeFormats(one_day + five_secs, "1 day"); in TEST() [all …]
|