Lines Matching refs:cas
129 for (auto& cas : cases) { in testBasic() local
130 UnicodeString inputString(cas.inputString); in testBasic()
131 UnicodeString patternString(cas.patternString); in testBasic()
141 if (0 != (cas.flags & 0x01)) { in testBasic()
147 cas.expectedCharsConsumed, resultObject.charEnd); in testBasic()
149 cas.expectedResultDouble, resultObject.getDouble(status)); in testBasic()
152 if (0 != (cas.flags & 0x02)) { in testBasic()
159 cas.expectedCharsConsumed, in testBasic()
163 cas.expectedResultDouble, in testBasic()
167 if (0 != (cas.flags & 0x04)) { in testBasic()
179 cas.expectedCharsConsumed, resultObject.charEnd); in testBasic()
181 cas.expectedResultDouble, resultObject.getDouble(status)); in testBasic()
230 for (auto& cas : cases) { in testSeriesMatcher() local
231 UnicodeString input(cas.input); in testSeriesMatcher()
238 assertEquals("'" + input + "'", cas.expectedOffset, actualOffset); in testSeriesMatcher()
239 assertEquals("'" + input + "'", cas.expectedMaybeMore, actualMaybeMore); in testSeriesMatcher()
278 for (auto& cas : cases) { in testCombinedCurrencyMatcher() local
279 UnicodeString input(cas.input); in testCombinedCurrencyMatcher()
287 cas.expectedCurrencyCode, in testCombinedCurrencyMatcher()
291 cas.expectedCurrencyCode[0] == 0 ? 0 : input.length(), in testCombinedCurrencyMatcher()
300 cas.expectedNoForeignCurrencyCode, in testCombinedCurrencyMatcher()
304 cas.expectedNoForeignCurrencyCode[0] == 0 ? 0 : input.length(), in testCombinedCurrencyMatcher()
336 for (auto& cas : cases) { in testAffixPatternMatcher() local
337 UnicodeString affixPattern(cas.affixPattern); in testAffixPatternMatcher()
338 UnicodeString sampleParseableString(cas.sampleParseableString); in testAffixPatternMatcher()
339 int parseFlags = cas.exactMatch ? PARSE_FLAG_EXACT_AFFIX : 0; in testAffixPatternMatcher()
347 … assertEquals(affixPattern + " " + cas.exactMatch, cas.expectedMatcherLength, matcher.length()); in testAffixPatternMatcher()
353 … assertEquals(affixPattern + " " + cas.exactMatch, sampleParseableString.length(), result.charEnd); in testAffixPatternMatcher()