Home
last modified time | relevance | path

Searched refs:tE (Results 1 – 25 of 60) sorted by relevance

123

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DCertPathBuilderExceptionTest.java60 CertPathBuilderException tE = new CertPathBuilderException(); in testCertPathBuilderException01() local
61 assertNull("getMessage() must return null.", tE.getMessage()); in testCertPathBuilderException01()
62 assertNull("getCause() must return null", tE.getCause()); in testCertPathBuilderException01()
71 CertPathBuilderException tE; in testCertPathBuilderException02() local
73 tE = new CertPathBuilderException(msgs[i]); in testCertPathBuilderException02()
74 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathBuilderException02()
76 assertNull("getCause() must return null", tE.getCause()); in testCertPathBuilderException02()
87 CertPathBuilderException tE = new CertPathBuilderException(msg); in testCertPathBuilderException03() local
88 assertNull("getMessage() must return null.", tE.getMessage()); in testCertPathBuilderException03()
89 assertNull("getCause() must return null", tE.getCause()); in testCertPathBuilderException03()
[all …]
DCRLExceptionTest.java58 CRLException tE = new CRLException(); in testCRLException01() local
59 assertNull("getMessage() must return null.", tE.getMessage()); in testCRLException01()
60 assertNull("getCause() must return null", tE.getCause()); in testCRLException01()
69 CRLException tE; in testCRLException02() local
71 tE = new CRLException(msgs[i]); in testCRLException02()
72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCRLException02()
74 assertNull("getCause() must return null", tE.getCause()); in testCRLException02()
84 CRLException tE = new CRLException(msg); in testCRLException03() local
85 assertNull("getMessage() must return null.", tE.getMessage()); in testCRLException03()
86 assertNull("getCause() must return null", tE.getCause()); in testCRLException03()
[all …]
DCertificateExceptionTest.java59 CertificateException tE = new CertificateException(); in testCertificateException01() local
60 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateException01()
61 assertNull("getCause() must return null", tE.getCause()); in testCertificateException01()
70 CertificateException tE; in testCertificateException02() local
72 tE = new CertificateException(msgs[i]); in testCertificateException02()
73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateException02()
75 assertNull("getCause() must return null", tE.getCause()); in testCertificateException02()
86 CertificateException tE = new CertificateException(msg); in testCertificateException03() local
87 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateException03()
88 assertNull("getCause() must return null", tE.getCause()); in testCertificateException03()
[all …]
DCertStoreExceptionTest.java58 CertStoreException tE = new CertStoreException(); in testCertStoreException01() local
59 assertNull("getMessage() must return null.", tE.getMessage()); in testCertStoreException01()
60 assertNull("getCause() must return null", tE.getCause()); in testCertStoreException01()
69 CertStoreException tE; in testCertStoreException02() local
71 tE = new CertStoreException(msgs[i]); in testCertStoreException02()
72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertStoreException02()
74 assertNull("getCause() must return null", tE.getCause()); in testCertStoreException02()
84 CertStoreException tE = new CertStoreException(msg); in testCertStoreException03() local
85 assertNull("getMessage() must return null.", tE.getMessage()); in testCertStoreException03()
86 assertNull("getCause() must return null", tE.getCause()); in testCertStoreException03()
[all …]
DCertificateEncodingExceptionTest.java60 CertificateEncodingException tE = new CertificateEncodingException(); in testCertificateEncodingException01() local
61 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateEncodingException01()
62 assertNull("getCause() must return null", tE.getCause()); in testCertificateEncodingException01()
71 CertificateEncodingException tE; in testCertificateEncodingException02() local
73 tE = new CertificateEncodingException(msgs[i]); in testCertificateEncodingException02()
74 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateEncodingException02()
76 assertNull("getCause() must return null", tE.getCause()); in testCertificateEncodingException02()
87 CertificateEncodingException tE = new CertificateEncodingException(msg); in testCertificateEncodingException03() local
88 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateEncodingException03()
89 assertNull("getCause() must return null", tE.getCause()); in testCertificateEncodingException03()
[all …]
DCertificateParsingExceptionTest.java60 CertificateParsingException tE = new CertificateParsingException(); in testCertificateParsingException01() local
61 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateParsingException01()
62 assertNull("getCause() must return null", tE.getCause()); in testCertificateParsingException01()
71 CertificateParsingException tE; in testCertificateParsingException02() local
73 tE = new CertificateParsingException(msgs[i]); in testCertificateParsingException02()
74 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateParsingException02()
76 assertNull("getCause() must return null", tE.getCause()); in testCertificateParsingException02()
87 CertificateParsingException tE = new CertificateParsingException(msg); in testCertificateParsingException03() local
88 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateParsingException03()
89 assertNull("getCause() must return null", tE.getCause()); in testCertificateParsingException03()
[all …]
DCertPathValidatorExceptionTest.java65 CertPathValidatorException tE = new CertPathValidatorException(); in testCertPathValidatorException01() local
66 assertNull("getMessage() must return null.", tE.getMessage()); in testCertPathValidatorException01()
67 assertNull("getCause() must return null", tE.getCause()); in testCertPathValidatorException01()
76 CertPathValidatorException tE; in testCertPathValidatorException02() local
78 tE = new CertPathValidatorException(msgs[i]); in testCertPathValidatorException02()
79 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathValidatorException02()
81 assertNull("getCause() must return null", tE.getCause()); in testCertPathValidatorException02()
92 CertPathValidatorException tE = new CertPathValidatorException(msg); in testCertPathValidatorException03() local
93 assertNull("getMessage() must return null.", tE.getMessage()); in testCertPathValidatorException03()
94 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/spec/
DInvalidKeySpecExceptionTest.java59 InvalidKeySpecException tE = new InvalidKeySpecException(); in testInvalidKeySpecException01() local
60 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidKeySpecException01()
61 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeySpecException01()
70 InvalidKeySpecException tE; in testInvalidKeySpecException02() local
72 tE = new InvalidKeySpecException(msgs[i]); in testInvalidKeySpecException02()
73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidKeySpecException02()
75 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeySpecException02()
86 InvalidKeySpecException tE = new InvalidKeySpecException(msg); in testInvalidKeySpecException03() local
87 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidKeySpecException03()
88 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeySpecException03()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DProviderExceptionTest.java58 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 …]
DKeyManagementExceptionTest.java59 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 …]
DKeyExceptionTest.java58 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 …]
DKeyStoreExceptionTest.java58 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 …]
DInvalidKeyExceptionTest.java58 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 …]
DGeneralSecurityExceptionTest.java59 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 …]
DNoSuchAlgorithmExceptionTest.java59 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 …]
DDigestExceptionTest.java58 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 …]
DInvalidAlgorithmParameterExceptionTest.java61 InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException(); in testInvalidAlgorithmParameterException01() local
62 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidAlgorithmParameterException01()
63 assertNull("getCause() must return null", tE.getCause()); in testInvalidAlgorithmParameterException01()
72 InvalidAlgorithmParameterException tE; in testInvalidAlgorithmParameterException02() local
74 tE = new InvalidAlgorithmParameterException(msgs[i]); in testInvalidAlgorithmParameterException02()
75 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidAlgorithmParameterException02()
77 assertNull("getCause() must return null", tE.getCause()); in testInvalidAlgorithmParameterException02()
88 InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException( in testInvalidAlgorithmParameterException03() local
90 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidAlgorithmParameterException03()
91 assertNull("getCause() must return null", tE.getCause()); in testInvalidAlgorithmParameterException03()
[all …]
DSignatureExceptionTest.java58 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 …]
DUnrecoverableKeyExceptionTest.java59 UnrecoverableKeyException tE = new UnrecoverableKeyException(); in testUnrecoverableKeyException01() local
60 assertNull("getMessage() must return null.", tE.getMessage()); in testUnrecoverableKeyException01()
61 assertNull("getCause() must return null", tE.getCause()); in testUnrecoverableKeyException01()
70 UnrecoverableKeyException tE; in testUnrecoverableKeyException02() local
72 tE = new UnrecoverableKeyException(msgs[i]); in testUnrecoverableKeyException02()
73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testUnrecoverableKeyException02()
75 assertNull("getCause() must return null", tE.getCause()); in testUnrecoverableKeyException02()
86 UnrecoverableKeyException tE = new UnrecoverableKeyException(msg); in testUnrecoverableKeyException03() local
87 assertNull("getMessage() must return null.", tE.getMessage()); in testUnrecoverableKeyException03()
88 assertNull("getCause() must return null", tE.getCause()); in testUnrecoverableKeyException03()
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DSSLExceptionTest.java56 SSLException tE; in testSSLException01() local
58 tE = new SSLException(msgs[i]); in testSSLException01()
59 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testSSLException01()
61 assertNull("getCause() must return null", tE.getCause()); in testSSLException01()
71 SSLException tE = new SSLException(msg); in testSSLException02() local
72 assertNull("getMessage() must return null.", tE.getMessage()); in testSSLException02()
73 assertNull("getCause() must return null", tE.getCause()); in testSSLException02()
82 SSLException tE = new SSLException(cause); in testSSLException03() local
83 assertNull("getMessage() must return null.", tE.getMessage()); in testSSLException03()
84 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/
DExemptionMechanismExceptionTest.java55 static String createErr(Exception tE, Exception eE) { in createErr() argument
56 return "ExemptionMechanismException: ".concat(tE.toString()).concat( in createErr()
65 ExemptionMechanismException tE = new ExemptionMechanismException(); in testExemptionMechanismException01() local
66 assertNull("getMessage() must return null.", tE.getMessage()); in testExemptionMechanismException01()
67 assertNull("getCause() must return null", tE.getCause()); in testExemptionMechanismException01()
69 throw tE; in testExemptionMechanismException01()
71 assertTrue(createErr(tE, e), tE.equals(e)); in testExemptionMechanismException01()
81 ExemptionMechanismException tE; in testExemptionMechanismException02() local
83 tE = new ExemptionMechanismException(msgs[i]); in testExemptionMechanismException02()
84 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testExemptionMechanismException02()
[all …]
DShortBufferExceptionTest.java59 ShortBufferException tE = new ShortBufferException(); in testShortBufferException01() local
60 assertNull("getMessage() must return null.", tE.getMessage()); in testShortBufferException01()
61 assertNull("getCause() must return null", tE.getCause()); in testShortBufferException01()
70 ShortBufferException tE; in testShortBufferException02() local
72 tE = new ShortBufferException(msgs[i]); in testShortBufferException02()
73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testShortBufferException02()
75 assertNull("getCause() must return null", tE.getCause()); in testShortBufferException02()
86 ShortBufferException tE = new ShortBufferException(msg); in testShortBufferException03() local
87 assertNull("getMessage() must return null.", tE.getMessage()); in testShortBufferException03()
88 assertNull("getCause() must return null", tE.getCause()); in testShortBufferException03()
DNoSuchPaddingExceptionTest.java60 NoSuchPaddingException tE = new NoSuchPaddingException(); in testNoSuchPaddingException01() local
61 assertNull("getMessage() must return null.", tE.getMessage()); in testNoSuchPaddingException01()
62 assertNull("getCause() must return null", tE.getCause()); in testNoSuchPaddingException01()
71 NoSuchPaddingException tE; in testNoSuchPaddingException02() local
73 tE = new NoSuchPaddingException(msgs[i]); in testNoSuchPaddingException02()
74 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testNoSuchPaddingException02()
76 assertNull("getCause() must return null", tE.getCause()); in testNoSuchPaddingException02()
87 NoSuchPaddingException tE = new NoSuchPaddingException(msg); in testNoSuchPaddingException03() local
88 assertNull("getMessage() must return null.", tE.getMessage()); in testNoSuchPaddingException03()
89 assertNull("getCause() must return null", tE.getCause()); in testNoSuchPaddingException03()
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/
DAuthenticationExceptionTest.java55 AuthenticationException tE; in testAuthenticationException01() local
56 tE = new AuthenticationException(); in testAuthenticationException01()
57 assertNull("getMessage() must return null", tE.getMessage()); in testAuthenticationException01()
58 assertNull("getCause() must return null", tE.getCause()); in testAuthenticationException01()
68 AuthenticationException tE; in testAuthenticationException02() local
70 tE = new AuthenticationException(msgs[i]); in testAuthenticationException02()
71 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testAuthenticationException02()
73 assertNull("getCause() must return null", tE.getCause()); in testAuthenticationException02()
83 AuthenticationException tE = new AuthenticationException(msg); in testAuthenticationException03() local
84 assertNull("getMessage() must return null.", tE.getMessage()); in testAuthenticationException03()
[all …]
DSaslExceptionTest.java53 SaslException tE; in testSaslException01() local
54 tE = new SaslException(); in testSaslException01()
55 assertNull("getMessage() must return null", tE.getMessage()); in testSaslException01()
56 assertNull("getCause() must return null", tE.getCause()); in testSaslException01()
66 SaslException tE; in testSaslException02() local
68 tE = new SaslException(msgs[i]); in testSaslException02()
69 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testSaslException02()
71 assertNull("getCause() must return null", tE.getCause()); in testSaslException02()
81 SaslException tE = new SaslException(msg); in testSaslException03() local
82 assertNull("getMessage() must return null.", tE.getMessage()); in testSaslException03()
[all …]

123