/openjdk7/jdk/test/java/io/PushbackInputStream/ |
H A D | Available.java | 40 int got = in.available(); 41 System.err.println("available must be " + expected + " , got : " + got); 42 if (got != expected) {
|
H A D | Skip.java | 36 int one, two, last, got; 55 got = (one + two + last); 56 System.err.println("Expected " + expected + " got " + got); 57 if (expected != got) { 58 throw new Exception("Expected " + expected + " got " + got);
|
/openjdk7/jdk/test/java/nio/Buffer/ |
H A D | Basic.java | 78 String got, char gotChar) 97 + ", got '" + gotChar + "'=0x" 98 + got); 101 static void fail(Buffer b, long expected, long got) { argument 104 Long.toHexString(got), (char)got); 112 static void ck(Buffer b, long got, long expected) { argument 113 if (expected != got) 114 fail(b, expected, got); 117 static void ck(Buffer b, float got, floa argument 76 fail(Buffer b, String expected, char expectedChar, String got, char gotChar) argument 124 ck(Buffer b, double got, double expected) argument [all...] |
/openjdk7/jdk/test/sun/util/calendar/ |
H A D | Bug6653944.java | 59 private static void compare(int got, int expected) { argument 60 if (got != expected) { 61 System.err.println("got " + got + ", expected " + expected); 66 private static void compare(Calendar got, Calendar expected) { argument 67 if (!got.equals(expected)) { 68 System.err.println("got " + got + ", expected " + expected);
|
/openjdk7/jdk/test/java/text/Bidi/ |
H A D | Bug7042148.java | 68 boolean got = bidi.baseIsLeftToRight(); 69 if (got != expected) { 74 "\n\tGot=" + got); 82 got = bidi.baseIsLeftToRight(); 83 if (got != expected) { 88 "\n\tGot=" + got);
|
H A D | Bug7051769.java | 62 String got = bidi.toString(); 64 if (!got.equals(expected)) { 68 "\n\tGot=" + got);
|
/openjdk7/jdk/test/java/util/Formatter/ |
H A D | Basic.java | 54 static void fail(String fs, String exp, String got) { argument 55 String s = "'" + fs + "': Expected '" + exp + "', got '" + got + "'"; 70 static void ck(String fs, String exp, String got) { argument 71 if (!exp.equals(got)) 72 fail(fs, exp, got);
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/mbeanserver/ |
H A D | DescriptorCache.java | 51 ImmutableDescriptor got = (wr == null) ? null : wr.get(); 52 if (got != null) 53 return got;
|
H A D | WeakIdentityHashMap.java | 124 Object got = get(); 125 return (got != null && got == wr.get());
|
/openjdk7/jdk/test/java/awt/font/NumericShaper/ |
H A D | EasternArabicTest.java | 86 String got = new String(text); 88 if (!expected.equals(got)) { 92 System.err.println(" got = " + got); 97 System.err.println(" got = " + got); 103 got = new String(text); 105 if (!expected.equals(got)) { 109 System.err.println(" got = " + got); [all...] |
H A D | ShapingTest.java | 145 String got = new String(text); 147 if (!expected.equals(got)) { 151 System.err.println(" got = " + got); 156 System.out.println(" got = " + got);
|
/openjdk7/langtools/test/tools/javac/api/6440528/ |
H A D | T6440528.java | 55 File got = getUnderlyingFile(cls); 56 if (!got.equals(expect)) 57 throw new AssertionError(String.format("Expected: %s; got: %s", expect, got)); 59 System.err.println("Got: " + got);
|
/openjdk7/jdk/test/com/sun/jdi/ |
H A D | Vars.java | 127 String got = testCase(method, which); 128 if (got.equals(expected)) { 129 System.out.println(name + ": got expected: " + got); 133 System.out.println(" got: " + got); 138 String got = testCase(method, which); 139 if (got.equals(expected) || got.equals(expected2)) { 140 System.out.println(name + ": got expecte [all...] |
/openjdk7/jdk/test/java/lang/Thread/ |
H A D | UncaughtExceptions.sh | 72 name="$1" expected="$2" got="$3" 73 printf "$name:\n"; cat "$got" 75 test "`cat $got`" != "" && \ 76 Fail "Unexpected $name: `cat $got`" 78 grep "$expected" "$got" >/dev/null || \ 79 Fail "Expected \"$expected\", got `cat $got`"
|
/openjdk7/jdk/test/javax/management/Introspector/ |
H A D | InvokeGettersTest.java | 79 Integer got = (Integer) mbs.getAttribute(on, "Whatsit"); 80 if (got != x) 81 return fail("Set attribute was not got: " + got); 91 System.out.println("set got expected exception: " + e); 94 got = (Integer) mbs.invoke(on, "getWhatsit", null, null); 97 if (got != x) 98 return fail("Set attribute through invoke was not got: " + got); 103 System.out.println("get got expecte [all...] |
/openjdk7/jdk/test/java/text/Format/DateFormat/ |
H A D | Bug6609750.java | 64 String got = sdf.format(date); 65 if (!expectedResults[dateNo][patternNo].equals(got)) { 69 "\", Got: \"" + got + "\" for date " + date +
|
/openjdk7/jdk/test/javax/management/mxbean/ |
H A D | OverloadTest.java | 61 private static void check(String got, String expect) { argument 62 if (!expect.equals(got)) { 63 failure = "FAILED: got \"" + got + "\", expected \"" + expect + "\"";
|
/openjdk7/jdk/test/sun/net/InetAddress/nameservice/simple/ |
H A D | DefaultCaching.java | 86 int got = SimpleNameService.lookupCalls(); 87 if (got != count) { 88 throw new RuntimeException ("lookups exp/got: " + count+"/"+got);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/ |
H A D | BASE64DecoderStream.java | 164 int got = 0; 165 while (got < 4) { 168 if (got == 0) 170 throw new IOException("Error in encoded stream, got " + got); 173 decode_buffer[got++] = (byte)i;
|
/openjdk7/jdk/test/java/lang/StringBuffer/ |
H A D | Exceptions.java | 33 private static void fail(Throwable ex, String s, Throwable got) { argument 38 + " got " 39 + got.getClass().getName() + ": " + got.getMessage()
|
/openjdk7/jdk/test/java/lang/StringBuilder/ |
H A D | Exceptions.java | 33 private static void fail(Throwable ex, String s, Throwable got) { argument 38 + " got " 39 + got.getClass().getName() + ": " + got.getMessage()
|
/openjdk7/langtools/test/tools/javac/processing/model/element/ |
H A D | TypeParamBounds.java | 68 Name got = types.asElement(bound).getSimpleName(); 70 System.out.println(" " + got); 71 if (!got.contentEquals(shoulda))
|
/openjdk7/jdk/test/java/nio/charset/coders/ |
H A D | Check.java | 87 private void mismatch(String s, byte[] expected, byte[] got) { argument 92 + "}, got {" 93 + Util.toString(got) 98 private void mismatch(int i, byte[] ba, String expected, String got) { argument 105 + "\", got \"" 106 + Util.toString(got)
|
/openjdk7/jdk/test/java/io/File/ |
H A D | Cons.java | 94 private static void err(String ans, String exp, String got) throws Exception { argument 95 System.err.println(nos(ans) + " <-- " + exp + " ==> " + nos(got)); 97 throw new Exception("Mismatch: " + exp + " ==> " + nos(got) 102 private static void ck(String ans, String exp, String got) argument 105 if ((got == ans) || ((got != null) && got.equals(ans))) ok(ans, exp); 106 else err(ans, exp, got);
|
H A D | FileMethods.java | 34 private static void ck(String op, File got, File ans) throws Exception { argument 35 if (!got.equals(ans))
|