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

12

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DDigestExceptionTest.java51 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:DigestExceptionTest
105 DigestException tE = new DigestException(tCause);
107 String toS = tCause.toString();
113 assertEquals("getCause() must return ".concat(tCause.toString()), tE
114 .getCause(), tCause);
149 DigestException tE = new DigestException(null, tCause);
151 String toS = tCause.toString();
157 assertEquals("getCause() must return ".concat(tCause.toString()), tE
158 .getCause(), tCause);
169 tE = new DigestException(msgs[i], tCause);
[all...]
H A DGeneralSecurityExceptionTest.java52 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:GeneralSecurityExceptionTest
109 GeneralSecurityException tE = new GeneralSecurityException(tCause);
111 String toS = tCause.toString();
117 assertEquals("getCause() must return ".concat(tCause.toString()), tE
118 .getCause(), tCause);
153 GeneralSecurityException tE = new GeneralSecurityException(null, tCause);
155 String toS = tCause.toString();
161 assertEquals("getCause() must return ".concat(tCause.toString()), tE
162 .getCause(), tCause);
173 tE = new GeneralSecurityException(msgs[i], tCause);
[all...]
H A DInvalidAlgorithmParameterExceptionTest.java53 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:InvalidAlgorithmParameterExceptionTest
114 tCause);
116 String toS = tCause.toString();
122 assertEquals("getCause() must return ".concat(tCause.toString()), tE
123 .getCause(), tCause);
163 null, tCause);
165 String toS = tCause.toString();
171 assertEquals("getCause() must return ".concat(tCause.toString()), tE
172 .getCause(), tCause);
184 tE = new InvalidAlgorithmParameterException(msgs[i], tCause);
[all...]
H A DInvalidKeyExceptionTest.java51 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:InvalidKeyExceptionTest
107 InvalidKeyException tE = new InvalidKeyException(tCause);
109 String toS = tCause.toString();
115 assertEquals("getCause() must return ".concat(tCause.toString()), tE
116 .getCause(), tCause);
151 InvalidKeyException tE = new InvalidKeyException(null, tCause);
153 String toS = tCause.toString();
159 assertEquals("getCause() must return ".concat(tCause.toString()), tE
160 .getCause(), tCause);
171 tE = new InvalidKeyException(msgs[i], tCause);
[all...]
H A DKeyExceptionTest.java51 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:KeyExceptionTest
105 KeyException tE = new KeyException(tCause);
107 String toS = tCause.toString();
113 assertEquals("getCause() must return ".concat(tCause.toString()), tE
114 .getCause(), tCause);
149 KeyException tE = new KeyException(null, tCause);
151 String toS = tCause.toString();
157 assertEquals("getCause() must return ".concat(tCause.toString()), tE
158 .getCause(), tCause);
169 tE = new KeyException(msgs[i], tCause);
[all...]
H A DKeyManagementExceptionTest.java52 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:KeyManagementExceptionTest
109 KeyManagementException tE = new KeyManagementException(tCause);
111 String toS = tCause.toString();
117 assertEquals("getCause() must return ".concat(tCause.toString()), tE
118 .getCause(), tCause);
153 KeyManagementException tE = new KeyManagementException(null, tCause);
155 String toS = tCause.toString();
161 assertEquals("getCause() must return ".concat(tCause.toString()), tE
162 .getCause(), tCause);
173 tE = new KeyManagementException(msgs[i], tCause);
[all...]
H A DKeyStoreExceptionTest.java51 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:KeyStoreExceptionTest
106 KeyStoreException tE = new KeyStoreException(tCause);
108 String toS = tCause.toString();
114 assertEquals("getCause() must return ".concat(tCause.toString()), tE
115 .getCause(), tCause);
150 KeyStoreException tE = new KeyStoreException(null, tCause);
152 String toS = tCause.toString();
158 assertEquals("getCause() must return ".concat(tCause.toString()), tE
159 .getCause(), tCause);
170 tE = new KeyStoreException(msgs[i], tCause);
[all...]
H A DNoSuchAlgorithmExceptionTest.java52 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:NoSuchAlgorithmExceptionTest
109 NoSuchAlgorithmException tE = new NoSuchAlgorithmException(tCause);
111 String toS = tCause.toString();
117 assertEquals("getCause() must return ".concat(tCause.toString()), tE
118 .getCause(), tCause);
153 NoSuchAlgorithmException tE = new NoSuchAlgorithmException(null, tCause);
155 String toS = tCause.toString();
161 assertEquals("getCause() must return ".concat(tCause.toString()), tE
162 .getCause(), tCause);
173 tE = new NoSuchAlgorithmException(msgs[i], tCause);
[all...]
H A DProviderExceptionTest.java51 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:ProviderExceptionTest
106 ProviderException tE = new ProviderException(tCause);
108 String toS = tCause.toString();
114 assertEquals("getCause() must return ".concat(tCause.toString()), tE
115 .getCause(), tCause);
150 ProviderException tE = new ProviderException(null, tCause);
152 String toS = tCause.toString();
158 assertEquals("getCause() must return ".concat(tCause.toString()), tE
159 .getCause(), tCause);
170 tE = new ProviderException(msgs[i], tCause);
[all...]
H A DSignatureExceptionTest.java51 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:SignatureExceptionTest
107 SignatureException tE = new SignatureException(tCause);
109 String toS = tCause.toString();
115 assertEquals("getCause() must return ".concat(tCause.toString()), tE
116 .getCause(), tCause);
151 SignatureException tE = new SignatureException(null, tCause);
153 String toS = tCause.toString();
159 assertEquals("getCause() must return ".concat(tCause.toString()), tE
160 .getCause(), tCause);
171 tE = new SignatureException(msgs[i], tCause);
[all...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
H A DCRLExceptionTest.java51 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:CRLExceptionTest
105 CRLException tE = new CRLException(tCause);
107 String toS = tCause.toString();
113 assertEquals("getCause() must return ".concat(tCause.toString()), tE
114 .getCause(), tCause);
149 CRLException tE = new CRLException(null, tCause);
151 String toS = tCause.toString();
157 assertEquals("getCause() must return ".concat(tCause.toString()), tE
158 .getCause(), tCause);
169 tE = new CRLException(msgs[i], tCause);
[all...]
H A DCertPathBuilderExceptionTest.java53 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertPathBuilderExceptionTest
110 CertPathBuilderException tE = new CertPathBuilderException(tCause);
112 String toS = tCause.toString();
118 assertEquals("getCause() must return ".concat(tCause.toString()), tE
119 .getCause(), tCause);
154 CertPathBuilderException tE = new CertPathBuilderException(null, tCause);
156 String toS = tCause.toString();
162 assertEquals("getCause() must return ".concat(tCause.toString()), tE
163 .getCause(), tCause);
174 tE = new CertPathBuilderException(msgs[i], tCause);
[all...]
H A DCertStoreExceptionTest.java51 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertStoreExceptionTest
107 CertStoreException tE = new CertStoreException(tCause);
109 String toS = tCause.toString();
115 assertEquals("getCause() must return ".concat(tCause.toString()), tE
116 .getCause(), tCause);
151 CertStoreException tE = new CertStoreException(null, tCause);
153 String toS = tCause.toString();
159 assertEquals("getCause() must return ".concat(tCause.toString()), tE
160 .getCause(), tCause);
171 tE = new CertStoreException(msgs[i], tCause);
[all...]
H A DCertificateEncodingExceptionTest.java53 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertificateEncodingExceptionTest
112 tCause);
114 String toS = tCause.toString();
120 assertEquals("getCause() must return ".concat(tCause.toString()), tE
121 .getCause(), tCause);
158 null, tCause);
160 String toS = tCause.toString();
166 assertEquals("getCause() must return ".concat(tCause.toString()), tE
167 .getCause(), tCause);
178 tE = new CertificateEncodingException(msgs[i], tCause);
[all...]
H A DCertificateExceptionTest.java52 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertificateExceptionTest
109 CertificateException tE = new CertificateException(tCause);
111 String toS = tCause.toString();
117 assertEquals("getCause() must return ".concat(tCause.toString()), tE
118 .getCause(), tCause);
153 CertificateException tE = new CertificateException(null, tCause);
155 String toS = tCause.toString();
161 assertEquals("getCause() must return ".concat(tCause.toString()), tE
162 .getCause(), tCause);
173 tE = new CertificateException(msgs[i], tCause);
[all...]
H A DCertificateParsingExceptionTest.java53 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertificateParsingExceptionTest
110 CertificateParsingException tE = new CertificateParsingException(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 CertificateParsingException(msgs[i], tCause);
[all...]
H A DCertPathValidatorExceptionTest.java58 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:CertPathValidatorExceptionTest
115 CertPathValidatorException tE = new CertPathValidatorException(tCause);
117 String toS = tCause.toString();
123 assertEquals("getCause() must return ".concat(tCause.toString()), tE
124 .getCause(), tCause);
161 tCause);
163 String toS = tCause.toString();
169 assertEquals("getCause() must return ".concat(tCause.toString()), tE
170 .getCause(), tCause);
181 tE = new CertPathValidatorException(msgs[i], tCause);
[all...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
H A DInvalidKeySpecExceptionTest.java52 private static Throwable tCause = new Throwable("Throwable for exception"); field in class:InvalidKeySpecExceptionTest
109 InvalidKeySpecException tE = new InvalidKeySpecException(tCause);
111 String toS = tCause.toString();
117 assertEquals("getCause() must return ".concat(tCause.toString()), tE
118 .getCause(), tCause);
153 InvalidKeySpecException tE = new InvalidKeySpecException(null, tCause);
155 String toS = tCause.toString();
161 assertEquals("getCause() must return ".concat(tCause.toString()), tE
162 .getCause(), tCause);
173 tE = new InvalidKeySpecException(msgs[i], tCause);
[all...]
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
H A DSSLExceptionTest.java48 static Throwable tCause = new Throwable("Throwable for exception"); field in class:SSLExceptionTest
92 SSLException tE = new SSLException(tCause);
94 String toS = tCause.toString();
103 assertEquals("getCause() must return ".concat(tCause.toString()),
104 tE.getCause(), tCause);
140 SSLException tE = new SSLException(null, tCause);
142 String toS = tCause.toString();
151 assertEquals("getCause() must return ".concat(tCause.toString()),
152 tE.getCause(), tCause);
164 tE = new SSLException(msgs[i], tCause);
[all...]
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/
H A DAuthenticationExceptionTest.java47 static Throwable tCause = new Throwable("Throwable for exception"); field in class:AuthenticationExceptionTest
120 AuthenticationException tE = new AuthenticationException(null, tCause);
122 String toS = tCause.toString();
127 assertEquals("getCause() must return ".concat(tCause.toString()),
128 tE.getCause(), tCause);
139 tE = new AuthenticationException(msgs[i], tCause);
141 String toS = tCause.toString();
151 .concat(tCause.toString()), tE.getCause(), tCause);
H A DSaslExceptionTest.java45 static Throwable tCause = new Throwable("Throwable for exception"); field in class:SaslExceptionTest
118 SaslException tE = new SaslException(null, tCause);
120 String toS = tCause.toString();
129 assertEquals("getCause() must return ".concat(tCause.toString()),
130 tE.getCause(), tCause);
142 tE = new SaslException(msgs[i], tCause);
144 String toS = tCause.toString();
159 .concat(tCause.toString()), tE.getCause(), tCause);
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DBadPaddingExceptionTest.java52 static Throwable tCause = new Throwable("Throwable for exception"); field in class:BadPaddingExceptionTest
H A DIllegalBlockSizeExceptionTest.java53 static Throwable tCause = new Throwable("Throwable for exception"); field in class:IllegalBlockSizeExceptionTest
H A DNoSuchPaddingExceptionTest.java53 static Throwable tCause = new Throwable("Throwable for exception"); field in class:NoSuchPaddingExceptionTest
H A DShortBufferExceptionTest.java52 static Throwable tCause = new Throwable("Throwable for exception"); field in class:ShortBufferExceptionTest

Completed in 257 milliseconds

12