Lines Matching refs:testNumber

42 static void doTest(UBiDi *pBiDi, int testNumber, const BiDiTestData *test,
45 static void _testReordering(UBiDi *pBiDi, int testNumber);
204 int testNumber; in doTests() local
210 for(testNumber=0; testNumber<bidiTestCount; ++testNumber) { in doTests()
212 getStringFromDirProps(tests[testNumber].text, tests[testNumber].length, string); in doTests()
213 paraLevel=tests[testNumber].paraLevel; in doTests()
217 testNumber, paraLevel, ubidi_getDirection(pBiDi), paraLevel); in doTests()
218 lineStart=tests[testNumber].lineStart; in doTests()
220 doTest(pBiDi, testNumber, tests+testNumber, 0, countRunsFirst); in doTests()
222 ubidi_setLine(pBiDi, lineStart, tests[testNumber].lineLimit, pLine, &errorCode); in doTests()
225 … lineStart, tests[testNumber].lineLimit, ubidi_getDirection(pLine), ubidi_getParaLevel(pLine)); in doTests()
226 doTest(pLine, testNumber, tests+testNumber, lineStart, countRunsFirst); in doTests()
229testNumber, lineStart, tests[testNumber].lineLimit, myErrorName(errorCode)); in doTests()
234 testNumber, paraLevel, myErrorName(errorCode)); in doTests()
1035 doTest(UBiDi *pBiDi, int testNumber, const BiDiTestData *test, int32_t lineStart, UBool countRunsFi… in doTest() argument
1049 log_err("ubidi_countRuns(tests[%d]): error %s\n", testNumber, myErrorName(errorCode)); in doTest()
1056 _testReordering(pBiDi, testNumber); in doTest()
1083 …log_err("ubidi_getDirection(tests[%d]): wrong direction %d\n", testNumber, ubidi_getDirection(pBiD… in doTest()
1087 …log_err("ubidi_getParaLevel(tests[%d]): wrong paragraph level %d\n", testNumber, ubidi_getParaLeve… in doTest()
1092 …log_err("ubidi_getLevelAt(tests[%d], %d): wrong level %d, expected %d\n", testNumber, i, ubidi_get… in doTest()
1100 … log_err("ubidi_getVisualIndex(tests[%d], %d): error %s\n", testNumber, i, myErrorName(errorCode)); in doTest()
1104 … log_err("ubidi_getVisualIndex(tests[%d], %d): wrong index %d\n", testNumber, i, logicalIndex); in doTest()
1112 log_err("ubidi_countRuns(tests[%d]): error %s\n", testNumber, myErrorName(errorCode)); in doTest()
1123 testNumber, logicalIndex, level, level2); in doTest()
1128 testNumber, ubidi_countRuns(pBiDi, &errorCode)); in doTest()
1135 testNumber, ubidi_countRuns(pBiDi, &errorCode)); in doTest()
1143 _testReordering(UBiDi *pBiDi, int testNumber) { in _testReordering() argument
1161 log_err("ubidi_getLogicalMap(tests[%d]): error %s\n", testNumber, myErrorName(errorCode)); in _testReordering()
1167 log_err("ubidi_getVisualMap(tests[%d]): error %s\n", testNumber, myErrorName(errorCode)); in _testReordering()
1179 log_err("ubidi_getLevels(tests[%d]): error %s\n", testNumber, myErrorName(errorCode)); in _testReordering()
1189 log_err("ubidi_countRuns(tests[%d]): error %s\n", testNumber, myErrorName(errorCode)); in _testReordering()
1245 …err("bidi reordering error in tests[%d]: logicalMap1[i]!=logicalMap2[i] at i=%d\n", testNumber, i); in _testReordering()
1249 …err("bidi reordering error in tests[%d]: logicalMap1[i]!=logicalMap3[i] at i=%d\n", testNumber, i); in _testReordering()
1254 …g_err("bidi reordering error in tests[%d]: visualMap1[i]!=visualMap2[i] at i=%d\n", testNumber, i); in _testReordering()
1258 …g_err("bidi reordering error in tests[%d]: visualMap1[i]!=visualMap3[i] at i=%d\n", testNumber, i); in _testReordering()
1262 …g_err("bidi reordering error in tests[%d]: visualMap1[i]!=visualMap4[i] at i=%d\n", testNumber, i); in _testReordering()
1267 … reordering error in tests[%d]: logicalMap1[i]!=ubidi_getVisualIndex(i) at i=%d\n", testNumber, i); in _testReordering()
1271 … log_err("ubidi_getVisualIndex(tests[%d], %d): error %s\n", testNumber, i, myErrorName(errorCode)); in _testReordering()
1275 … reordering error in tests[%d]: visualMap1[i]!=ubidi_getLogicalIndex(i) at i=%d\n", testNumber, i); in _testReordering()
1279 …log_err("ubidi_getLogicalIndex(tests[%d], %d): error %s\n", testNumber, i, myErrorName(errorCode)); in _testReordering()