Lines Matching refs:DurationAnnotatorTest

104 class DurationAnnotatorTest : public ::testing::Test {  class
106 DurationAnnotatorTest() in DurationAnnotatorTest() function in libtextclassifier3::__anon6bdbb6aa0111::DurationAnnotatorTest
121 TEST_F(DurationAnnotatorTest, ClassifiesSimpleDuration) { in TEST_F() argument
132 TEST_F(DurationAnnotatorTest, ClassifiesWhenTokensDontAlignWithSelection) { in TEST_F() argument
143 TEST_F(DurationAnnotatorTest, DoNotClassifyWhenInputIsInvalid) { in TEST_F() argument
150 TEST_F(DurationAnnotatorTest, FindsSimpleDuration) { in TEST_F() argument
168 TEST_F(DurationAnnotatorTest, FindsDurationWithHalfExpression) { in TEST_F() argument
187 TEST_F(DurationAnnotatorTest, FindsComposedDuration) { in TEST_F() argument
206 TEST_F(DurationAnnotatorTest, AllUnitsAreCovered) { in TEST_F() argument
226 TEST_F(DurationAnnotatorTest, FindsHalfAnHour) { in TEST_F() argument
244 TEST_F(DurationAnnotatorTest, FindsWhenHalfIsAfterGranularitySpecification) { in TEST_F() argument
263 TEST_F(DurationAnnotatorTest, FindsAnHourAndAHalf) { in TEST_F() argument
282 TEST_F(DurationAnnotatorTest, in TEST_F() argument
302 TEST_F(DurationAnnotatorTest, DoesNotGreedilyTakeFillerWords) { in TEST_F() argument
321 TEST_F(DurationAnnotatorTest, DoesNotCrashWhenJustHalfIsSaid) { in TEST_F() argument
331 TEST_F(DurationAnnotatorTest, StripsPunctuationFromTokens) { in TEST_F() argument
350 TEST_F(DurationAnnotatorTest, FindsCorrectlyWithCombinedQuantityUnitToken) { in TEST_F() argument
368 TEST_F(DurationAnnotatorTest, in TEST_F() argument
381 TEST_F(DurationAnnotatorTest, FindsSimpleDurationIgnoringCase) { in TEST_F() argument
399 TEST_F(DurationAnnotatorTest, FindsDurationWithHalfExpressionIgnoringCase) { in TEST_F() argument
418 TEST_F(DurationAnnotatorTest, in TEST_F() argument
438 TEST_F(DurationAnnotatorTest, FindsDurationWithDanglingQuantity) { in TEST_F() argument
456 TEST_F(DurationAnnotatorTest, FindsDurationWithDanglingQuantityNotSupported) { in TEST_F() argument
473 TEST_F(DurationAnnotatorTest, FindsDurationWithDecimalQuantity) { in TEST_F() argument