Home
last modified time | relevance | path

Searched refs:msgs (Results 1 – 25 of 126) sorted by relevance

123456

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DCertPathValidatorExceptionTest.java52 private static String[] msgs = { field in CertPathValidatorExceptionTest
76 for (int i = 0; i < msgs.length; i++) { in testCertPathValidatorException02()
77 tE = new CertPathValidatorException(msgs[i]); in testCertPathValidatorException02()
78 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathValidatorException02()
79 .getMessage(), msgs[i]); in testCertPathValidatorException02()
145 for (int i = 0; i < msgs.length; i++) { in testCertPathValidatorException07()
146 tE = new CertPathValidatorException(msgs[i], null); in testCertPathValidatorException07()
147 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathValidatorException07()
148 .getMessage(), msgs[i]); in testCertPathValidatorException07()
179 for (int i = 0; i < msgs.length; i++) { in testCertPathValidatorException09()
[all …]
DCertificateEncodingExceptionTest.java47 private static String[] msgs = { field in CertificateEncodingExceptionTest
71 for (int i = 0; i < msgs.length; i++) { in testCertificateEncodingException02()
72 tE = new CertificateEncodingException(msgs[i]); in testCertificateEncodingException02()
73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateEncodingException02()
74 .getMessage(), msgs[i]); in testCertificateEncodingException02()
142 for (int i = 0; i < msgs.length; i++) { in testCertificateEncodingException07()
143 tE = new CertificateEncodingException(msgs[i], null); in testCertificateEncodingException07()
144 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateEncodingException07()
145 .getMessage(), msgs[i]); in testCertificateEncodingException07()
176 for (int i = 0; i < msgs.length; i++) { in testCertificateEncodingException09()
[all …]
DCertificateParsingExceptionTest.java47 private static String[] msgs = { field in CertificateParsingExceptionTest
71 for (int i = 0; i < msgs.length; i++) { in testCertificateParsingException02()
72 tE = new CertificateParsingException(msgs[i]); in testCertificateParsingException02()
73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateParsingException02()
74 .getMessage(), msgs[i]); in testCertificateParsingException02()
140 for (int i = 0; i < msgs.length; i++) { in testCertificateParsingException07()
141 tE = new CertificateParsingException(msgs[i], null); in testCertificateParsingException07()
142 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateParsingException07()
143 .getMessage(), msgs[i]); in testCertificateParsingException07()
174 for (int i = 0; i < msgs.length; i++) { in testCertificateParsingException09()
[all …]
DCertPathBuilderExceptionTest.java47 private static String[] msgs = { field in CertPathBuilderExceptionTest
71 for (int i = 0; i < msgs.length; i++) { in testCertPathBuilderException02()
72 tE = new CertPathBuilderException(msgs[i]); in testCertPathBuilderException02()
73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathBuilderException02()
74 .getMessage(), msgs[i]); in testCertPathBuilderException02()
139 for (int i = 0; i < msgs.length; i++) { in testCertPathBuilderException07()
140 tE = new CertPathBuilderException(msgs[i], null); in testCertPathBuilderException07()
141 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathBuilderException07()
142 .getMessage(), msgs[i]); in testCertPathBuilderException07()
172 for (int i = 0; i < msgs.length; i++) { in testCertPathBuilderException09()
[all …]
DCRLExceptionTest.java45 private static String[] msgs = { field in CRLExceptionTest
69 for (int i = 0; i < msgs.length; i++) { in testCRLException02()
70 tE = new CRLException(msgs[i]); in testCRLException02()
71 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCRLException02()
72 .getMessage(), msgs[i]); in testCRLException02()
134 for (int i = 0; i < msgs.length; i++) { in testCRLException07()
135 tE = new CRLException(msgs[i], null); in testCRLException07()
136 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCRLException07()
137 .getMessage(), msgs[i]); in testCRLException07()
167 for (int i = 0; i < msgs.length; i++) { in testCRLException09()
[all …]
DCertificateExceptionTest.java46 private static String[] msgs = { field in CertificateExceptionTest
70 for (int i = 0; i < msgs.length; i++) { in testCertificateException02()
71 tE = new CertificateException(msgs[i]); in testCertificateException02()
72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateException02()
73 .getMessage(), msgs[i]); in testCertificateException02()
138 for (int i = 0; i < msgs.length; i++) { in testCertificateException07()
139 tE = new CertificateException(msgs[i], null); in testCertificateException07()
140 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateException07()
141 .getMessage(), msgs[i]); in testCertificateException07()
171 for (int i = 0; i < msgs.length; i++) { in testCertificateException09()
[all …]
DCertStoreExceptionTest.java45 private static String[] msgs = { field in CertStoreExceptionTest
69 for (int i = 0; i < msgs.length; i++) { in testCertStoreException02()
70 tE = new CertStoreException(msgs[i]); in testCertStoreException02()
71 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertStoreException02()
72 .getMessage(), msgs[i]); in testCertStoreException02()
136 for (int i = 0; i < msgs.length; i++) { in testCertStoreException07()
137 tE = new CertStoreException(msgs[i], null); in testCertStoreException07()
138 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertStoreException07()
139 .getMessage(), msgs[i]); in testCertStoreException07()
169 for (int i = 0; i < msgs.length; i++) { in testCertStoreException09()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DNoSuchAlgorithmExceptionTest.java47 private static String[] msgs = { field in NoSuchAlgorithmExceptionTest
71 for (int i = 0; i < msgs.length; i++) { in testNoSuchAlgorithmException02()
72 tE = new NoSuchAlgorithmException(msgs[i]); in testNoSuchAlgorithmException02()
73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testNoSuchAlgorithmException02()
74 .getMessage(), msgs[i]); in testNoSuchAlgorithmException02()
139 for (int i = 0; i < msgs.length; i++) { in testNoSuchAlgorithmException07()
140 tE = new NoSuchAlgorithmException(msgs[i], null); in testNoSuchAlgorithmException07()
141 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testNoSuchAlgorithmException07()
142 .getMessage(), msgs[i]); in testNoSuchAlgorithmException07()
172 for (int i = 0; i < msgs.length; i++) { in testNoSuchAlgorithmException09()
[all …]
DProviderExceptionTest.java46 private static String[] msgs = { field in ProviderExceptionTest
70 for (int i = 0; i < msgs.length; i++) { in testProviderException02()
71 tE = new ProviderException(msgs[i]); in testProviderException02()
72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testProviderException02()
73 .getMessage(), msgs[i]); in testProviderException02()
136 for (int i = 0; i < msgs.length; i++) { in testProviderException07()
137 tE = new ProviderException(msgs[i], null); in testProviderException07()
138 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testProviderException07()
139 .getMessage(), msgs[i]); in testProviderException07()
169 for (int i = 0; i < msgs.length; i++) { in testProviderException09()
[all …]
DGeneralSecurityExceptionTest.java47 private static String[] msgs = { field in GeneralSecurityExceptionTest
71 for (int i = 0; i < msgs.length; i++) { in testGeneralSecurityException02()
72 tE = new GeneralSecurityException(msgs[i]); in testGeneralSecurityException02()
73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testGeneralSecurityException02()
74 .getMessage(), msgs[i]); in testGeneralSecurityException02()
139 for (int i = 0; i < msgs.length; i++) { in testGeneralSecurityException07()
140 tE = new GeneralSecurityException(msgs[i], null); in testGeneralSecurityException07()
141 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testGeneralSecurityException07()
142 .getMessage(), msgs[i]); in testGeneralSecurityException07()
172 for (int i = 0; i < msgs.length; i++) { in testGeneralSecurityException09()
[all …]
DKeyStoreExceptionTest.java46 private static String[] msgs = { field in KeyStoreExceptionTest
70 for (int i = 0; i < msgs.length; i++) { in testKeyStoreException02()
71 tE = new KeyStoreException(msgs[i]); in testKeyStoreException02()
72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testKeyStoreException02()
73 .getMessage(), msgs[i]); in testKeyStoreException02()
136 for (int i = 0; i < msgs.length; i++) { in testKeyStoreException07()
137 tE = new KeyStoreException(msgs[i], null); in testKeyStoreException07()
138 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testKeyStoreException07()
139 .getMessage(), msgs[i]); in testKeyStoreException07()
169 for (int i = 0; i < msgs.length; i++) { in testKeyStoreException09()
[all …]
DKeyExceptionTest.java46 private static String[] msgs = { field in KeyExceptionTest
70 for (int i = 0; i < msgs.length; i++) { in testKeyException02()
71 tE = new KeyException(msgs[i]); in testKeyException02()
72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testKeyException02()
73 .getMessage(), msgs[i]); in testKeyException02()
135 for (int i = 0; i < msgs.length; i++) { in testKeyException07()
136 tE = new KeyException(msgs[i], null); in testKeyException07()
137 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testKeyException07()
138 .getMessage(), msgs[i]); in testKeyException07()
168 for (int i = 0; i < msgs.length; i++) { in testKeyException09()
[all …]
DKeyManagementExceptionTest.java47 private static String[] msgs = { field in KeyManagementExceptionTest
71 for (int i = 0; i < msgs.length; i++) { in testKeyManagementException02()
72 tE = new KeyManagementException(msgs[i]); in testKeyManagementException02()
73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testKeyManagementException02()
74 .getMessage(), msgs[i]); in testKeyManagementException02()
139 for (int i = 0; i < msgs.length; i++) { in testKeyManagementException07()
140 tE = new KeyManagementException(msgs[i], null); in testKeyManagementException07()
141 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testKeyManagementException07()
142 .getMessage(), msgs[i]); in testKeyManagementException07()
172 for (int i = 0; i < msgs.length; i++) { in testKeyManagementException09()
[all …]
DSignatureExceptionTest.java46 private static String[] msgs = { field in SignatureExceptionTest
70 for (int i = 0; i < msgs.length; i++) { in testSignatureException02()
71 tE = new SignatureException(msgs[i]); in testSignatureException02()
72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testSignatureException02()
73 .getMessage(), msgs[i]); in testSignatureException02()
137 for (int i = 0; i < msgs.length; i++) { in testSignatureException07()
138 tE = new SignatureException(msgs[i], null); in testSignatureException07()
139 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testSignatureException07()
140 .getMessage(), msgs[i]); in testSignatureException07()
170 for (int i = 0; i < msgs.length; i++) { in testSignatureException09()
[all …]
DDigestExceptionTest.java46 private static String[] msgs = { field in DigestExceptionTest
70 for (int i = 0; i < msgs.length; i++) { in testDigestException02()
71 tE = new DigestException(msgs[i]); in testDigestException02()
72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testDigestException02()
73 .getMessage(), msgs[i]); in testDigestException02()
135 for (int i = 0; i < msgs.length; i++) { in testDigestException07()
136 tE = new DigestException(msgs[i], null); in testDigestException07()
137 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testDigestException07()
138 .getMessage(), msgs[i]); in testDigestException07()
168 for (int i = 0; i < msgs.length; i++) { in testDigestException09()
[all …]
DInvalidAlgorithmParameterExceptionTest.java47 private static String[] msgs = { field in InvalidAlgorithmParameterExceptionTest
72 for (int i = 0; i < msgs.length; i++) { in testInvalidAlgorithmParameterException02()
73 tE = new InvalidAlgorithmParameterException(msgs[i]); in testInvalidAlgorithmParameterException02()
74 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidAlgorithmParameterException02()
75 .getMessage(), msgs[i]); in testInvalidAlgorithmParameterException02()
146 for (int i = 0; i < msgs.length; i++) { in testInvalidAlgorithmParameterException07()
147 tE = new InvalidAlgorithmParameterException(msgs[i], null); in testInvalidAlgorithmParameterException07()
148 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidAlgorithmParameterException07()
149 .getMessage(), msgs[i]); in testInvalidAlgorithmParameterException07()
182 for (int i = 0; i < msgs.length; i++) { in testInvalidAlgorithmParameterException09()
[all …]
DInvalidKeyExceptionTest.java46 private static String[] msgs = { field in InvalidKeyExceptionTest
70 for (int i = 0; i < msgs.length; i++) { in testInvalidKeyException02()
71 tE = new InvalidKeyException(msgs[i]); in testInvalidKeyException02()
72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidKeyException02()
73 .getMessage(), msgs[i]); in testInvalidKeyException02()
137 for (int i = 0; i < msgs.length; i++) { in testInvalidKeyException07()
138 tE = new InvalidKeyException(msgs[i], null); in testInvalidKeyException07()
139 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidKeyException07()
140 .getMessage(), msgs[i]); in testInvalidKeyException07()
170 for (int i = 0; i < msgs.length; i++) { in testInvalidKeyException09()
[all …]
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DSSLExceptionTest.java42 static String[] msgs = { field in SSLExceptionTest
56 for (int i = 0; i < msgs.length; i++) { in testSSLException01()
57 tE = new SSLException(msgs[i]); in testSSLException01()
58 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testSSLException01()
59 .getMessage(), msgs[i]); in testSSLException01()
125 for (int i = 0; i < msgs.length; i++) { in testSSLException06()
126 tE = new SSLException(msgs[i], null); in testSSLException06()
127 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testSSLException06()
128 .getMessage(), msgs[i]); in testSSLException06()
162 for (int i = 0; i < msgs.length; i++) { in testSSLException08()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DInvalidKeySpecExceptionTest.java46 private static String[] msgs = { field in InvalidKeySpecExceptionTest
70 for (int i = 0; i < msgs.length; i++) { in testInvalidKeySpecException02()
71 tE = new InvalidKeySpecException(msgs[i]); in testInvalidKeySpecException02()
72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidKeySpecException02()
73 .getMessage(), msgs[i]); in testInvalidKeySpecException02()
138 for (int i = 0; i < msgs.length; i++) { in testInvalidKeySpecException07()
139 tE = new InvalidKeySpecException(msgs[i], null); in testInvalidKeySpecException07()
140 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidKeySpecException07()
141 .getMessage(), msgs[i]); in testInvalidKeySpecException07()
171 for (int i = 0; i < msgs.length; i++) { in testInvalidKeySpecException09()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/serialization/
DCertPathValidatorExceptionTest.java38 public static String[] msgs = { field in CertPathValidatorExceptionTest
43 Exception cause = new Exception(msgs[1]); in getData()
45 msgs[0], cause); in getData()
50 new CertPathValidatorException(msgs[1]), in getData()
53 new CertPathValidatorException(msgs[1], dExc), in getData()
54 new CertPathValidatorException(msgs[1], dExc, null, -1) }; in getData()
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/
DSSLExceptionTest.java35 public static String[] msgs = { field in SSLExceptionTest
42 Exception cause = new Exception(msgs[1]); in getData()
43 SSLException excSSL = new SSLException(msgs[0]); in getData()
44 return new Object[] { new SSLException(msg), new SSLException(msgs[1]), in getData()
46 new SSLException(msgs[1], cause) }; in getData()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
DSignatureExceptionTest.java35 public static String[] msgs = { field in SignatureExceptionTest
40 Exception cause = new Exception(msgs[1]); in getData()
41 SignatureException dExc = new SignatureException(msgs[0], cause); in getData()
45 new SignatureException(msgs[1]), in getData()
47 new SignatureException(msgs[1], dExc) }; in getData()
DKeyExceptionTest.java35 public static String[] msgs = { field in KeyExceptionTest
40 Exception cause = new Exception(msgs[1]); in getData()
41 KeyException dExc = new KeyException(msgs[0], cause); in getData()
45 new KeyException(msgs[1]), in getData()
47 new KeyException(msgs[1], dExc) }; in getData()
DInvalidAlgorithmParameterExceptionTest.java35 public static String[] msgs = { field in InvalidAlgorithmParameterExceptionTest
40 Exception cause = new Exception(msgs[1]); in getData()
41 … InvalidAlgorithmParameterException dExc = new InvalidAlgorithmParameterException(msgs[0], cause); in getData()
45 new InvalidAlgorithmParameterException(msgs[1]), in getData()
47 new InvalidAlgorithmParameterException(msgs[1], dExc) }; in getData()
DKeyManagementExceptionTest.java35 public static String[] msgs = { field in KeyManagementExceptionTest
40 Exception cause = new Exception(msgs[1]); in getData()
41 KeyManagementException dExc = new KeyManagementException(msgs[0], cause); in getData()
45 new KeyManagementException(msgs[1]), in getData()
47 new KeyManagementException(msgs[1], dExc) }; in getData()

123456