/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
D | CertificateEncodingExceptionTest.java | 59 CertificateEncodingException tE = new CertificateEncodingException(); in testCertificateEncodingException01() local 60 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateEncodingException01() 61 assertNull("getCause() must return null", tE.getCause()); in testCertificateEncodingException01() 70 CertificateEncodingException tE; in testCertificateEncodingException02() local 72 tE = new CertificateEncodingException(msgs[i]); in testCertificateEncodingException02() 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateEncodingException02() 75 assertNull("getCause() must return null", tE.getCause()); in testCertificateEncodingException02() 86 CertificateEncodingException tE = new CertificateEncodingException(msg); in testCertificateEncodingException03() local 87 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateEncodingException03() 88 assertNull("getCause() must return null", tE.getCause()); in testCertificateEncodingException03() [all …]
|
D | CertificateParsingExceptionTest.java | 59 CertificateParsingException tE = new CertificateParsingException(); in testCertificateParsingException01() local 60 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateParsingException01() 61 assertNull("getCause() must return null", tE.getCause()); in testCertificateParsingException01() 70 CertificateParsingException tE; in testCertificateParsingException02() local 72 tE = new CertificateParsingException(msgs[i]); in testCertificateParsingException02() 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateParsingException02() 75 assertNull("getCause() must return null", tE.getCause()); in testCertificateParsingException02() 86 CertificateParsingException tE = new CertificateParsingException(msg); in testCertificateParsingException03() local 87 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateParsingException03() 88 assertNull("getCause() must return null", tE.getCause()); in testCertificateParsingException03() [all …]
|
D | CertPathBuilderExceptionTest.java | 59 CertPathBuilderException tE = new CertPathBuilderException(); in testCertPathBuilderException01() local 60 assertNull("getMessage() must return null.", tE.getMessage()); in testCertPathBuilderException01() 61 assertNull("getCause() must return null", tE.getCause()); in testCertPathBuilderException01() 70 CertPathBuilderException tE; in testCertPathBuilderException02() local 72 tE = new CertPathBuilderException(msgs[i]); in testCertPathBuilderException02() 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathBuilderException02() 75 assertNull("getCause() must return null", tE.getCause()); in testCertPathBuilderException02() 86 CertPathBuilderException tE = new CertPathBuilderException(msg); in testCertPathBuilderException03() local 87 assertNull("getMessage() must return null.", tE.getMessage()); in testCertPathBuilderException03() 88 assertNull("getCause() must return null", tE.getCause()); in testCertPathBuilderException03() [all …]
|
D | CRLExceptionTest.java | 57 CRLException tE = new CRLException(); in testCRLException01() local 58 assertNull("getMessage() must return null.", tE.getMessage()); in testCRLException01() 59 assertNull("getCause() must return null", tE.getCause()); in testCRLException01() 68 CRLException tE; in testCRLException02() local 70 tE = new CRLException(msgs[i]); in testCRLException02() 71 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCRLException02() 73 assertNull("getCause() must return null", tE.getCause()); in testCRLException02() 83 CRLException tE = new CRLException(msg); in testCRLException03() local 84 assertNull("getMessage() must return null.", tE.getMessage()); in testCRLException03() 85 assertNull("getCause() must return null", tE.getCause()); in testCRLException03() [all …]
|
D | CertificateExceptionTest.java | 58 CertificateException tE = new CertificateException(); in testCertificateException01() local 59 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateException01() 60 assertNull("getCause() must return null", tE.getCause()); in testCertificateException01() 69 CertificateException tE; in testCertificateException02() local 71 tE = new CertificateException(msgs[i]); in testCertificateException02() 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateException02() 74 assertNull("getCause() must return null", tE.getCause()); in testCertificateException02() 85 CertificateException tE = new CertificateException(msg); in testCertificateException03() local 86 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateException03() 87 assertNull("getCause() must return null", tE.getCause()); in testCertificateException03() [all …]
|
D | CertStoreExceptionTest.java | 57 CertStoreException tE = new CertStoreException(); in testCertStoreException01() local 58 assertNull("getMessage() must return null.", tE.getMessage()); in testCertStoreException01() 59 assertNull("getCause() must return null", tE.getCause()); in testCertStoreException01() 68 CertStoreException tE; in testCertStoreException02() local 70 tE = new CertStoreException(msgs[i]); in testCertStoreException02() 71 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertStoreException02() 73 assertNull("getCause() must return null", tE.getCause()); in testCertStoreException02() 83 CertStoreException tE = new CertStoreException(msg); in testCertStoreException03() local 84 assertNull("getMessage() must return null.", tE.getMessage()); in testCertStoreException03() 85 assertNull("getCause() must return null", tE.getCause()); in testCertStoreException03() [all …]
|
D | CertPathValidatorExceptionTest.java | 64 CertPathValidatorException tE = new CertPathValidatorException(); in testCertPathValidatorException01() local 65 assertNull("getMessage() must return null.", tE.getMessage()); in testCertPathValidatorException01() 66 assertNull("getCause() must return null", tE.getCause()); in testCertPathValidatorException01() 75 CertPathValidatorException tE; in testCertPathValidatorException02() local 77 tE = new CertPathValidatorException(msgs[i]); in testCertPathValidatorException02() 78 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathValidatorException02() 80 assertNull("getCause() must return null", tE.getCause()); in testCertPathValidatorException02() 91 CertPathValidatorException tE = new CertPathValidatorException(msg); in testCertPathValidatorException03() local 92 assertNull("getMessage() must return null.", tE.getMessage()); in testCertPathValidatorException03() 93 assertNull("getCause() must return null", tE.getCause()); in testCertPathValidatorException03() [all …]
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | NoSuchAlgorithmExceptionTest.java | 59 NoSuchAlgorithmException tE = new NoSuchAlgorithmException(); in testNoSuchAlgorithmException01() local 60 assertNull("getMessage() must return null.", tE.getMessage()); in testNoSuchAlgorithmException01() 61 assertNull("getCause() must return null", tE.getCause()); in testNoSuchAlgorithmException01() 70 NoSuchAlgorithmException tE; in testNoSuchAlgorithmException02() local 72 tE = new NoSuchAlgorithmException(msgs[i]); in testNoSuchAlgorithmException02() 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testNoSuchAlgorithmException02() 75 assertNull("getCause() must return null", tE.getCause()); in testNoSuchAlgorithmException02() 86 NoSuchAlgorithmException tE = new NoSuchAlgorithmException(msg); in testNoSuchAlgorithmException03() local 87 assertNull("getMessage() must return null.", tE.getMessage()); in testNoSuchAlgorithmException03() 88 assertNull("getCause() must return null", tE.getCause()); in testNoSuchAlgorithmException03() [all …]
|
D | ProviderExceptionTest.java | 58 ProviderException tE = new ProviderException(); in testProviderException01() local 59 assertNull("getMessage() must return null.", tE.getMessage()); in testProviderException01() 60 assertNull("getCause() must return null", tE.getCause()); in testProviderException01() 69 ProviderException tE; in testProviderException02() local 71 tE = new ProviderException(msgs[i]); in testProviderException02() 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testProviderException02() 74 assertNull("getCause() must return null", tE.getCause()); in testProviderException02() 84 ProviderException tE = new ProviderException(msg); in testProviderException03() local 85 assertNull("getMessage() must return null.", tE.getMessage()); in testProviderException03() 86 assertNull("getCause() must return null", tE.getCause()); in testProviderException03() [all …]
|
D | GeneralSecurityExceptionTest.java | 59 GeneralSecurityException tE = new GeneralSecurityException(); in testGeneralSecurityException01() local 60 assertNull("getMessage() must return null.", tE.getMessage()); in testGeneralSecurityException01() 61 assertNull("getCause() must return null", tE.getCause()); in testGeneralSecurityException01() 70 GeneralSecurityException tE; in testGeneralSecurityException02() local 72 tE = new GeneralSecurityException(msgs[i]); in testGeneralSecurityException02() 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testGeneralSecurityException02() 75 assertNull("getCause() must return null", tE.getCause()); in testGeneralSecurityException02() 86 GeneralSecurityException tE = new GeneralSecurityException(msg); in testGeneralSecurityException03() local 87 assertNull("getMessage() must return null.", tE.getMessage()); in testGeneralSecurityException03() 88 assertNull("getCause() must return null", tE.getCause()); in testGeneralSecurityException03() [all …]
|
D | KeyStoreExceptionTest.java | 58 KeyStoreException tE = new KeyStoreException(); in testKeyStoreException01() local 59 assertNull("getMessage() must return null.", tE.getMessage()); in testKeyStoreException01() 60 assertNull("getCause() must return null", tE.getCause()); in testKeyStoreException01() 69 KeyStoreException tE; in testKeyStoreException02() local 71 tE = new KeyStoreException(msgs[i]); in testKeyStoreException02() 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testKeyStoreException02() 74 assertNull("getCause() must return null", tE.getCause()); in testKeyStoreException02() 84 KeyStoreException tE = new KeyStoreException(msg); in testKeyStoreException03() local 85 assertNull("getMessage() must return null.", tE.getMessage()); in testKeyStoreException03() 86 assertNull("getCause() must return null", tE.getCause()); in testKeyStoreException03() [all …]
|
D | KeyExceptionTest.java | 58 KeyException tE = new KeyException(); in testKeyException01() local 59 assertNull("getMessage() must return null.", tE.getMessage()); in testKeyException01() 60 assertNull("getCause() must return null", tE.getCause()); in testKeyException01() 69 KeyException tE; in testKeyException02() local 71 tE = new KeyException(msgs[i]); in testKeyException02() 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testKeyException02() 74 assertNull("getCause() must return null", tE.getCause()); in testKeyException02() 84 KeyException tE = new KeyException(msg); in testKeyException03() local 85 assertNull("getMessage() must return null.", tE.getMessage()); in testKeyException03() 86 assertNull("getCause() must return null", tE.getCause()); in testKeyException03() [all …]
|
D | KeyManagementExceptionTest.java | 59 KeyManagementException tE = new KeyManagementException(); in testKeyManagementException01() local 60 assertNull("getMessage() must return null.", tE.getMessage()); in testKeyManagementException01() 61 assertNull("getCause() must return null", tE.getCause()); in testKeyManagementException01() 70 KeyManagementException tE; in testKeyManagementException02() local 72 tE = new KeyManagementException(msgs[i]); in testKeyManagementException02() 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testKeyManagementException02() 75 assertNull("getCause() must return null", tE.getCause()); in testKeyManagementException02() 86 KeyManagementException tE = new KeyManagementException(msg); in testKeyManagementException03() local 87 assertNull("getMessage() must return null.", tE.getMessage()); in testKeyManagementException03() 88 assertNull("getCause() must return null", tE.getCause()); in testKeyManagementException03() [all …]
|
D | SignatureExceptionTest.java | 58 SignatureException tE = new SignatureException(); in testSignatureException01() local 59 assertNull("getMessage() must return null.", tE.getMessage()); in testSignatureException01() 60 assertNull("getCause() must return null", tE.getCause()); in testSignatureException01() 69 SignatureException tE; in testSignatureException02() local 71 tE = new SignatureException(msgs[i]); in testSignatureException02() 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testSignatureException02() 74 assertNull("getCause() must return null", tE.getCause()); in testSignatureException02() 84 SignatureException tE = new SignatureException(msg); in testSignatureException03() local 85 assertNull("getMessage() must return null.", tE.getMessage()); in testSignatureException03() 86 assertNull("getCause() must return null", tE.getCause()); in testSignatureException03() [all …]
|
D | DigestExceptionTest.java | 58 DigestException tE = new DigestException(); in testDigestException01() local 59 assertNull("getMessage() must return null.", tE.getMessage()); in testDigestException01() 60 assertNull("getCause() must return null", tE.getCause()); in testDigestException01() 69 DigestException tE; in testDigestException02() local 71 tE = new DigestException(msgs[i]); in testDigestException02() 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testDigestException02() 74 assertNull("getCause() must return null", tE.getCause()); in testDigestException02() 84 DigestException tE = new DigestException(msg); in testDigestException03() local 85 assertNull("getMessage() must return null.", tE.getMessage()); in testDigestException03() 86 assertNull("getCause() must return null", tE.getCause()); in testDigestException03() [all …]
|
D | InvalidAlgorithmParameterExceptionTest.java | 60 InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException(); in testInvalidAlgorithmParameterException01() local 61 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidAlgorithmParameterException01() 62 assertNull("getCause() must return null", tE.getCause()); in testInvalidAlgorithmParameterException01() 71 InvalidAlgorithmParameterException tE; in testInvalidAlgorithmParameterException02() local 73 tE = new InvalidAlgorithmParameterException(msgs[i]); in testInvalidAlgorithmParameterException02() 74 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidAlgorithmParameterException02() 76 assertNull("getCause() must return null", tE.getCause()); in testInvalidAlgorithmParameterException02() 87 InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException( in testInvalidAlgorithmParameterException03() local 89 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidAlgorithmParameterException03() 90 assertNull("getCause() must return null", tE.getCause()); in testInvalidAlgorithmParameterException03() [all …]
|
D | InvalidKeyExceptionTest.java | 58 InvalidKeyException tE = new InvalidKeyException(); in testInvalidKeyException01() local 59 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidKeyException01() 60 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeyException01() 69 InvalidKeyException tE; in testInvalidKeyException02() local 71 tE = new InvalidKeyException(msgs[i]); in testInvalidKeyException02() 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidKeyException02() 74 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeyException02() 84 InvalidKeyException tE = new InvalidKeyException(msg); in testInvalidKeyException03() local 85 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidKeyException03() 86 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeyException03() [all …]
|
D | InvalidParameterExceptionTest.java | 59 InvalidParameterException tE = new InvalidParameterException(); in testInvalidParameterException01() local 60 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidParameterException01() 61 assertNull("getCause() must return null", tE.getCause()); in testInvalidParameterException01() 70 InvalidParameterException tE; in testInvalidParameterException02() local 72 tE = new InvalidParameterException(msgs[i]); in testInvalidParameterException02() 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidParameterException02() 75 assertNull("getCause() must return null", tE.getCause()); in testInvalidParameterException02() 86 InvalidParameterException tE = new InvalidParameterException(msg); in testInvalidParameterException03() local 87 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidParameterException03() 88 assertNull("getCause() must return null", tE.getCause()); in testInvalidParameterException03()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
D | InvalidKeySpecExceptionTest.java | 58 InvalidKeySpecException tE = new InvalidKeySpecException(); in testInvalidKeySpecException01() local 59 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidKeySpecException01() 60 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeySpecException01() 69 InvalidKeySpecException tE; in testInvalidKeySpecException02() local 71 tE = new InvalidKeySpecException(msgs[i]); in testInvalidKeySpecException02() 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidKeySpecException02() 74 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeySpecException02() 85 InvalidKeySpecException tE = new InvalidKeySpecException(msg); in testInvalidKeySpecException03() local 86 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidKeySpecException03() 87 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeySpecException03() [all …]
|
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
D | SSLExceptionTest.java | 55 SSLException tE; in testSSLException01() local 57 tE = new SSLException(msgs[i]); in testSSLException01() 58 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testSSLException01() 60 assertNull("getCause() must return null", tE.getCause()); in testSSLException01() 70 SSLException tE = new SSLException(msg); in testSSLException02() local 71 assertNull("getMessage() must return null.", tE.getMessage()); in testSSLException02() 72 assertNull("getCause() must return null", tE.getCause()); in testSSLException02() 81 SSLException tE = new SSLException(cause); in testSSLException03() local 82 assertNull("getMessage() must return null.", tE.getMessage()); in testSSLException03() 83 assertNull("getCause() must return null", tE.getCause()); in testSSLException03() [all …]
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | ExemptionMechanismExceptionTest.java | 54 static String createErr(Exception tE, Exception eE) { in createErr() argument 55 return "ExemptionMechanismException: ".concat(tE.toString()).concat( in createErr() 64 ExemptionMechanismException tE = new ExemptionMechanismException(); in testExemptionMechanismException01() local 65 assertNull("getMessage() must return null.", tE.getMessage()); in testExemptionMechanismException01() 66 assertNull("getCause() must return null", tE.getCause()); in testExemptionMechanismException01() 68 throw tE; in testExemptionMechanismException01() 70 assertTrue(createErr(tE, e), tE.equals(e)); in testExemptionMechanismException01() 80 ExemptionMechanismException tE; in testExemptionMechanismException02() local 82 tE = new ExemptionMechanismException(msgs[i]); in testExemptionMechanismException02() 83 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testExemptionMechanismException02() [all …]
|
D | NoSuchPaddingExceptionTest.java | 59 NoSuchPaddingException tE = new NoSuchPaddingException(); in testNoSuchPaddingException01() local 60 assertNull("getMessage() must return null.", tE.getMessage()); in testNoSuchPaddingException01() 61 assertNull("getCause() must return null", tE.getCause()); in testNoSuchPaddingException01() 70 NoSuchPaddingException tE; in testNoSuchPaddingException02() local 72 tE = new NoSuchPaddingException(msgs[i]); in testNoSuchPaddingException02() 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testNoSuchPaddingException02() 75 assertNull("getCause() must return null", tE.getCause()); in testNoSuchPaddingException02() 86 NoSuchPaddingException tE = new NoSuchPaddingException(msg); in testNoSuchPaddingException03() local 87 assertNull("getMessage() must return null.", tE.getMessage()); in testNoSuchPaddingException03() 88 assertNull("getCause() must return null", tE.getCause()); in testNoSuchPaddingException03()
|
D | IllegalBlockSizeExceptionTest.java | 59 IllegalBlockSizeException tE = new IllegalBlockSizeException(); in testIllegalBlockSizeException01() local 60 assertNull("getMessage() must return null.", tE.getMessage()); in testIllegalBlockSizeException01() 61 assertNull("getCause() must return null", tE.getCause()); in testIllegalBlockSizeException01() 70 IllegalBlockSizeException tE; in testIllegalBlockSizeException02() local 72 tE = new IllegalBlockSizeException(msgs[i]); in testIllegalBlockSizeException02() 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testIllegalBlockSizeException02() 75 assertNull("getCause() must return null", tE.getCause()); in testIllegalBlockSizeException02() 86 IllegalBlockSizeException tE = new IllegalBlockSizeException(msg); in testIllegalBlockSizeException03() local 87 assertNull("getMessage() must return null.", tE.getMessage()); in testIllegalBlockSizeException03() 88 assertNull("getCause() must return null", tE.getCause()); in testIllegalBlockSizeException03()
|
D | ShortBufferExceptionTest.java | 58 ShortBufferException tE = new ShortBufferException(); in testShortBufferException01() local 59 assertNull("getMessage() must return null.", tE.getMessage()); in testShortBufferException01() 60 assertNull("getCause() must return null", tE.getCause()); in testShortBufferException01() 69 ShortBufferException tE; in testShortBufferException02() local 71 tE = new ShortBufferException(msgs[i]); in testShortBufferException02() 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testShortBufferException02() 74 assertNull("getCause() must return null", tE.getCause()); in testShortBufferException02() 85 ShortBufferException tE = new ShortBufferException(msg); in testShortBufferException03() local 86 assertNull("getMessage() must return null.", tE.getMessage()); in testShortBufferException03() 87 assertNull("getCause() must return null", tE.getCause()); in testShortBufferException03()
|
D | BadPaddingExceptionTest.java | 58 BadPaddingException tE = new BadPaddingException(); in testBadPaddingException01() local 59 assertNull("getMessage() must return null.", tE.getMessage()); in testBadPaddingException01() 60 assertNull("getCause() must return null", tE.getCause()); in testBadPaddingException01() 69 BadPaddingException tE; in testBadPaddingException02() local 71 tE = new BadPaddingException(msgs[i]); in testBadPaddingException02() 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testBadPaddingException02() 74 assertNull("getCause() must return null", tE.getCause()); in testBadPaddingException02() 84 BadPaddingException tE = new BadPaddingException(msg); in testBadPaddingException03() local 85 assertNull("getMessage() must return null.", tE.getMessage()); in testBadPaddingException03() 86 assertNull("getCause() must return null", tE.getCause()); in testBadPaddingException03()
|