/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLExceptionTest.java | 35 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestExceptionTest.java | 51 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
GeneralSecurityExceptionTest.java | 52 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
InvalidAlgorithmParameterExceptionTest.java | 52 private static Throwable tCause = new Throwable("Throwable for exception"); 113 tCause); 115 String toS = tCause.toString(); 121 assertEquals("getCause() must return ".concat(tCause.toString()), tE 122 .getCause(), tCause); 162 null, tCause); 164 String toS = tCause.toString(); 170 assertEquals("getCause() must return ".concat(tCause.toString()), tE 171 .getCause(), tCause); 183 tE = new InvalidAlgorithmParameterException(msgs[i], tCause); [all...] |
InvalidKeyExceptionTest.java | 51 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
KeyExceptionTest.java | 51 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
KeyManagementExceptionTest.java | 52 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
KeyStoreExceptionTest.java | 51 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
NoSuchAlgorithmExceptionTest.java | 52 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
ProviderExceptionTest.java | 51 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
SignatureExceptionTest.java | 51 private static Throwable tCause = new Throwable("Throwable for exception"); 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/ |
CRLExceptionTest.java | 50 private static Throwable tCause = new Throwable("Throwable for exception"); 104 CRLException tE = new CRLException(tCause); 106 String toS = tCause.toString(); 112 assertEquals("getCause() must return ".concat(tCause.toString()), tE 113 .getCause(), tCause); 148 CRLException tE = new CRLException(null, tCause); 150 String toS = tCause.toString(); 156 assertEquals("getCause() must return ".concat(tCause.toString()), tE 157 .getCause(), tCause); 168 tE = new CRLException(msgs[i], tCause); [all...] |
CertPathBuilderExceptionTest.java | 52 private static Throwable tCause = new Throwable("Throwable for exception"); 109 CertPathBuilderException tE = new CertPathBuilderException(tCause); 111 String toS = tCause.toString(); 117 assertEquals("getCause() must return ".concat(tCause.toString()), tE 118 .getCause(), tCause); 153 CertPathBuilderException tE = new CertPathBuilderException(null, tCause); 155 String toS = tCause.toString(); 161 assertEquals("getCause() must return ".concat(tCause.toString()), tE 162 .getCause(), tCause); 173 tE = new CertPathBuilderException(msgs[i], tCause); [all...] |
CertStoreExceptionTest.java | 50 private static Throwable tCause = new Throwable("Throwable for exception"); 106 CertStoreException tE = new CertStoreException(tCause); 108 String toS = tCause.toString(); 114 assertEquals("getCause() must return ".concat(tCause.toString()), tE 115 .getCause(), tCause); 150 CertStoreException tE = new CertStoreException(null, tCause); 152 String toS = tCause.toString(); 158 assertEquals("getCause() must return ".concat(tCause.toString()), tE 159 .getCause(), tCause); 170 tE = new CertStoreException(msgs[i], tCause); [all...] |
CertificateEncodingExceptionTest.java | 52 private static Throwable tCause = new Throwable("Throwable for exception"); 111 tCause); 113 String toS = tCause.toString(); 119 assertEquals("getCause() must return ".concat(tCause.toString()), tE 120 .getCause(), tCause); 157 null, tCause); 159 String toS = tCause.toString(); 165 assertEquals("getCause() must return ".concat(tCause.toString()), tE 166 .getCause(), tCause); 177 tE = new CertificateEncodingException(msgs[i], tCause); [all...] |
CertificateExceptionTest.java | 51 private static Throwable tCause = new Throwable("Throwable for exception"); 108 CertificateException tE = new CertificateException(tCause); 110 String toS = tCause.toString(); 116 assertEquals("getCause() must return ".concat(tCause.toString()), tE 117 .getCause(), tCause); 152 CertificateException tE = new CertificateException(null, tCause); 154 String toS = tCause.toString(); 160 assertEquals("getCause() must return ".concat(tCause.toString()), tE 161 .getCause(), tCause); 172 tE = new CertificateException(msgs[i], tCause); [all...] |
CertificateParsingExceptionTest.java | 52 private static Throwable tCause = new Throwable("Throwable for exception"); 109 CertificateParsingException tE = new CertificateParsingException(tCause); 111 String toS = tCause.toString(); 117 assertEquals("getCause() must return ".concat(tCause.toString()), tE 118 .getCause(), tCause); 155 tCause); 157 String toS = tCause.toString(); 163 assertEquals("getCause() must return ".concat(tCause.toString()), tE 164 .getCause(), tCause); 175 tE = new CertificateParsingException(msgs[i], tCause); [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
InvalidKeySpecExceptionTest.java | 51 private static Throwable tCause = new Throwable("Throwable for exception"); 108 InvalidKeySpecException tE = new InvalidKeySpecException(tCause); 110 String toS = tCause.toString(); 116 assertEquals("getCause() must return ".concat(tCause.toString()), tE 117 .getCause(), tCause); 152 InvalidKeySpecException tE = new InvalidKeySpecException(null, tCause); 154 String toS = tCause.toString(); 160 assertEquals("getCause() must return ".concat(tCause.toString()), tE 161 .getCause(), tCause); 172 tE = new InvalidKeySpecException(msgs[i], tCause); [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
SSLExceptionTest.java | 47 static Throwable tCause = new Throwable("Throwable for exception"); 91 SSLException tE = new SSLException(tCause); 93 String toS = tCause.toString(); 102 assertEquals("getCause() must return ".concat(tCause.toString()), 103 tE.getCause(), tCause); 139 SSLException tE = new SSLException(null, tCause); 141 String toS = tCause.toString(); 150 assertEquals("getCause() must return ".concat(tCause.toString()), 151 tE.getCause(), tCause); 163 tE = new SSLException(msgs[i], tCause); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestExceptionTest.java | 40 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
GeneralSecurityExceptionTest.java | 41 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
InvalidAlgorithmParameterExceptionTest.java | 41 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
InvalidKeyExceptionTest.java | 40 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
KeyExceptionTest.java | 40 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
KeyManagementExceptionTest.java | 41 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |