/openjdk10/jdk/test/java/text/Format/DateFormat/ |
H A D | Bug6251817.java | 38 String got = sdf.format(new Date()); 40 if (!got.equals("Lord Howe Standard Time") && 41 !got.equals("Lord Howe Daylight Time")) { 42 throw new RuntimeException("Timezone display name for Australia/Lord_Howe is incorrect. Got:" + got);
|
H A D | Bug7177315.java | 52 String got = fmtFormat.format(date); 53 if (!EXPECTED.equals(got)) { 54 throw new RuntimeException("got: " + got + ", expected: " + EXPECTED);
|
/openjdk10/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);
|
/openjdk10/langtools/test/tools/javac/lambda/methodReference/ |
H A D | MethodRefSingleRefEvalBridge.java | 47 static void assertEqual(int expected, int got) { argument 48 if (got != expected) 49 throw new AssertionError("Expected " + expected + " got " + got);
|
/openjdk10/jdk/test/java/text/Format/MessageFormat/ |
H A D | Bug6481179.java | 47 String got = e.getMessage(); 49 if (!expected.equals(got)) { 50 System.err.println("Error: Unexpected error message: " + got);
|
/openjdk10/langtools/test/tools/javac/lambda/ |
H A D | LambdaTestStrictFPMethod.java | 52 strictfp void check(double expected, double got, String where) { argument 53 if (got != expected) { 54 throw new AssertionError(where + ": Non-strictfp " + got + " != " + expected);
|
H A D | LambdaTestStrictFP.java | 57 private static void check(double expected, double got, String where) { argument 58 if (got != expected) { 59 throw new AssertionError(where + ": Non-strictfp " + got + " != " + expected);
|
/openjdk10/jdk/test/java/util/Calendar/ |
H A D | SupplementalJapaneseEraTest.java | 111 String expected, got; 115 got = sdf.format(firstDayOfEra); 117 if (!expected.equals(got)) { 118 System.err.printf("GGGG y-MM-dd: got=\"%s\", expected=\"%s\"%n", got, expected); 124 got = sdf.format(firstDayOfEra); 126 if (!expected.equals(got)) { 127 System.err.printf("G y-MM-dd: got=\"%s\", expected=\"%s\"%n", got, expected); 135 System.err.printf("Gregorian year: got [all...] |
H A D | GenericTimeZoneNamesTest.java | 50 String got = TimeZoneNameUtility.retrieveGenericDisplayName(tzid, style, locale); 51 if (!expected.equals(got)) { 52 System.err.printf("test: tzid=%s, locale=%s, style=%d, got=\"%s\", expected=\"%s\"%n", 53 tzid, locale, style, got, expected);
|
/openjdk10/jdk/test/java/nio/Buffer/ |
H A D | Basic.java | 81 String got, char gotChar) 100 + ", got '" + gotChar + "'=0x" 101 + got); 104 static void fail(Buffer b, long expected, long got) { argument 107 Long.toHexString(got), (char)got); 115 static void ck(Buffer b, long got, long expected) { argument 116 if (expected != got) 117 fail(b, expected, got); 120 static void ck(Buffer b, float got, floa argument 79 fail(Buffer b, String expected, char expectedChar, String got, char gotChar) argument 127 ck(Buffer b, double got, double expected) argument [all...] |
/openjdk10/jdk/test/java/text/Bidi/ |
H A D | Bug7042148.java | 69 boolean got = bidi.baseIsLeftToRight(); 70 if (got != expected) { 75 "\n\tGot=" + got); 83 got = bidi.baseIsLeftToRight(); 84 if (got != expected) { 89 "\n\tGot=" + got);
|
/openjdk10/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);
|
/openjdk10/jdk/test/java/util/Formatter/ |
H A D | Basic.java | 56 static void fail(String fs, String exp, String got) { argument 57 String s = "'" + fs + "': Expected '" + exp + "', got '" + got + "'"; 72 static void ck(String fs, String exp, String got) { argument 73 if (!exp.equals(got)) 74 fail(fs, exp, got);
|
/openjdk10/jdk/src/java.management/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;
|
/openjdk10/jdk/test/java/util/Locale/ |
H A D | Bug8025703.java | 46 List<LanguageRange> got = LanguageRange.parse(mappings[i][0]); 51 if (!expected.equals(got)) { 58 for (LanguageRange lr : got) {
|
H A D | Bug8159420.java | 159 List<LanguageRange> got 162 if (!areEqual(expected, got)) { 170 List<LanguageRange> got) { 173 if (expected.equals(got)) { 178 cloneExpected.removeAll(got); 184 // not creating the 'got' clone as the list will not be used after this 185 got.removeAll(expected); 186 if (!got.isEmpty()) { 188 System.err.println("Found extra range(s): " + got); 169 areEqual(List<LanguageRange> expected, List<LanguageRange> got) argument
|
/openjdk10/jdk/test/java/util/PluggableLocale/ |
H A D | CalendarDataProviderTest.java | 61 private <T> void checkResult(String msg, T got, T expected) { argument 62 if (!expected.equals(got)) { 63 String s = String.format("%s: got='%s', expected='%s'", msg, got, expected);
|
/openjdk10/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...] |
/openjdk10/langtools/test/tools/javac/api/6440528/ |
H A D | T6440528.java | 58 File got = fm.asPath(cls).toFile(); 59 if (!got.equals(expect)) 60 throw new AssertionError(String.format("Expected: %s; got: %s", expect, got)); 62 System.err.println("Got: " + got);
|
/openjdk10/jdk/test/com/sun/jdi/ |
H A D | Vars.java | 125 String got = testCase(method, which); 126 if (got.equals(expected)) { 127 System.out.println(name + ": got expected: " + got); 131 System.out.println(" got: " + got); 136 String got = testCase(method, which); 137 if (got.equals(expected) || got.equals(expected2)) { 138 System.out.println(name + ": got expecte [all...] |
/openjdk10/jdk/test/java/text/Format/common/ |
H A D | Bug6215962.java | 81 boolean got = f1.equals(f2); 82 if (got != expected) { 83 throw new RuntimeException("Test failed for MessageFormat.equals(). Got: " + got + ", Expected: " + expected); 108 boolean got = f1.equals(f2); 109 if (got != expected) { 110 throw new RuntimeException("Test failed for ChoiceFormat.equals(). Got: " + got + ", Expected: " + expected); 156 boolean got = dfs1.equals(dfs2); 157 if (got != expected) { 158 throw new RuntimeException("Test failed for DateFormatSymbols.equals(). Got: " + got + ", Expected: " + expected);
|
/openjdk10/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`"
|
/openjdk10/jdk/test/javax/management/Introspector/ |
H A D | InvokeGettersTest.java | 80 Integer got = (Integer) mbs.getAttribute(on, "Whatsit"); 81 if (got != x) 82 return fail("Set attribute was not got: " + got); 92 System.out.println("set got expected exception: " + e); 95 got = (Integer) mbs.invoke(on, "getWhatsit", null, null); 98 if (got != x) 99 return fail("Set attribute through invoke was not got: " + got); 104 System.out.println("get got expecte [all...] |
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/mimepull/ |
H A D | BASE64DecoderStream.java | 245 int got = 0; 247 while (got < 4) { 252 if (got == 0) { 259 "but only got " + got + " before EOF" + 266 if (got < 2 && !ignoreErrors) { 270 " but only got " + got + 276 if (got == 0) { 285 // (got alway [all...] |