Searched refs:tCause (Results 1 - 25 of 35) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DSSLExceptionTest.java35 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:SSLExceptionTest
79 SSLException sE = new SSLException(tCause);
81 String toS = tCause.toString();
87 assertEquals("getCause() must return ".concat(tCause.toString()), sE.getCause(), tCause);
122 SSLException sE = new SSLException(null, tCause);
124 String toS = tCause.toString();
130 assertEquals("getCause() must return ".concat(tCause.toString()), sE
131 .getCause(), tCause);
142 sE = new SSLException(msgs[i], tCause);
[all...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DDigestExceptionTest.java40 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:DigestExceptionTest
94 DigestException tE = new DigestException(tCause);
96 String toS = tCause.toString();
102 assertEquals("getCause() must return ".concat(tCause.toString()), tE
103 .getCause(), tCause);
138 DigestException tE = new DigestException(null, tCause);
140 String toS = tCause.toString();
146 assertEquals("getCause() must return ".concat(tCause.toString()), tE
147 .getCause(), tCause);
158 tE = new DigestException(msgs[i], tCause);
[all...]
H A DGeneralSecurityExceptionTest.java41 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:GeneralSecurityExceptionTest
98 GeneralSecurityException tE = new GeneralSecurityException(tCause);
100 String toS = tCause.toString();
106 assertEquals("getCause() must return ".concat(tCause.toString()), tE
107 .getCause(), tCause);
142 GeneralSecurityException tE = new GeneralSecurityException(null, tCause);
144 String toS = tCause.toString();
150 assertEquals("getCause() must return ".concat(tCause.toString()), tE
151 .getCause(), tCause);
162 tE = new GeneralSecurityException(msgs[i], tCause);
[all...]
H A DInvalidAlgorithmParameterExceptionTest.java41 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:InvalidAlgorithmParameterExceptionTest
102 tCause);
104 String toS = tCause.toString();
110 assertEquals("getCause() must return ".concat(tCause.toString()), tE
111 .getCause(), tCause);
151 null, tCause);
153 String toS = tCause.toString();
159 assertEquals("getCause() must return ".concat(tCause.toString()), tE
160 .getCause(), tCause);
172 tE = new InvalidAlgorithmParameterException(msgs[i], tCause);
[all...]
H A DInvalidKeyExceptionTest.java40 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:InvalidKeyExceptionTest
96 InvalidKeyException tE = new InvalidKeyException(tCause);
98 String toS = tCause.toString();
104 assertEquals("getCause() must return ".concat(tCause.toString()), tE
105 .getCause(), tCause);
140 InvalidKeyException tE = new InvalidKeyException(null, tCause);
142 String toS = tCause.toString();
148 assertEquals("getCause() must return ".concat(tCause.toString()), tE
149 .getCause(), tCause);
160 tE = new InvalidKeyException(msgs[i], tCause);
[all...]
H A DKeyExceptionTest.java40 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:KeyExceptionTest
94 KeyException tE = new KeyException(tCause);
96 String toS = tCause.toString();
102 assertEquals("getCause() must return ".concat(tCause.toString()), tE
103 .getCause(), tCause);
138 KeyException tE = new KeyException(null, tCause);
140 String toS = tCause.toString();
146 assertEquals("getCause() must return ".concat(tCause.toString()), tE
147 .getCause(), tCause);
158 tE = new KeyException(msgs[i], tCause);
[all...]
H A DKeyManagementExceptionTest.java41 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:KeyManagementExceptionTest
98 KeyManagementException tE = new KeyManagementException(tCause);
100 String toS = tCause.toString();
106 assertEquals("getCause() must return ".concat(tCause.toString()), tE
107 .getCause(), tCause);
142 KeyManagementException tE = new KeyManagementException(null, tCause);
144 String toS = tCause.toString();
150 assertEquals("getCause() must return ".concat(tCause.toString()), tE
151 .getCause(), tCause);
162 tE = new KeyManagementException(msgs[i], tCause);
[all...]
H A DKeyStoreExceptionTest.java40 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:KeyStoreExceptionTest
95 KeyStoreException tE = new KeyStoreException(tCause);
97 String toS = tCause.toString();
103 assertEquals("getCause() must return ".concat(tCause.toString()), tE
104 .getCause(), tCause);
139 KeyStoreException tE = new KeyStoreException(null, tCause);
141 String toS = tCause.toString();
147 assertEquals("getCause() must return ".concat(tCause.toString()), tE
148 .getCause(), tCause);
159 tE = new KeyStoreException(msgs[i], tCause);
[all...]
H A DNoSuchAlgorithmExceptionTest.java41 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:NoSuchAlgorithmExceptionTest
98 NoSuchAlgorithmException tE = new NoSuchAlgorithmException(tCause);
100 String toS = tCause.toString();
106 assertEquals("getCause() must return ".concat(tCause.toString()), tE
107 .getCause(), tCause);
142 NoSuchAlgorithmException tE = new NoSuchAlgorithmException(null, tCause);
144 String toS = tCause.toString();
150 assertEquals("getCause() must return ".concat(tCause.toString()), tE
151 .getCause(), tCause);
162 tE = new NoSuchAlgorithmException(msgs[i], tCause);
[all...]
H A DProviderExceptionTest.java40 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:ProviderExceptionTest
95 ProviderException tE = new ProviderException(tCause);
97 String toS = tCause.toString();
103 assertEquals("getCause() must return ".concat(tCause.toString()), tE
104 .getCause(), tCause);
139 ProviderException tE = new ProviderException(null, tCause);
141 String toS = tCause.toString();
147 assertEquals("getCause() must return ".concat(tCause.toString()), tE
148 .getCause(), tCause);
159 tE = new ProviderException(msgs[i], tCause);
[all...]
H A DSignatureExceptionTest.java40 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:SignatureExceptionTest
96 SignatureException tE = new SignatureException(tCause);
98 String toS = tCause.toString();
104 assertEquals("getCause() must return ".concat(tCause.toString()), tE
105 .getCause(), tCause);
140 SignatureException tE = new SignatureException(null, tCause);
142 String toS = tCause.toString();
148 assertEquals("getCause() must return ".concat(tCause.toString()), tE
149 .getCause(), tCause);
160 tE = new SignatureException(msgs[i], tCause);
[all...]
/libcore/luni/src/test/java/tests/security/cert/
H A DCRLExceptionTest.java40 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:CRLExceptionTest
94 CRLException tE = new CRLException(tCause);
96 String toS = tCause.toString();
102 assertEquals("getCause() must return ".concat(tCause.toString()), tE
103 .getCause(), tCause);
138 CRLException tE = new CRLException(null, tCause);
140 String toS = tCause.toString();
146 assertEquals("getCause() must return ".concat(tCause.toString()), tE
147 .getCause(), tCause);
158 tE = new CRLException(msgs[i], tCause);
[all...]
H A DCertPathBuilderExceptionTest.java42 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertPathBuilderExceptionTest
99 CertPathBuilderException tE = new CertPathBuilderException(tCause);
101 String toS = tCause.toString();
107 assertEquals("getCause() must return ".concat(tCause.toString()), tE
108 .getCause(), tCause);
143 CertPathBuilderException tE = new CertPathBuilderException(null, tCause);
145 String toS = tCause.toString();
151 assertEquals("getCause() must return ".concat(tCause.toString()), tE
152 .getCause(), tCause);
163 tE = new CertPathBuilderException(msgs[i], tCause);
[all...]
H A DCertStoreExceptionTest.java40 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertStoreExceptionTest
96 CertStoreException tE = new CertStoreException(tCause);
98 String toS = tCause.toString();
104 assertEquals("getCause() must return ".concat(tCause.toString()), tE
105 .getCause(), tCause);
140 CertStoreException tE = new CertStoreException(null, tCause);
142 String toS = tCause.toString();
148 assertEquals("getCause() must return ".concat(tCause.toString()), tE
149 .getCause(), tCause);
160 tE = new CertStoreException(msgs[i], tCause);
[all...]
H A DCertificateEncodingExceptionTest.java42 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertificateEncodingExceptionTest
101 tCause);
103 String toS = tCause.toString();
109 assertEquals("getCause() must return ".concat(tCause.toString()), tE
110 .getCause(), tCause);
147 null, tCause);
149 String toS = tCause.toString();
155 assertEquals("getCause() must return ".concat(tCause.toString()), tE
156 .getCause(), tCause);
167 tE = new CertificateEncodingException(msgs[i], tCause);
[all...]
H A DCertificateExceptionTest.java41 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertificateExceptionTest
98 CertificateException tE = new CertificateException(tCause);
100 String toS = tCause.toString();
106 assertEquals("getCause() must return ".concat(tCause.toString()), tE
107 .getCause(), tCause);
142 CertificateException tE = new CertificateException(null, tCause);
144 String toS = tCause.toString();
150 assertEquals("getCause() must return ".concat(tCause.toString()), tE
151 .getCause(), tCause);
162 tE = new CertificateException(msgs[i], tCause);
[all...]
H A DCertificateParsingExceptionTest.java42 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertificateParsingExceptionTest
99 CertificateParsingException tE = new CertificateParsingException(tCause);
101 String toS = tCause.toString();
107 assertEquals("getCause() must return ".concat(tCause.toString()), tE
108 .getCause(), tCause);
145 tCause);
147 String toS = tCause.toString();
153 assertEquals("getCause() must return ".concat(tCause.toString()), tE
154 .getCause(), tCause);
165 tE = new CertificateParsingException(msgs[i], tCause);
[all...]
H A DCertPathValidatorExceptionTest.java53 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertPathValidatorExceptionTest
110 CertPathValidatorException tE = new CertPathValidatorException(tCause);
112 String toS = tCause.toString();
118 assertEquals("getCause() must return ".concat(tCause.toString()), tE
119 .getCause(), tCause);
156 tCause);
158 String toS = tCause.toString();
164 assertEquals("getCause() must return ".concat(tCause.toString()), tE
165 .getCause(), tCause);
176 tE = new CertPathValidatorException(msgs[i], tCause);
[all...]
/libcore/luni/src/test/java/tests/security/spec/
H A DInvalidKeySpecExceptionTest.java41 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:InvalidKeySpecExceptionTest
98 InvalidKeySpecException tE = new InvalidKeySpecException(tCause);
100 String toS = tCause.toString();
106 assertEquals("getCause() must return ".concat(tCause.toString()), tE
107 .getCause(), tCause);
142 InvalidKeySpecException tE = new InvalidKeySpecException(null, tCause);
144 String toS = tCause.toString();
150 assertEquals("getCause() must return ".concat(tCause.toString()), tE
151 .getCause(), tCause);
162 tE = new InvalidKeySpecException(msgs[i], tCause);
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/
H A DCertificateEncodingExceptionTest.java40 static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertificateEncodingExceptionTest
H A DCertificateExceptionTest.java41 static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertificateExceptionTest
H A DCertificateExpiredExceptionTest.java41 static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertificateExpiredExceptionTest
H A DCertificateNotYetValidExceptionTest.java41 static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertificateNotYetValidExceptionTest
H A DCertificateParsingExceptionTest.java42 static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertificateParsingExceptionTest
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DBadPaddingExceptionTest.java41 static Throwable tCause = new Throwable("Throwable for exception"); field in class:BadPaddingExceptionTest

Completed in 1221 milliseconds

12