Home
last modified time | relevance | path

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

/art/test/082-inline-execute/src/
DMain.java356 String stringWithSurrogates = "hello " + surrogatePair + " world"; in testSurrogateIndexOf() local
358 Assert.assertEquals(stringWithSurrogates.indexOf(supplementaryChar), "hello ".length()); in testSurrogateIndexOf()
359 Assert.assertEquals(stringWithSurrogates.indexOf(supplementaryChar, 2), "hello ".length()); in testSurrogateIndexOf()
360 Assert.assertEquals(stringWithSurrogates.indexOf(supplementaryChar, 6), 6); in testSurrogateIndexOf()
361 Assert.assertEquals(stringWithSurrogates.indexOf(supplementaryChar, 7), -1); in testSurrogateIndexOf()
363 Assert.assertEquals(stringWithSurrogates.indexOf(supplementaryChar - 0x10000), -1); in testSurrogateIndexOf()
364 Assert.assertEquals(stringWithSurrogates.indexOf(supplementaryChar | 0x80000000), -1); in testSurrogateIndexOf()