Home
last modified time | relevance | path

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

123456

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DCertPathValidatorExceptionTest.java53 private static String[] msgs = { field in CertPathValidatorExceptionTest
77 for (int i = 0; i < msgs.length; i++) { in testCertPathValidatorException02()
78 tE = new CertPathValidatorException(msgs[i]); in testCertPathValidatorException02()
79 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathValidatorException02()
80 .getMessage(), msgs[i]); in testCertPathValidatorException02()
146 for (int i = 0; i < msgs.length; i++) { in testCertPathValidatorException07()
147 tE = new CertPathValidatorException(msgs[i], null); in testCertPathValidatorException07()
148 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathValidatorException07()
149 .getMessage(), msgs[i]); in testCertPathValidatorException07()
180 for (int i = 0; i < msgs.length; i++) { in testCertPathValidatorException09()
[all …]
DCertStoreExceptionTest.java46 private static String[] msgs = { field in CertStoreExceptionTest
70 for (int i = 0; i < msgs.length; i++) { in testCertStoreException02()
71 tE = new CertStoreException(msgs[i]); in testCertStoreException02()
72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertStoreException02()
73 .getMessage(), msgs[i]); in testCertStoreException02()
137 for (int i = 0; i < msgs.length; i++) { in testCertStoreException07()
138 tE = new CertStoreException(msgs[i], null); in testCertStoreException07()
139 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertStoreException07()
140 .getMessage(), msgs[i]); in testCertStoreException07()
170 for (int i = 0; i < msgs.length; i++) { in testCertStoreException09()
[all …]
DCRLExceptionTest.java46 private static String[] msgs = { field in CRLExceptionTest
70 for (int i = 0; i < msgs.length; i++) { in testCRLException02()
71 tE = new CRLException(msgs[i]); in testCRLException02()
72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCRLException02()
73 .getMessage(), msgs[i]); in testCRLException02()
135 for (int i = 0; i < msgs.length; i++) { in testCRLException07()
136 tE = new CRLException(msgs[i], null); in testCRLException07()
137 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCRLException07()
138 .getMessage(), msgs[i]); in testCRLException07()
168 for (int i = 0; i < msgs.length; i++) { in testCRLException09()
[all …]
DCertificateParsingExceptionTest.java48 private static String[] msgs = { field in CertificateParsingExceptionTest
72 for (int i = 0; i < msgs.length; i++) { in testCertificateParsingException02()
73 tE = new CertificateParsingException(msgs[i]); in testCertificateParsingException02()
74 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateParsingException02()
75 .getMessage(), msgs[i]); in testCertificateParsingException02()
141 for (int i = 0; i < msgs.length; i++) { in testCertificateParsingException07()
142 tE = new CertificateParsingException(msgs[i], null); in testCertificateParsingException07()
143 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateParsingException07()
144 .getMessage(), msgs[i]); in testCertificateParsingException07()
175 for (int i = 0; i < msgs.length; i++) { in testCertificateParsingException09()
[all …]
DCertificateExceptionTest.java47 private static String[] msgs = { field in CertificateExceptionTest
71 for (int i = 0; i < msgs.length; i++) { in testCertificateException02()
72 tE = new CertificateException(msgs[i]); in testCertificateException02()
73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateException02()
74 .getMessage(), msgs[i]); in testCertificateException02()
139 for (int i = 0; i < msgs.length; i++) { in testCertificateException07()
140 tE = new CertificateException(msgs[i], null); in testCertificateException07()
141 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateException07()
142 .getMessage(), msgs[i]); in testCertificateException07()
172 for (int i = 0; i < msgs.length; i++) { in testCertificateException09()
[all …]
DCertificateEncodingExceptionTest.java48 private static String[] msgs = { field in CertificateEncodingExceptionTest
72 for (int i = 0; i < msgs.length; i++) { in testCertificateEncodingException02()
73 tE = new CertificateEncodingException(msgs[i]); in testCertificateEncodingException02()
74 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateEncodingException02()
75 .getMessage(), msgs[i]); in testCertificateEncodingException02()
143 for (int i = 0; i < msgs.length; i++) { in testCertificateEncodingException07()
144 tE = new CertificateEncodingException(msgs[i], null); in testCertificateEncodingException07()
145 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateEncodingException07()
146 .getMessage(), msgs[i]); in testCertificateEncodingException07()
177 for (int i = 0; i < msgs.length; i++) { in testCertificateEncodingException09()
[all …]
DCertPathBuilderExceptionTest.java48 private static String[] msgs = { field in CertPathBuilderExceptionTest
72 for (int i = 0; i < msgs.length; i++) { in testCertPathBuilderException02()
73 tE = new CertPathBuilderException(msgs[i]); in testCertPathBuilderException02()
74 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathBuilderException02()
75 .getMessage(), msgs[i]); in testCertPathBuilderException02()
140 for (int i = 0; i < msgs.length; i++) { in testCertPathBuilderException07()
141 tE = new CertPathBuilderException(msgs[i], null); in testCertPathBuilderException07()
142 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathBuilderException07()
143 .getMessage(), msgs[i]); in testCertPathBuilderException07()
173 for (int i = 0; i < msgs.length; i++) { in testCertPathBuilderException09()
[all …]
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/
DAuthenticationExceptionTest.java42 static String[] msgs = { field in AuthenticationExceptionTest
69 for (int i = 0; i < msgs.length; i++) { in testAuthenticationException02()
70 tE = new AuthenticationException(msgs[i]); in testAuthenticationException02()
71 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testAuthenticationException02()
72 .getMessage(), msgs[i]); in testAuthenticationException02()
106 for (int i = 0; i < msgs.length; i++) { in testAuthenticationException05()
107 tE = new AuthenticationException(msgs[i], null); in testAuthenticationException05()
108 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testAuthenticationException05()
109 .getMessage(), msgs[i]); in testAuthenticationException05()
138 for (int i = 0; i < msgs.length; i++) { in testAuthenticationException07()
[all …]
DSaslExceptionTest.java32 static String[] msgs = { field in SaslExceptionTest
67 for (int i = 0; i < msgs.length; i++) { in testSaslException02()
68 tE = new SaslException(msgs[i]); in testSaslException02()
69 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testSaslException02()
70 .getMessage(), msgs[i]); in testSaslException02()
104 for (int i = 0; i < msgs.length; i++) { in testSaslException05()
105 tE = new SaslException(msgs[i], null); in testSaslException05()
106 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testSaslException05()
107 .getMessage(), msgs[i]); in testSaslException05()
141 for (int i = 0; i < msgs.length; i++) { in testSaslException07()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
DInvalidAlgorithmParameterExceptionTest.java48 private static String[] msgs = { field in InvalidAlgorithmParameterExceptionTest
73 for (int i = 0; i < msgs.length; i++) { in testInvalidAlgorithmParameterException02()
74 tE = new InvalidAlgorithmParameterException(msgs[i]); in testInvalidAlgorithmParameterException02()
75 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidAlgorithmParameterException02()
76 .getMessage(), msgs[i]); in testInvalidAlgorithmParameterException02()
147 for (int i = 0; i < msgs.length; i++) { in testInvalidAlgorithmParameterException07()
148 tE = new InvalidAlgorithmParameterException(msgs[i], null); in testInvalidAlgorithmParameterException07()
149 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidAlgorithmParameterException07()
150 .getMessage(), msgs[i]); in testInvalidAlgorithmParameterException07()
183 for (int i = 0; i < msgs.length; i++) { in testInvalidAlgorithmParameterException09()
[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 …]
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 …]
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 …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DInvalidKeySpecExceptionTest.java47 private static String[] msgs = { field in InvalidKeySpecExceptionTest
71 for (int i = 0; i < msgs.length; i++) { in testInvalidKeySpecException02()
72 tE = new InvalidKeySpecException(msgs[i]); in testInvalidKeySpecException02()
73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidKeySpecException02()
74 .getMessage(), msgs[i]); in testInvalidKeySpecException02()
139 for (int i = 0; i < msgs.length; i++) { in testInvalidKeySpecException07()
140 tE = new InvalidKeySpecException(msgs[i], null); in testInvalidKeySpecException07()
141 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidKeySpecException07()
142 .getMessage(), msgs[i]); in testInvalidKeySpecException07()
172 for (int i = 0; i < msgs.length; i++) { in testInvalidKeySpecException09()
[all …]
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DSSLExceptionTest.java43 static String[] msgs = { field in SSLExceptionTest
57 for (int i = 0; i < msgs.length; i++) { in testSSLException01()
58 tE = new SSLException(msgs[i]); in testSSLException01()
59 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testSSLException01()
60 .getMessage(), msgs[i]); in testSSLException01()
126 for (int i = 0; i < msgs.length; i++) { in testSSLException06()
127 tE = new SSLException(msgs[i], null); in testSSLException06()
128 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testSSLException06()
129 .getMessage(), msgs[i]); in testSSLException06()
163 for (int i = 0; i < msgs.length; i++) { in testSSLException08()
[all …]
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/serialization/
DRealmChoiceCallbackTest.java38 public static String[] msgs = { field in RealmChoiceCallbackTest
49 new RealmChoiceCallback(msgs[0], msgs, 0, true), in getData()
50 new RealmChoiceCallback(msgs[1], msgs, 1, true), in getData()
51 new RealmChoiceCallback(msgs[1], msgs, 0, false), in getData()
52 new RealmChoiceCallback(msgs[2], msgs, 0, false) in getData()
60 rc.setSelectedIndex(msgs.length - 1); in getData()
DRealmCallbackTest.java38 public static String[] msgs = { field in RealmCallbackTest
47 new RealmCallback(msgs[0], msgs[1]), in getData()
48 new RealmCallback(msgs[1], msgs[0]), in getData()
49 new RealmCallback(msgs[1], msgs[1]) in getData()
/external/dropbear/libtommath/
Dbn_error.c21 } msgs[] = { variable
33 for (x = 0; x < (int)(sizeof(msgs) / sizeof(msgs[0])); x++) { in mp_error_to_string()
34 if (msgs[x].code == code) { in mp_error_to_string()
35 return msgs[x].msg; in mp_error_to_string()
/external/webkit/Tools/Scripts/webkitpy/common/system/
Dstack_utils_unittest.py52 msgs = []
55 msgs.append(msg)
60 self.assertTrue(msgs)
63 msgs = []
66 msgs.append(msg)
72 self.assertTrue(msgs)

123456