/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
ExemptionMechanismExceptionTest.java | 55 static String createErr(Exception tE, Exception eE) { 56 return "ExemptionMechanismException: ".concat(tE.toString()).concat( 65 ExemptionMechanismException tE = new ExemptionMechanismException(); 66 assertNull("getMessage() must return null.", tE.getMessage()); 67 assertNull("getCause() must return null", tE.getCause()); 69 throw tE; 71 assertTrue(createErr(tE, e), tE.equals(e)); 81 ExemptionMechanismException tE; 83 tE = new ExemptionMechanismException(msgs[i]) [all...] |
BadPaddingExceptionTest.java | 59 BadPaddingException tE = new BadPaddingException(); 60 assertNull("getMessage() must return null.", tE.getMessage()); 61 assertNull("getCause() must return null", tE.getCause()); 70 BadPaddingException tE; 72 tE = new BadPaddingException(msgs[i]); 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 75 assertNull("getCause() must return null", tE.getCause()); 85 BadPaddingException tE = new BadPaddingException(msg); 86 assertNull("getMessage() must return null.", tE.getMessage()); 87 assertNull("getCause() must return null", tE.getCause()) [all...] |
IllegalBlockSizeExceptionTest.java | 60 IllegalBlockSizeException tE = new IllegalBlockSizeException(); 61 assertNull("getMessage() must return null.", tE.getMessage()); 62 assertNull("getCause() must return null", tE.getCause()); 71 IllegalBlockSizeException tE; 73 tE = new IllegalBlockSizeException(msgs[i]); 74 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 76 assertNull("getCause() must return null", tE.getCause()); 87 IllegalBlockSizeException tE = new IllegalBlockSizeException(msg); 88 assertNull("getMessage() must return null.", tE.getMessage()); 89 assertNull("getCause() must return null", tE.getCause()) [all...] |
NoSuchPaddingExceptionTest.java | 60 NoSuchPaddingException tE = new NoSuchPaddingException(); 61 assertNull("getMessage() must return null.", tE.getMessage()); 62 assertNull("getCause() must return null", tE.getCause()); 71 NoSuchPaddingException tE; 73 tE = new NoSuchPaddingException(msgs[i]); 74 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 76 assertNull("getCause() must return null", tE.getCause()); 87 NoSuchPaddingException tE = new NoSuchPaddingException(msg); 88 assertNull("getMessage() must return null.", tE.getMessage()); 89 assertNull("getCause() must return null", tE.getCause()) [all...] |
ShortBufferExceptionTest.java | 59 ShortBufferException tE = new ShortBufferException(); 60 assertNull("getMessage() must return null.", tE.getMessage()); 61 assertNull("getCause() must return null", tE.getCause()); 70 ShortBufferException tE; 72 tE = new ShortBufferException(msgs[i]); 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 75 assertNull("getCause() must return null", tE.getCause()); 86 ShortBufferException tE = new ShortBufferException(msg); 87 assertNull("getMessage() must return null.", tE.getMessage()); 88 assertNull("getCause() must return null", tE.getCause()) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
ExemptionMechanismExceptionTest.java | 43 static String createErr(Exception tE, Exception eE) { 44 return "ExemptionMechanismException: ".concat(tE.toString()).concat( 53 ExemptionMechanismException tE = new ExemptionMechanismException(); 54 assertNull("getMessage() must return null.", tE.getMessage()); 55 assertNull("getCause() must return null", tE.getCause()); 57 throw tE; 59 assertTrue(createErr(tE, e), tE.equals(e)); 69 ExemptionMechanismException tE; 71 tE = new ExemptionMechanismException(msgs[i]) [all...] |
BadPaddingExceptionTest.java | 48 BadPaddingException tE = new BadPaddingException(); 49 assertNull("getMessage() must return null.", tE.getMessage()); 50 assertNull("getCause() must return null", tE.getCause()); 59 BadPaddingException tE; 61 tE = new BadPaddingException(msgs[i]); 62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 64 assertNull("getCause() must return null", tE.getCause()); 74 BadPaddingException tE = new BadPaddingException(msg); 75 assertNull("getMessage() must return null.", tE.getMessage()); 76 assertNull("getCause() must return null", tE.getCause()) [all...] |
IllegalBlockSizeExceptionTest.java | 49 IllegalBlockSizeException tE = new IllegalBlockSizeException(); 50 assertNull("getMessage() must return null.", tE.getMessage()); 51 assertNull("getCause() must return null", tE.getCause()); 60 IllegalBlockSizeException tE; 62 tE = new IllegalBlockSizeException(msgs[i]); 63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 65 assertNull("getCause() must return null", tE.getCause()); 76 IllegalBlockSizeException tE = new IllegalBlockSizeException(msg); 77 assertNull("getMessage() must return null.", tE.getMessage()); 78 assertNull("getCause() must return null", tE.getCause()) [all...] |
NoSuchPaddingExceptionTest.java | 49 NoSuchPaddingException tE = new NoSuchPaddingException(); 50 assertNull("getMessage() must return null.", tE.getMessage()); 51 assertNull("getCause() must return null", tE.getCause()); 60 NoSuchPaddingException tE; 62 tE = new NoSuchPaddingException(msgs[i]); 63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 65 assertNull("getCause() must return null", tE.getCause()); 76 NoSuchPaddingException tE = new NoSuchPaddingException(msg); 77 assertNull("getMessage() must return null.", tE.getMessage()); 78 assertNull("getCause() must return null", tE.getCause()) [all...] |
ShortBufferExceptionTest.java | 47 ShortBufferException tE = new ShortBufferException(); 48 assertNull("getMessage() must return null.", tE.getMessage()); 49 assertNull("getCause() must return null", tE.getCause()); 58 ShortBufferException tE; 60 tE = new ShortBufferException(msgs[i]); 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 63 assertNull("getCause() must return null", tE.getCause()); 74 ShortBufferException tE = new ShortBufferException(msg); 75 assertNull("getMessage() must return null.", tE.getMessage()); 76 assertNull("getCause() must return null", tE.getCause()) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
InvalidParameterExceptionTest.java | 59 InvalidParameterException tE = new InvalidParameterException(); 60 assertNull("getMessage() must return null.", tE.getMessage()); 61 assertNull("getCause() must return null", tE.getCause()); 70 InvalidParameterException tE; 72 tE = new InvalidParameterException(msgs[i]); 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 75 assertNull("getCause() must return null", tE.getCause()); 86 InvalidParameterException tE = new InvalidParameterException(msg); 87 assertNull("getMessage() must return null.", tE.getMessage()); 88 assertNull("getCause() must return null", tE.getCause()) [all...] |
NoSuchProviderExceptionTest.java | 59 NoSuchProviderException tE = new NoSuchProviderException(); 60 assertNull("getMessage() must return null.", tE.getMessage()); 61 assertNull("getCause() must return null", tE.getCause()); 70 NoSuchProviderException tE; 72 tE = new NoSuchProviderException(msgs[i]); 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 75 assertNull("getCause() must return null", tE.getCause()); 86 NoSuchProviderException tE = new NoSuchProviderException(msg); 87 assertNull("getMessage() must return null.", tE.getMessage()); 88 assertNull("getCause() must return null", tE.getCause()) [all...] |
UnrecoverableEntryExceptionTest.java | 53 UnrecoverableEntryException tE = new UnrecoverableEntryException(); 54 assertNull("getMessage() must return null.", tE.getMessage()); 55 assertNull("getCause() must return null", tE.getCause()); 62 UnrecoverableEntryException tE; 64 tE = new UnrecoverableEntryException(msgs[i]); 65 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 67 assertNull("getCause() must return null", tE.getCause());
|
UnrecoverableKeyExceptionTest.java | 59 UnrecoverableKeyException tE = new UnrecoverableKeyException(); 60 assertNull("getMessage() must return null.", tE.getMessage()); 61 assertNull("getCause() must return null", tE.getCause()); 70 UnrecoverableKeyException tE; 72 tE = new UnrecoverableKeyException(msgs[i]); 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 75 assertNull("getCause() must return null", tE.getCause()); 86 UnrecoverableKeyException tE = new UnrecoverableKeyException(msg); 87 assertNull("getMessage() must return null.", tE.getMessage()); 88 assertNull("getCause() must return null", tE.getCause()) [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
SSLHandshakeExceptionTest.java | 57 SSLHandshakeException tE; 59 tE = new SSLHandshakeException(msgs[i]); 60 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 62 assertNull("getCause() must return null", tE.getCause()); 73 SSLHandshakeException tE = new SSLHandshakeException(msg); 74 assertNull("getMessage() must return null.", tE.getMessage()); 75 assertNull("getCause() must return null", tE.getCause());
|
SSLKeyExceptionTest.java | 56 SSLKeyException tE; 58 tE = new SSLKeyException(msgs[i]); 59 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 61 assertNull("getCause() must return null", tE.getCause()); 71 SSLKeyException tE = new SSLKeyException(msg); 72 assertNull("getMessage() must return null.", tE.getMessage()); 73 assertNull("getCause() must return null", tE.getCause());
|
SSLPeerUnverifiedExceptionTest.java | 57 SSLPeerUnverifiedException tE; 59 tE = new SSLPeerUnverifiedException(msgs[i]); 60 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 62 assertNull("getCause() must return null", tE.getCause()); 73 SSLPeerUnverifiedException tE = new SSLPeerUnverifiedException(msg); 74 assertNull("getMessage() must return null.", tE.getMessage()); 75 assertNull("getCause() must return null", tE.getCause());
|
SSLProtocolExceptionTest.java | 56 SSLProtocolException tE; 58 tE = new SSLProtocolException(msgs[i]); 59 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 61 assertNull("getCause() must return null", tE.getCause()); 72 SSLProtocolException tE = new SSLProtocolException(msg); 73 assertNull("getMessage() must return null.", tE.getMessage()); 74 assertNull("getCause() must return null", tE.getCause());
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
InvalidParameterExceptionTest.java | 48 InvalidParameterException tE = new InvalidParameterException(); 49 assertNull("getMessage() must return null.", tE.getMessage()); 50 assertNull("getCause() must return null", tE.getCause()); 59 InvalidParameterException tE; 61 tE = new InvalidParameterException(msgs[i]); 62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 64 assertNull("getCause() must return null", tE.getCause()); 75 InvalidParameterException tE = new InvalidParameterException(msg); 76 assertNull("getMessage() must return null.", tE.getMessage()); 77 assertNull("getCause() must return null", tE.getCause()) [all...] |
NoSuchProviderExceptionTest.java | 48 NoSuchProviderException tE = new NoSuchProviderException(); 49 assertNull("getMessage() must return null.", tE.getMessage()); 50 assertNull("getCause() must return null", tE.getCause()); 59 NoSuchProviderException tE; 61 tE = new NoSuchProviderException(msgs[i]); 62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 64 assertNull("getCause() must return null", tE.getCause()); 75 NoSuchProviderException tE = new NoSuchProviderException(msg); 76 assertNull("getMessage() must return null.", tE.getMessage()); 77 assertNull("getCause() must return null", tE.getCause()) [all...] |
UnrecoverableEntryExceptionTest.java | 46 UnrecoverableEntryException tE = new UnrecoverableEntryException(); 47 assertNull("getMessage() must return null.", tE.getMessage()); 48 assertNull("getCause() must return null", tE.getCause()); 55 UnrecoverableEntryException tE; 57 tE = new UnrecoverableEntryException(msgs[i]); 58 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 60 assertNull("getCause() must return null", tE.getCause()); 64 tE = new UnrecoverableEntryException(null);
|
UnrecoverableKeyExceptionTest.java | 48 UnrecoverableKeyException tE = new UnrecoverableKeyException(); 49 assertNull("getMessage() must return null.", tE.getMessage()); 50 assertNull("getCause() must return null", tE.getCause()); 59 UnrecoverableKeyException tE; 61 tE = new UnrecoverableKeyException(msgs[i]); 62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 64 assertNull("getCause() must return null", tE.getCause()); 75 UnrecoverableKeyException tE = new UnrecoverableKeyException(msg); 76 assertNull("getMessage() must return null.", tE.getMessage()); 77 assertNull("getCause() must return null", tE.getCause()) [all...] |
/libcore/luni/src/test/java/tests/api/javax/security/cert/ |
CertificateEncodingExceptionTest.java | 47 CertificateEncodingException tE = new CertificateEncodingException(); 48 assertNull("getMessage() must return null.", tE.getMessage()); 49 assertNull("getCause() must return null", tE.getCause()); 58 CertificateEncodingException tE; 60 tE = new CertificateEncodingException(msgs[i]); 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 63 assertNull("getCause() must return null", tE.getCause()); 74 CertificateEncodingException tE = new CertificateEncodingException(msg); 75 assertNull("getMessage() must return null.", tE.getMessage()); 76 assertNull("getCause() must return null", tE.getCause()) [all...] |
CertificateExceptionTest.java | 48 CertificateException tE = new CertificateException(); 49 assertNull("getMessage() must return null.", tE.getMessage()); 50 assertNull("getCause() must return null", tE.getCause()); 59 CertificateException tE; 61 tE = new CertificateException(msgs[i]); 62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 64 assertNull("getCause() must return null", tE.getCause()); 75 CertificateException tE = new CertificateException(msg); 76 assertNull("getMessage() must return null.", tE.getMessage()); 77 assertNull("getCause() must return null", tE.getCause()) [all...] |
CertificateExpiredExceptionTest.java | 48 CertificateExpiredException tE = new CertificateExpiredException(); 49 assertNull("getMessage() must return null.", tE.getMessage()); 50 assertNull("getCause() must return null", tE.getCause()); 59 CertificateExpiredException tE; 61 tE = new CertificateExpiredException(msgs[i]); 62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 64 assertNull("getCause() must return null", tE.getCause()); 75 CertificateExpiredException tE = new CertificateExpiredException(msg); 76 assertNull("getMessage() must return null.", tE.getMessage()); 77 assertNull("getCause() must return null", tE.getCause()) [all...] |