Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/datetime/
Dparser_test.cc78 bool ParsesCorrectly(const std::string& marked_text, in ParsesCorrectly() function in libtextclassifier3::__anon902cab6b0111::ParserTest
151 bool ParsesCorrectly(const std::string& marked_text, in ParsesCorrectly() function in libtextclassifier3::__anon902cab6b0111::ParserTest
159 return ParsesCorrectly(marked_text, std::vector<int64>{expected_ms_utc}, in ParsesCorrectly()
167 return ParsesCorrectly(marked_text, expected_ms_utcs, expected_granularity, in ParsesCorrectlyGerman()
175 return ParsesCorrectly(marked_text, expected_ms_utc, expected_granularity, in ParsesCorrectlyGerman()
190 ParsesCorrectly("{January 1, 1988}", 567990000000, GRANULARITY_DAY)); in TEST_F()
195 ParsesCorrectly("{January 1, 1988}", 567990000000, GRANULARITY_DAY)); in TEST_F()
197 ParsesCorrectly("{january 31 2018}", 1517353200000, GRANULARITY_DAY)); in TEST_F()
198 EXPECT_TRUE(ParsesCorrectly("lorem {1 january 2018} ipsum", 1514761200000, in TEST_F()
200 EXPECT_TRUE(ParsesCorrectly("{09/Mar/2004 22:02:40}", 1078866160000, in TEST_F()
[all …]