Searched refs:testStr (Results 1 - 11 of 11) sorted by relevance

/openjdk7/jdk/test/java/io/StreamTokenizer/
H A DQuoteTest.java36 static String testStr = "token1 token2 \"The test string\" token4"; field in class:QuoteTest
39 System.err.println("Parsing String: " + testStr);
40 StreamTokenizer st = new StreamTokenizer(new StringReader(testStr));
/openjdk7/jdk/test/sun/nio/cs/
H A DSurrogateTestEUCTW.java75 String testStr = new String(surrogatePair);
76 byte[] encodedBytes = testStr.getBytes("EUC-TW");
87 if (!decoded.equals(testStr)) {
H A DTestUTF8BOM.java61 private static void failureReport(String testStr, argument
69 Integer.toHexString((int)testStr.charAt(i)));
H A DTestUTF_16.java65 private static void failureReport(String testStr, argument
73 Integer.toHexString((int)testStr.charAt(i)));
79 String testStr,
83 if (testStr.length() != expected.length)
84 failureReport(testStr, expected);
86 for (int i = 0; i < testStr.length(); i++) {
87 if (testStr.charAt(i) != expected[i]) {
88 failureReport(testStr, expected);
H A DTestUTF_32.java63 private static void failureReport(String testStr, argument
70 Integer.toHexString((int)testStr.charAt(i)));
H A DTestMS5022X.java639 String testStr,
642 byte[] encodedBytes = testStr.getBytes(name);
658 if (!decoded.equals(testStr)) {
685 String testStr = US_ASCII +
697 roundTrip("MS50221", testStr, expectedBytes);
723 testStr = testStr.replace('\u301E', '\u301D')
727 testStr,
730 testStr = MIXEDCONTENT;
731 roundTrip("MS50221", testStr , mixedBytesExpecte
638 roundTrip(String name, String testStr, byte[] expectBytes) argument
[all...]
H A DTestISO2022JP.java542 private static void roundTrip(String testStr, byte[] expectBytes, argument
545 byte[] encodedBytes = testStr.getBytes(csName);
558 if (!decoded.equals(testStr)) {
H A DSurrogateTestHKSCS.java1177 String testStr = new String(surrogatePair);
1178 byte[] encodedBytes = testStr.getBytes("Big5-HKSCS");
1186 if (!decoded.equals(testStr)) {
/openjdk7/jdk/test/tools/launcher/
H A DVersionCheck.java145 String testStr;
147 testStr = getVersion(x, "-J-version");
148 if (refVersion.compareTo(testStr) != 0) {
155 System.out.print(testStr);
158 testStr = getVersion(x, "-J-fullversion");
159 if (refFullVersion.compareTo(testStr) != 0) {
166 System.out.print(testStr);
/openjdk7/jdk/test/java/nio/Buffer/
H A DBasicChar.java774 private static void testStr() { method in class:BasicChar
920 testStr();
H A DBasic-X.java.template774 private static void testStr() {
920 testStr();

Completed in 48 milliseconds