• Home
  • Raw
  • Download

Lines Matching refs:indexOf

253     Assert.assertEquals(str0.indexOf('a'), -1);  in test_String_indexOf()
254 Assert.assertEquals(str3.indexOf('a'), 0); in test_String_indexOf()
255 Assert.assertEquals(str3.indexOf('b'), 1); in test_String_indexOf()
256 Assert.assertEquals(str3.indexOf('c'), 2); in test_String_indexOf()
257 Assert.assertEquals(str10.indexOf('j'), 9); in test_String_indexOf()
258 Assert.assertEquals(str40.indexOf('a'), 0); in test_String_indexOf()
259 Assert.assertEquals(str40.indexOf('b'), 38); in test_String_indexOf()
260 Assert.assertEquals(str40.indexOf('c'), 39); in test_String_indexOf()
261 Assert.assertEquals(str0.indexOf('a',20), -1); in test_String_indexOf()
262 Assert.assertEquals(str0.indexOf('a',0), -1); in test_String_indexOf()
263 Assert.assertEquals(str0.indexOf('a',-1), -1); in test_String_indexOf()
264 Assert.assertEquals(str1.indexOf('/',++start), -1); in test_String_indexOf()
265 Assert.assertEquals(str1.indexOf('a',negIndex[0]), -1); in test_String_indexOf()
266 Assert.assertEquals(str3.indexOf('a',0), 0); in test_String_indexOf()
267 Assert.assertEquals(str3.indexOf('a',1), -1); in test_String_indexOf()
268 Assert.assertEquals(str3.indexOf('a',1234), -1); in test_String_indexOf()
269 Assert.assertEquals(str3.indexOf('b',0), 1); in test_String_indexOf()
270 Assert.assertEquals(str3.indexOf('b',1), 1); in test_String_indexOf()
271 Assert.assertEquals(str3.indexOf('c',2), 2); in test_String_indexOf()
272 Assert.assertEquals(str10.indexOf('j',5), 9); in test_String_indexOf()
273 Assert.assertEquals(str10.indexOf('j',9), 9); in test_String_indexOf()
274 Assert.assertEquals(str40.indexOf('a',10), 10); in test_String_indexOf()
275 Assert.assertEquals(str40.indexOf('b',40), -1); in test_String_indexOf()
328 Assert.assertEquals(str0.indexOf(searchData[0][0]), searchData[0][2]); in testStringIndexOfCharsImpl()
329 Assert.assertEquals(str3.indexOf(searchData[1][0]), searchData[1][2]); in testStringIndexOfCharsImpl()
330 Assert.assertEquals(str3.indexOf(searchData[2][0]), searchData[2][2]); in testStringIndexOfCharsImpl()
331 Assert.assertEquals(str3.indexOf(searchData[3][0]), searchData[3][2]); in testStringIndexOfCharsImpl()
332 Assert.assertEquals(str10.indexOf(searchData[4][0]), searchData[4][2]); in testStringIndexOfCharsImpl()
333 Assert.assertEquals(str40.indexOf(searchData[5][0]), searchData[5][2]); in testStringIndexOfCharsImpl()
334 Assert.assertEquals(str40.indexOf(searchData[6][0]), searchData[6][2]); in testStringIndexOfCharsImpl()
335 Assert.assertEquals(str40.indexOf(searchData[7][0]), searchData[7][2]); in testStringIndexOfCharsImpl()
336 Assert.assertEquals(str0.indexOf(searchData[8][0], searchData[8][1]), searchData[8][2]); in testStringIndexOfCharsImpl()
337 Assert.assertEquals(str0.indexOf(searchData[9][0], searchData[9][1]), searchData[9][2]); in testStringIndexOfCharsImpl()
338 Assert.assertEquals(str0.indexOf(searchData[10][0], searchData[10][1]), searchData[10][2]); in testStringIndexOfCharsImpl()
339 Assert.assertEquals(str1.indexOf(searchData[11][0], searchData[11][1]), searchData[11][2]); in testStringIndexOfCharsImpl()
340 Assert.assertEquals(str1.indexOf(searchData[12][0], searchData[12][1]), searchData[12][2]); in testStringIndexOfCharsImpl()
341 Assert.assertEquals(str3.indexOf(searchData[13][0], searchData[13][1]), searchData[13][2]); in testStringIndexOfCharsImpl()
342 Assert.assertEquals(str3.indexOf(searchData[14][0], searchData[14][1]), searchData[14][2]); in testStringIndexOfCharsImpl()
343 Assert.assertEquals(str3.indexOf(searchData[15][0], searchData[15][1]), searchData[15][2]); in testStringIndexOfCharsImpl()
344 Assert.assertEquals(str3.indexOf(searchData[16][0], searchData[16][1]), searchData[16][2]); in testStringIndexOfCharsImpl()
345 Assert.assertEquals(str3.indexOf(searchData[17][0], searchData[17][1]), searchData[17][2]); in testStringIndexOfCharsImpl()
346 Assert.assertEquals(str3.indexOf(searchData[18][0], searchData[18][1]), searchData[18][2]); in testStringIndexOfCharsImpl()
347 Assert.assertEquals(str10.indexOf(searchData[19][0], searchData[19][1]), searchData[19][2]); in testStringIndexOfCharsImpl()
348 Assert.assertEquals(str10.indexOf(searchData[20][0], searchData[20][1]), searchData[20][2]); in testStringIndexOfCharsImpl()
349 Assert.assertEquals(str40.indexOf(searchData[21][0], searchData[21][1]), searchData[21][2]); in testStringIndexOfCharsImpl()
350 Assert.assertEquals(str40.indexOf(searchData[22][0], searchData[22][1]), searchData[22][2]); in testStringIndexOfCharsImpl()
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()
387 return strNull.indexOf(c); in testNullIndex()
391 return strNull.indexOf(c, startIndex); in testNullIndex()