Searched refs:got (Results 1 - 25 of 63) sorted by relevance

123

/openjdk7/jdk/test/java/io/PushbackInputStream/
H A DAvailable.java40 int got = in.available();
41 System.err.println("available must be " + expected + " , got : " + got);
42 if (got != expected) {
H A DSkip.java36 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 DBasic.java78 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 DBug6653944.java59 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 DBug7042148.java68 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 DBug7051769.java62 String got = bidi.toString();
64 if (!got.equals(expected)) {
68 "\n\tGot=" + got);
/openjdk7/jdk/test/java/util/Formatter/
H A DBasic.java54 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 DDescriptorCache.java51 ImmutableDescriptor got = (wr == null) ? null : wr.get();
52 if (got != null)
53 return got;
H A DWeakIdentityHashMap.java124 Object got = get();
125 return (got != null && got == wr.get());
/openjdk7/jdk/test/java/awt/font/NumericShaper/
H A DEasternArabicTest.java86 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 DShapingTest.java145 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 DT6440528.java55 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 DVars.java127 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 DUncaughtExceptions.sh72 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 DInvokeGettersTest.java79 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 DBug6609750.java64 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 DOverloadTest.java61 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 DDefaultCaching.java86 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 DBASE64DecoderStream.java164 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 DExceptions.java33 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 DExceptions.java33 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 DTypeParamBounds.java68 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 DCheck.java87 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 DCons.java94 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 DFileMethods.java34 private static void ck(String op, File got, File ans) throws Exception { argument
35 if (!got.equals(ans))

Completed in 121 milliseconds

123