/libcore/ojluni/src/test/java/nio/Buffer/ |
D | Basic.java | 86 String got, char gotChar) in fail() argument 106 + got); in fail() 109 static void fail(Buffer b, long expected, long got) { in fail() argument 112 Long.toHexString(got), (char)got); in fail() 120 static void ck(Buffer b, long got, long expected) { in ck() argument 121 if (expected != got) in ck() 122 fail(b, expected, got); in ck() 125 static void ck(Buffer b, float got, float expected) { in ck() argument 126 if (expected != got) in ck() 129 Float.toString(got), (char)got); in ck() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | CipherInputStream1Test.java | 114 int got = cis.read(result); // the number of got bytes in testRead2() local 116 for (int j = 0; j < got - ind; j++) { in testRead2() 121 if (got == expected) { in testRead2() 123 } else if (got > expected) { in testRead2() 127 ind = got; in testRead2() 128 got += cis.read(result); in testRead2() 155 int got = skip + cis.read(result, 0, 1); // the number of got bytes in testRead3() local 157 for (int j = 0; j < got - ind; j++) { in testRead3() 161 if (got == expected) { in testRead3() 163 } else if (got > expected) { in testRead3() [all …]
|
/libcore/ojluni/src/test/java/awt/font/NumericShaper/ |
D | EasternArabicTest.java | 92 String got = new String(text); in test() local 94 if (!expected.equals(got)) { in test() 98 System.err.println(" got = " + got); in test() 103 System.err.println(" got = " + got); in test() 109 got = new String(text); in test() 111 if (!expected.equals(got)) { in test() 115 System.err.println(" got = " + got); in test() 120 System.err.println(" got = " + got); in test()
|
D | ShapingTest.java | 151 String got = new String(text); in checkResult() local 153 if (!expected.equals(got)) { in checkResult() 157 System.err.println(" got = " + got); in checkResult() 162 System.out.println(" got = " + got); in checkResult()
|
/libcore/ojluni/src/test/java/text/Format/MessageFormat/ |
D | Bug6481179.java | 49 String got = e.getMessage(); in main() 51 if (!expected.equals(got)) { in main() 52 System.err.println("Error: Unexpected error message: " + got); in main()
|
/libcore/ojluni/src/test/java/text/Format/NumberFormat/ |
D | BigDecimalParse.java | 683 private void checkParse(String orig, Number expected, Number got) { in checkParse() argument 684 if (!expected.equals(got)) { in checkParse() 687 "\n parsed: " + got + in checkParse() 692 private void checkType(String orig, String expected, String got) { in checkType() argument 693 if (!expected.equals(got)) { in checkType() 696 "\n got: " + got + in checkType() 701 private void checkParsePosition(String orig, int expected, int got) { in checkParsePosition() argument 702 if (expected != got) { in checkParsePosition() 705 "\n got: " + got + in checkParsePosition()
|
D | BigDecimalFormat.java | 1018 private void checkFormat(String orig, StringBuffer got, String expected, in checkFormat() argument 1020 if (!expected.equals(new String(got))) { in checkFormat() 1024 "\n formatted: " + got + in checkFormat()
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleAccessorsTest.java | 99 final byte got; in getByte() 101 got = (byte)m.invokeExact(); in getByte() 103 got = (byte)m.invokeExact(v); in getByte() 105 assertTrue(got == value); in getByte() 142 final char got; in getChar() local 144 got = (char)m.invokeExact(); in getChar() 146 got = (char)m.invokeExact(v); in getChar() 148 assertTrue(got == value); in getChar() 185 final short got = (v == null) ? (short)m.invokeExact() : (short)m.invokeExact(v); in getShort() local 186 assertTrue(got == value); in getShort() [all …]
|
/libcore/benchmarks/src/benchmarks/ |
D | ReferenceBenchmark.java | 121 int got = count.get(); in timeFinalization() local 122 if (n != got) { in timeFinalization() 124 String.format("Only %d of %d objects finalized?", got, n)); in timeFinalization()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | FloatTest.java | 874 Float got = Float.valueOf("432.1235"); in test_valueOfLjava_lang_String() local 875 assertTrue("Incorrect float returned--wanted: " + wanted + " but got: " + got, got in test_valueOfLjava_lang_String() 879 got = Float.valueOf("0"); in test_valueOfLjava_lang_String() 880 assertTrue("Incorrect float returned--wanted: " + wanted + " but got: " + got, got in test_valueOfLjava_lang_String() 884 got = Float.valueOf("-1212.3232"); in test_valueOfLjava_lang_String() 885 assertTrue("Incorrect float returned--wanted: " + wanted + " but got: " + got, got in test_valueOfLjava_lang_String()
|
/libcore/ojluni/src/test/java/lang/StringBuffer/ |
D | Supplementary.java | 384 static void check(boolean err, String s, int got, int expected) { in check() argument 388 + toHexString(got) in check() 394 static void check(boolean err, String s, StringBuffer got, String expected) { in check() argument 398 + toHexString(new String(got)) in check()
|
/libcore/ojluni/src/test/java/lang/StringBuilder/ |
D | Supplementary.java | 399 static void check(boolean err, String s, int got, int expected) { in check() argument 403 + toHexString(got) in check() 409 static void check(boolean err, String s, StringBuilder got, String expected) { in check() argument 413 + toHexString(got.toString()) in check()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | OldAndroidDeflateTest.java | 136 int want = -1, got; in compress() local 175 int want = -1, got; in expand() local
|
/libcore/expectations/ |
D | knownfailures.txt | 379 executed: got NullPointerException.Test passes on RI.",
|