Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DStringAndJsonUtilsTests.java263 final int[] codePointArray = StringUtils.toCodePointArray(STR_WITH_SUPPLEMENTARY_CHAR, 0, in testToCodePointArray() local
265 assertEquals("toCodePointArray, size matches", codePointArray.length, in testToCodePointArray()
268 assertEquals("toCodePointArray position " + i, codePointArray[i], EXPECTED_RESULT[i]); in testToCodePointArray()
279 int[] codePointArray = new int[50]; in testCopyCodePointsAndReturnCodePointCount() local
280 int codePointCount = StringUtils.copyCodePointsAndReturnCodePointCount(codePointArray, in testCopyCodePointsAndReturnCodePointCount()
286 assertEquals("copyCodePointsAndReturnCodePointCount position " + i, codePointArray[i], in testCopyCodePointsAndReturnCodePointCount()
290 codePointCount = StringUtils.copyCodePointsAndReturnCodePointCount(codePointArray, in testCopyCodePointsAndReturnCodePointCount()
296 assertEquals("copyCodePointsAndReturnCodePointCount position " + i, codePointArray[i], in testCopyCodePointsAndReturnCodePointCount()
302 codePointCount = StringUtils.copyCodePointsAndReturnCodePointCount(codePointArray, in testCopyCodePointsAndReturnCodePointCount()
307 assertEquals("copyCodePointsAndReturnCodePointCount position " + i, codePointArray[i], in testCopyCodePointsAndReturnCodePointCount()
[all …]