/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...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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...] |
CertificateNotYetValidExceptionTest.java | 49 CertificateNotYetValidException tE = new CertificateNotYetValidException(); 50 assertNull("getMessage() must return null.", tE.getMessage()); 51 assertNull("getCause() must return null", tE.getCause()); 60 CertificateNotYetValidException tE; 62 tE = new CertificateNotYetValidException(msgs[i]); 63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 65 assertNull("getCause() must return null", tE.getCause()); 76 CertificateNotYetValidException tE = new CertificateNotYetValidException( 78 assertNull("getMessage() must return null.", tE.getMessage()); 79 assertNull("getCause() must return null", tE.getCause()) [all...] |
CertificateParsingExceptionTest.java | 49 CertificateParsingException tE = new CertificateParsingException(); 50 assertNull("getMessage() must return null.", tE.getMessage()); 51 assertNull("getCause() must return null", tE.getCause()); 60 CertificateParsingException tE; 62 tE = new CertificateParsingException(msgs[i]); 63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 65 assertNull("getCause() must return null", tE.getCause()); 76 CertificateParsingException tE = new CertificateParsingException(msg); 77 assertNull("getMessage() must return null.", tE.getMessage()); 78 assertNull("getCause() must return null", tE.getCause()) [all...] |
/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...] |
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...] |
DigestExceptionTest.java | 47 DigestException tE = new DigestException(); 48 assertNull("getMessage() must return null.", tE.getMessage()); 49 assertNull("getCause() must return null", tE.getCause()); 58 DigestException tE; 60 tE = new DigestException(msgs[i]); 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 63 assertNull("getCause() must return null", tE.getCause()); 73 DigestException tE = new DigestException(msg); 74 assertNull("getMessage() must return null.", tE.getMessage()); 75 assertNull("getCause() must return null", tE.getCause()) [all...] |
GeneralSecurityExceptionTest.java | 48 GeneralSecurityException tE = new GeneralSecurityException(); 49 assertNull("getMessage() must return null.", tE.getMessage()); 50 assertNull("getCause() must return null", tE.getCause()); 59 GeneralSecurityException tE; 61 tE = new GeneralSecurityException(msgs[i]); 62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 64 assertNull("getCause() must return null", tE.getCause()); 75 GeneralSecurityException tE = new GeneralSecurityException(msg); 76 assertNull("getMessage() must return null.", tE.getMessage()); 77 assertNull("getCause() must return null", tE.getCause()) [all...] |
InvalidAlgorithmParameterExceptionTest.java | 49 InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException(); 50 assertNull("getMessage() must return null.", tE.getMessage()); 51 assertNull("getCause() must return null", tE.getCause()); 60 InvalidAlgorithmParameterException tE; 62 tE = new InvalidAlgorithmParameterException(msgs[i]); 63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 65 assertNull("getCause() must return null", tE.getCause()); 76 InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException( 78 assertNull("getMessage() must return null.", tE.getMessage()); 79 assertNull("getCause() must return null", tE.getCause()) [all...] |
InvalidKeyExceptionTest.java | 47 InvalidKeyException tE = new InvalidKeyException(); 48 assertNull("getMessage() must return null.", tE.getMessage()); 49 assertNull("getCause() must return null", tE.getCause()); 58 InvalidKeyException tE; 60 tE = new InvalidKeyException(msgs[i]); 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 63 assertNull("getCause() must return null", tE.getCause()); 73 InvalidKeyException tE = new InvalidKeyException(msg); 74 assertNull("getMessage() must return null.", tE.getMessage()); 75 assertNull("getCause() must return null", tE.getCause()) [all...] |
KeyExceptionTest.java | 47 KeyException tE = new KeyException(); 48 assertNull("getMessage() must return null.", tE.getMessage()); 49 assertNull("getCause() must return null", tE.getCause()); 58 KeyException tE; 60 tE = new KeyException(msgs[i]); 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 63 assertNull("getCause() must return null", tE.getCause()); 73 KeyException tE = new KeyException(msg); 74 assertNull("getMessage() must return null.", tE.getMessage()); 75 assertNull("getCause() must return null", tE.getCause()) [all...] |
KeyManagementExceptionTest.java | 48 KeyManagementException tE = new KeyManagementException(); 49 assertNull("getMessage() must return null.", tE.getMessage()); 50 assertNull("getCause() must return null", tE.getCause()); 59 KeyManagementException tE; 61 tE = new KeyManagementException(msgs[i]); 62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 64 assertNull("getCause() must return null", tE.getCause()); 75 KeyManagementException tE = new KeyManagementException(msg); 76 assertNull("getMessage() must return null.", tE.getMessage()); 77 assertNull("getCause() must return null", tE.getCause()) [all...] |
KeyStoreExceptionTest.java | 47 KeyStoreException tE = new KeyStoreException(); 48 assertNull("getMessage() must return null.", tE.getMessage()); 49 assertNull("getCause() must return null", tE.getCause()); 58 KeyStoreException tE; 60 tE = new KeyStoreException(msgs[i]); 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 63 assertNull("getCause() must return null", tE.getCause()); 73 KeyStoreException tE = new KeyStoreException(msg); 74 assertNull("getMessage() must return null.", tE.getMessage()); 75 assertNull("getCause() must return null", tE.getCause()) [all...] |
NoSuchAlgorithmExceptionTest.java | 48 NoSuchAlgorithmException tE = new NoSuchAlgorithmException(); 49 assertNull("getMessage() must return null.", tE.getMessage()); 50 assertNull("getCause() must return null", tE.getCause()); 59 NoSuchAlgorithmException tE; 61 tE = new NoSuchAlgorithmException(msgs[i]); 62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 64 assertNull("getCause() must return null", tE.getCause()); 75 NoSuchAlgorithmException tE = new NoSuchAlgorithmException(msg); 76 assertNull("getMessage() must return null.", tE.getMessage()); 77 assertNull("getCause() must return null", tE.getCause()) [all...] |
ProviderExceptionTest.java | 47 ProviderException tE = new ProviderException(); 48 assertNull("getMessage() must return null.", tE.getMessage()); 49 assertNull("getCause() must return null", tE.getCause()); 58 ProviderException tE; 60 tE = new ProviderException(msgs[i]); 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 63 assertNull("getCause() must return null", tE.getCause()); 73 ProviderException tE = new ProviderException(msg); 74 assertNull("getMessage() must return null.", tE.getMessage()); 75 assertNull("getCause() must return null", tE.getCause()) [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
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...] |
CertificateNotYetValidExceptionTest.java | 49 CertificateNotYetValidException tE = new CertificateNotYetValidException(); 50 assertNull("getMessage() must return null.", tE.getMessage()); 51 assertNull("getCause() must return null", tE.getCause()); 60 CertificateNotYetValidException tE; 62 tE = new CertificateNotYetValidException(msgs[i]); 63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 65 assertNull("getCause() must return null", tE.getCause()); 76 CertificateNotYetValidException tE = new CertificateNotYetValidException( 78 assertNull("getMessage() must return null.", tE.getMessage()); 79 assertNull("getCause() must return null", tE.getCause()) [all...] |
/libcore/luni/src/test/java/tests/security/spec/ |
InvalidParameterSpecExceptionTest.java | 49 InvalidParameterSpecException tE = new InvalidParameterSpecException(); 50 assertNull("getMessage() must return null.", tE.getMessage()); 51 assertNull("getCause() must return null", tE.getCause()); 60 InvalidParameterSpecException tE; 62 tE = new InvalidParameterSpecException(msgs[i]); 63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 65 assertNull("getCause() must return null", tE.getCause()); 76 InvalidParameterSpecException tE = new InvalidParameterSpecException( 78 assertNull("getMessage() must return null.", tE.getMessage()); 79 assertNull("getCause() must return null", tE.getCause()) [all...] |