Home
last modified time | relevance | path

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

/dalvik/tests/020-string/src/
DMain.java28 String testStr; in basicTest() local
31 testStr = baseStr.substring(4, baseStr.length() - 3); in basicTest()
32 System.out.println("testStr is '" + testStr + "'"); in basicTest()
35 for (i = 0; i < testStr.length(); i++) in basicTest()
36 System.out.print(testStr.charAt(i)); in basicTest()
40 if (testStr.length() != testStr2.length()) in basicTest()
43 System.out.println("Compare result is " + testStr.compareTo(testStr2)); in basicTest()
51 testStr.charAt(500); in basicTest()
/dalvik/tests/082-inline-execute/src/
DMain.java58 String testStr = "Now is the time"; in stringCharAtTest() local
60 int over = testStr.length(); in stringCharAtTest()
63 int at0 = testStr.charAt(0); in stringCharAtTest()
64 int at1 = testStr.charAt(1); in stringCharAtTest()
65 int at10 = testStr.charAt(10); in stringCharAtTest()
66 int atLast = testStr.charAt(testStr.length()-1); in stringCharAtTest()
69 System.out.println(testStr + "[0] = \"" + (char)at0 + "\""); in stringCharAtTest()
70 System.out.println(testStr + "[1] = \"" + (char)at1 + "\""); in stringCharAtTest()
71 System.out.println(testStr + "[10] = \"" + (char)at10 + "\""); in stringCharAtTest()
72 System.out.println(testStr + "[last] = \"" + (char)atLast + "\""); in stringCharAtTest()
[all …]
/dalvik/tests/020-string/
Dexpected.txt1 testStr is 'This is a very nice string'