/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 | 53 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
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 | 51 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
CertPathBuilderExceptionTest.java | 53 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
CertStoreExceptionTest.java | 51 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
CertificateEncodingExceptionTest.java | 53 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
CertificateExceptionTest.java | 52 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
CertificateParsingExceptionTest.java | 53 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
InvalidKeySpecExceptionTest.java | 52 private static Throwable tCause = new Throwable("Throwable for exception"); 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/ |
SSLExceptionTest.java | 48 static Throwable tCause = new Throwable("Throwable for exception"); 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...] |
/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...] |
KeyStoreExceptionTest.java | 40 private static Throwable tCause = new Throwable("Throwable for exception"); 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...] |