Lines Matching refs:s2
85 OString s2 = s1; in test_OString() local
86 TEST_ENSURE( s2[16] == 'O', "test_OString error 3"); in test_OString()
87 TEST_ENSURE( s2.equals(s1), "test_OString error 4"); in test_OString()
88 TEST_ENSURE( s2.indexOf('O') == 16, "test_OString error 5"); in test_OString()
89 TEST_ENSURE( s2.indexOf('O', 5) == 16, "test_OString error 5a"); in test_OString()
90 TEST_ENSURE( s2.lastIndexOf('r') == 19, "test_OString error 6"); in test_OString()
91 TEST_ENSURE( s2[19] == 'r', "test_OString error 7"); in test_OString()
92 TEST_ENSURE( s2[23] == '\n', "test_OString error 8"); in test_OString()
93 TEST_ENSURE( s2.lastIndexOf('\n') == 23, "test_OString error 9"); in test_OString()
94 TEST_ENSURE( s2.lastIndexOf('M') == 0, "test_OString error 10"); in test_OString()
95 TEST_ENSURE( s2.lastIndexOf('t', s2.getLength() - 8) == 8, "test_OString error 9"); in test_OString()
101 OString s3 = s2.copy(0, s2.getLength() - 1); in test_OString()