Home
last modified time | relevance | path

Searched refs:checkResult (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/test/java/awt/font/NumericShaper/
DShapingTest.java80 checkResult("ARABIC | TAMIL | ETHIOPIC", in test6842557()
83 checkResult("Range.ARABIC, Range.TAMIL, Range.ETHIOPIC", in test6842557()
101 checkResult("ARABIC", ns, given, expected_ARABIC); in test6943963()
104 checkResult("Range.ARABIC", ns, given, expected_ARABIC); in test6943963()
107 checkResult("EASTERN_ARABIC", ns, given, expected_EASTERN_ARABIC); in test6943963()
110 checkResult("Range.EASTERN_ARABIC", ns, given, expected_EASTERN_ARABIC); in test6943963()
113 checkResult("ARABIC | EASTERN_ARABIC", ns, given, expected_EASTERN_ARABIC); in test6943963()
116 checkResult("Range.ARABIC, Range.EASTERN_ARABIC", ns, given, expected_EASTERN_ARABIC); in test6943963()
123 checkResult("Range.TAI_THAM_HORA", ns, given, expected); in test6903266()
129 checkResult("Range.TAI_THAM_HORA, Range.TAI_THAM_THAM", ns, given, expected); in test6903266()
[all …]
/libcore/ojluni/src/test/java/lang/StrictMath/
DExactArithTests.java227 checkResult("long StrictMath.addExact", x, y, sum, resultBig); in testLongExact()
238 checkResult("long StrictMath.subtractExact", x, y, diff, resultBig); in testLongExact()
249 checkResult("long StrictMath.multiplyExact", x, y, product, resultBig); in testLongExact()
260 checkResult("long Math.incrementExact", x, 1L, inc, resultBig); in testLongExact()
271 checkResult("long Math.decrementExact", x, 1L, dec, resultBig); in testLongExact()
282 checkResult("long Math.negateExact", x, 0L, dec, resultBig); in testLongExact()
310 static void checkResult(String message, long x, long y, long result, BigInteger expected) { in checkResult() method in ExactArithTests
380 checkResult("long StrictMath.multiplyExact", x, y, product, resultBig); in testLongIntExact()
/libcore/ojluni/src/test/java/lang/Math/
DExactArithTests.java361 checkResult("long Math.addExact", x, y, sum, resultBig); in testLongExact()
372 checkResult("long Math.subtractExact", x, y, diff, resultBig); in testLongExact()
383 checkResult("long Math.multiplyExact", x, y, product, resultBig); in testLongExact()
402 checkResult("long Math.divideExact", x, y, quotient, resultBig); in testLongExact()
409 checkResult("long StrictMath.divideExact", x, y, quotient2, resultBig); in testLongExact()
489 checkResult("long Math.incrementExact", x, 1L, inc, resultBig); in testLongExact()
500 checkResult("long Math.decrementExact", x, 1L, dec, resultBig); in testLongExact()
511 checkResult("long Math.negateExact", x, 0L, dec, resultBig); in testLongExact()
539 static void checkResult(String message, long x, long y, long result, BigInteger expected) { in checkResult() method in ExactArithTests
605 checkResult("long Math.multiplyExact", x, y, product, resultBig); in testLongIntExact()
/libcore/luni/src/test/java/tests/security/cert/
DCertPathBuilder2Test.java79 private void checkResult(CertPathBuilder certBuild) in checkResult() method in CertPathBuilder2Test
120 checkResult(cerPB); in testGetInstance01()
184 checkResult(cerPB); in testGetInstance02()
226 checkResult(cerPB); in testGetInstance03()
DCertPathValidator2Test.java80 private void checkResult(CertPathValidator certV) throws CertPathValidatorException, in checkResult() method in CertPathValidator2Test
129 checkResult(cerPV); in testGetInstance01()
188 checkResult(cerPV); in testGetInstance02()
229 checkResult(cerPV); in testGetInstance03()
DCertificateFactory2Test.java84 private void checkResult(CertificateFactory certFactory, boolean mode) in checkResult() method in CertificateFactory2Test
201 checkResult(cerF, mode); in GetInstance01()
266 checkResult(cerF, mode); in GetInstance02()
310 checkResult(cerF, mode); in GetInstance03()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DAlgorithmParameterGenerator2Test.java79 private void checkResult(AlgorithmParameterGenerator algParGen) in checkResult() method in AlgorithmParameterGenerator2Test
139 checkResult(apG); in testGetInstance01()
200 checkResult(apG); in testGetInstance02()
245 checkResult(apG); in testGetInstance03()
DKeyPairGenerator2Test.java88 private void checkResult(KeyPairGenerator keyPairGen, int mode) in checkResult() method in KeyPairGenerator2Test
207 checkResult(kpG, mode); in GetInstance01()
269 checkResult(kpG, mode); in GetInstance02()
315 checkResult(kpG, mode); in GetInstance03()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DTrustManagerFactory2Test.java74 private void checkResult(TrustManagerFactory tmf) throws Exception { in checkResult() method in TrustManagerFactory2Test
140 checkResult(tmf); in test_getInstanceLjava_lang_String()
207 checkResult(tmf); in test_getInstanceLjava_lang_StringLjava_lang_String()
252 checkResult(tmf); in testLjava_lang_StringLjava_security_Provider()
DKeyManagerFactory2Test.java77 private void checkResult(KeyManagerFactory keyMF) in checkResult() method in KeyManagerFactory2Test
148 checkResult(keyMF); in test_getInstanceLjava_lang_String()
215 checkResult(keyMF); in test_getInstanceLjava_lang_StringLjava_lang_String()
260 checkResult(keyMF); in test_getInstanceLjava_lang_StringLjava_security_Provider()
/libcore/ojluni/src/test/java/math/BigInteger/
DBigIntegerTest.java241 private static void checkResult(BigInteger expected, BigInteger actual, String failureMessage) { in checkResult() method in BigIntegerTest
259 checkResult(BigInteger.ZERO, BigInteger.ZERO.sqrt(), "sqrt(0) != BigInteger.ZERO"); in squareRootSmall()
264 checkResult(BigInteger.ONE, BigInteger.valueOf(small).sqrt(), "sqrt("+small+") != 1"); in squareRootSmall()
275 checkResult(n, n2.sqrt(), "sqrt() n^2 -> n"); in squareRoot()
279 checkResult(n, n2up.sqrt(), "sqrt() n^2 + 1 -> n"); in squareRoot()
283 checkResult(n, up.sqrt(), "sqrt() (n + 1)^2 - 1 -> n"); in squareRoot()
327 checkResult(n, actual[0], "sqrtAndRemainder()[0]"); in squareRootAndRemainder()
328 checkResult(BigInteger.ZERO, actual[1], "sqrtAndRemainder()[1]"); in squareRootAndRemainder()
333 checkResult(n, actual[0], "sqrtAndRemainder()[0]"); in squareRootAndRemainder()
334 checkResult(BigInteger.ONE, actual[1], "sqrtAndRemainder()[1]"); in squareRootAndRemainder()
[all …]
/libcore/ojluni/src/test/java/lang/ref/
DReferenceEnqueuePendingTest.java109 checkResult(refQueue, iterations-1); in testReferenceEnqueuePending()
129 private static void checkResult(ReferenceQueue<Integer> queue, in checkResult() method in ReferenceEnqueuePendingTest