| OLD | NEW |
| 1 /************************************************************************* | 1 /************************************************************************* |
| 2 * Copyright (c) 1999-2014, International Business Machines | 2 * Copyright (c) 1999-2014, International Business Machines |
| 3 * Corporation and others. All Rights Reserved. | 3 * Corporation and others. All Rights Reserved. |
| 4 ************************************************************************* | 4 ************************************************************************* |
| 5 * Date Name Description | 5 * Date Name Description |
| 6 * 12/15/99 Madhu Creation. | 6 * 12/15/99 Madhu Creation. |
| 7 * 01/12/2000 Madhu Updated for changed API and added new tests | 7 * 01/12/2000 Madhu Updated for changed API and added new tests |
| 8 ************************************************************************/ | 8 ************************************************************************/ |
| 9 | 9 |
| 10 | 10 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 124 |
| 125 // Run a single test case from one of the Unicode Consortium test files. | 125 // Run a single test case from one of the Unicode Consortium test files. |
| 126 void checkUnicodeTestCase(const char *testFileName, int lineNumber, | 126 void checkUnicodeTestCase(const char *testFileName, int lineNumber, |
| 127 const UnicodeString &testString, | 127 const UnicodeString &testString, |
| 128 UVector32 *breakPositions, | 128 UVector32 *breakPositions, |
| 129 RuleBasedBreakIterator *bi); | 129 RuleBasedBreakIterator *bi); |
| 130 | 130 |
| 131 // Run the actual tests for TestTailoredBreaks() | 131 // Run the actual tests for TestTailoredBreaks() |
| 132 void TBTest(BreakIterator* brkitr, int type, const char *locale, const char*
escapedText, | 132 void TBTest(BreakIterator* brkitr, int type, const char *locale, const char*
escapedText, |
| 133 const int32_t *expectOffsets, int32_t expectOffsetsCount); | 133 const int32_t *expectOffsets, int32_t expectOffsetsCount); |
| 134 |
| 135 /** Filter for test cases from the Unicode test data files. |
| 136 * Some need to be skipped because ICU is unable to fully implement the |
| 137 * Unicode boundary specifications. |
| 138 * @param testCase the test data string. |
| 139 * @param fileName the Unicode test data file name. |
| 140 * @return FALSE if the test case should be run, TRUE if it should be skipp
ed. |
| 141 */ |
| 142 UBool testCaseIsKnownIssue(const UnicodeString &testCase, const char *fileNa
me); |
| 134 }; | 143 }; |
| 135 | 144 |
| 136 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ | 145 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ |
| 137 | 146 |
| 138 #endif | 147 #endif |
| OLD | NEW |