/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
ExemptionMechanismExceptionTest.java | 54 static String createErr(Exception tE, Exception eE) { 55 return "ExemptionMechanismException: ".concat(tE.toString()).concat( 64 ExemptionMechanismException tE = new ExemptionMechanismException(); 65 assertNull("getMessage() must return null.", tE.getMessage()); 66 assertNull("getCause() must return null", tE.getCause()); 68 throw tE; 70 assertTrue(createErr(tE, e), tE.equals(e)); 80 ExemptionMechanismException tE; 82 tE = new ExemptionMechanismException(msgs[i]) [all...] |
BadPaddingExceptionTest.java | 58 BadPaddingException tE = new BadPaddingException(); 59 assertNull("getMessage() must return null.", tE.getMessage()); 60 assertNull("getCause() must return null", tE.getCause()); 69 BadPaddingException tE; 71 tE = new BadPaddingException(msgs[i]); 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 74 assertNull("getCause() must return null", tE.getCause()); 84 BadPaddingException tE = new BadPaddingException(msg); 85 assertNull("getMessage() must return null.", tE.getMessage()); 86 assertNull("getCause() must return null", tE.getCause()) [all...] |
IllegalBlockSizeExceptionTest.java | 59 IllegalBlockSizeException tE = new IllegalBlockSizeException(); 60 assertNull("getMessage() must return null.", tE.getMessage()); 61 assertNull("getCause() must return null", tE.getCause()); 70 IllegalBlockSizeException tE; 72 tE = new IllegalBlockSizeException(msgs[i]); 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 75 assertNull("getCause() must return null", tE.getCause()); 86 IllegalBlockSizeException tE = new IllegalBlockSizeException(msg); 87 assertNull("getMessage() must return null.", tE.getMessage()); 88 assertNull("getCause() must return null", tE.getCause()) [all...] |
NoSuchPaddingExceptionTest.java | 59 NoSuchPaddingException tE = new NoSuchPaddingException(); 60 assertNull("getMessage() must return null.", tE.getMessage()); 61 assertNull("getCause() must return null", tE.getCause()); 70 NoSuchPaddingException tE; 72 tE = new NoSuchPaddingException(msgs[i]); 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 75 assertNull("getCause() must return null", tE.getCause()); 86 NoSuchPaddingException tE = new NoSuchPaddingException(msg); 87 assertNull("getMessage() must return null.", tE.getMessage()); 88 assertNull("getCause() must return null", tE.getCause()) [all...] |
ShortBufferExceptionTest.java | 58 ShortBufferException tE = new ShortBufferException(); 59 assertNull("getMessage() must return null.", tE.getMessage()); 60 assertNull("getCause() must return null", tE.getCause()); 69 ShortBufferException tE; 71 tE = new ShortBufferException(msgs[i]); 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 74 assertNull("getCause() must return null", tE.getCause()); 85 ShortBufferException tE = new ShortBufferException(msg); 86 assertNull("getMessage() must return null.", tE.getMessage()); 87 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...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
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());
|
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...] |
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/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateExpiredExceptionTest.java | 58 CertificateExpiredException tE = new CertificateExpiredException(); 59 assertNull("getMessage() must return null.", tE.getMessage()); 60 assertNull("getCause() must return null", tE.getCause()); 69 CertificateExpiredException tE; 71 tE = new CertificateExpiredException(msgs[i]); 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 74 assertNull("getCause() must return null", tE.getCause()); 85 CertificateExpiredException tE = new CertificateExpiredException(msg); 86 assertNull("getMessage() must return null.", tE.getMessage()); 87 assertNull("getCause() must return null", tE.getCause()) [all...] |
CertificateNotYetValidExceptionTest.java | 59 CertificateNotYetValidException tE = new CertificateNotYetValidException(); 60 assertNull("getMessage() must return null.", tE.getMessage()); 61 assertNull("getCause() must return null", tE.getCause()); 70 CertificateNotYetValidException tE; 72 tE = new CertificateNotYetValidException(msgs[i]); 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 75 assertNull("getCause() must return null", tE.getCause()); 86 CertificateNotYetValidException tE = new CertificateNotYetValidException( 88 assertNull("getMessage() must return null.", tE.getMessage()); 89 assertNull("getCause() must return null", tE.getCause()) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
InvalidParameterSpecExceptionTest.java | 59 InvalidParameterSpecException tE = new InvalidParameterSpecException(); 60 assertNull("getMessage() must return null.", tE.getMessage()); 61 assertNull("getCause() must return null", tE.getCause()); 70 InvalidParameterSpecException tE; 72 tE = new InvalidParameterSpecException(msgs[i]); 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 75 assertNull("getCause() must return null", tE.getCause()); 86 InvalidParameterSpecException tE = new InvalidParameterSpecException( 88 assertNull("getMessage() must return null.", tE.getMessage()); 89 assertNull("getCause() must return null", tE.getCause()) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/javax/security/cert/ |
CertificateEncodingExceptionTest.java | 57 CertificateEncodingException tE = new CertificateEncodingException(); 58 assertNull("getMessage() must return null.", tE.getMessage()); 59 assertNull("getCause() must return null", tE.getCause()); 68 CertificateEncodingException tE; 70 tE = new CertificateEncodingException(msgs[i]); 71 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 73 assertNull("getCause() must return null", tE.getCause()); 84 CertificateEncodingException tE = new CertificateEncodingException(msg); 85 assertNull("getMessage() must return null.", tE.getMessage()); 86 assertNull("getCause() must return null", tE.getCause()) [all...] |
CertificateExceptionTest.java | 58 CertificateException tE = new CertificateException(); 59 assertNull("getMessage() must return null.", tE.getMessage()); 60 assertNull("getCause() must return null", tE.getCause()); 69 CertificateException tE; 71 tE = new CertificateException(msgs[i]); 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 74 assertNull("getCause() must return null", tE.getCause()); 85 CertificateException tE = new CertificateException(msg); 86 assertNull("getMessage() must return null.", tE.getMessage()); 87 assertNull("getCause() must return null", tE.getCause()) [all...] |
CertificateExpiredExceptionTest.java | 58 CertificateExpiredException tE = new CertificateExpiredException(); 59 assertNull("getMessage() must return null.", tE.getMessage()); 60 assertNull("getCause() must return null", tE.getCause()); 69 CertificateExpiredException tE; 71 tE = new CertificateExpiredException(msgs[i]); 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 74 assertNull("getCause() must return null", tE.getCause()); 85 CertificateExpiredException tE = new CertificateExpiredException(msg); 86 assertNull("getMessage() must return null.", tE.getMessage()); 87 assertNull("getCause() must return null", tE.getCause()) [all...] |
CertificateNotYetValidExceptionTest.java | 59 CertificateNotYetValidException tE = new CertificateNotYetValidException(); 60 assertNull("getMessage() must return null.", tE.getMessage()); 61 assertNull("getCause() must return null", tE.getCause()); 70 CertificateNotYetValidException tE; 72 tE = new CertificateNotYetValidException(msgs[i]); 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 75 assertNull("getCause() must return null", tE.getCause()); 86 CertificateNotYetValidException tE = new CertificateNotYetValidException( 88 assertNull("getMessage() must return null.", tE.getMessage()); 89 assertNull("getCause() must return null", tE.getCause()) [all...] |
CertificateParsingExceptionTest.java | 58 CertificateParsingException tE = new CertificateParsingException(); 59 assertNull("getMessage() must return null.", tE.getMessage()); 60 assertNull("getCause() must return null", tE.getCause()); 69 CertificateParsingException tE; 71 tE = new CertificateParsingException(msgs[i]); 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 74 assertNull("getCause() must return null", tE.getCause()); 85 CertificateParsingException tE = new CertificateParsingException(msg); 86 assertNull("getMessage() must return null.", tE.getMessage()); 87 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...] |