/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateExceptionTest.java | 47 private static String[] msgs = { field in class:CertificateExceptionTest 71 for (int i = 0; i < msgs.length; i++) { 72 tE = new CertificateException(msgs[i]); 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 74 .getMessage(), msgs[i]); 139 for (int i = 0; i < msgs.length; i++) { 140 tE = new CertificateException(msgs[i], null); 141 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 142 .getMessage(), msgs[i]); 172 for (int i = 0; i < msgs.length; i++) [all...] |
CertificateParsingExceptionTest.java | 48 private static String[] msgs = { field in class:CertificateParsingExceptionTest 72 for (int i = 0; i < msgs.length; i++) { 73 tE = new CertificateParsingException(msgs[i]); 74 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 75 .getMessage(), msgs[i]); 141 for (int i = 0; i < msgs.length; i++) { 142 tE = new CertificateParsingException(msgs[i], null); 143 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 144 .getMessage(), msgs[i]); 175 for (int i = 0; i < msgs.length; i++) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
InvalidKeySpecExceptionTest.java | 47 private static String[] msgs = { field in class:InvalidKeySpecExceptionTest 71 for (int i = 0; i < msgs.length; i++) { 72 tE = new InvalidKeySpecException(msgs[i]); 73 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 74 .getMessage(), msgs[i]); 139 for (int i = 0; i < msgs.length; i++) { 140 tE = new InvalidKeySpecException(msgs[i], null); 141 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 142 .getMessage(), msgs[i]); 172 for (int i = 0; i < msgs.length; i++) [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
SSLExceptionTest.java | 43 static String[] msgs = { field in class:SSLExceptionTest 57 for (int i = 0; i < msgs.length; i++) { 58 tE = new SSLException(msgs[i]); 59 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 60 .getMessage(), msgs[i]); 126 for (int i = 0; i < msgs.length; i++) { 127 tE = new SSLException(msgs[i], null); 128 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 129 .getMessage(), msgs[i]); 163 for (int i = 0; i < msgs.length; i++) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestExceptionTest.java | 35 private static String[] msgs = { field in class:DigestExceptionTest 59 for (int i = 0; i < msgs.length; i++) { 60 tE = new DigestException(msgs[i]); 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 62 .getMessage(), msgs[i]); 124 for (int i = 0; i < msgs.length; i++) { 125 tE = new DigestException(msgs[i], null); 126 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 127 .getMessage(), msgs[i]); 157 for (int i = 0; i < msgs.length; i++) [all...] |
GeneralSecurityExceptionTest.java | 36 private static String[] msgs = { field in class:GeneralSecurityExceptionTest 60 for (int i = 0; i < msgs.length; i++) { 61 tE = new GeneralSecurityException(msgs[i]); 62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 63 .getMessage(), msgs[i]); 128 for (int i = 0; i < msgs.length; i++) { 129 tE = new GeneralSecurityException(msgs[i], null); 130 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 131 .getMessage(), msgs[i]); 161 for (int i = 0; i < msgs.length; i++) [all...] |
InvalidAlgorithmParameterExceptionTest.java | 36 private static String[] msgs = { field in class:InvalidAlgorithmParameterExceptionTest 61 for (int i = 0; i < msgs.length; i++) { 62 tE = new InvalidAlgorithmParameterException(msgs[i]); 63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 64 .getMessage(), msgs[i]); 135 for (int i = 0; i < msgs.length; i++) { 136 tE = new InvalidAlgorithmParameterException(msgs[i], null); 137 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 138 .getMessage(), msgs[i]); 171 for (int i = 0; i < msgs.length; i++) [all...] |
InvalidKeyExceptionTest.java | 35 private static String[] msgs = { field in class:InvalidKeyExceptionTest 59 for (int i = 0; i < msgs.length; i++) { 60 tE = new InvalidKeyException(msgs[i]); 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 62 .getMessage(), msgs[i]); 126 for (int i = 0; i < msgs.length; i++) { 127 tE = new InvalidKeyException(msgs[i], null); 128 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 129 .getMessage(), msgs[i]); 159 for (int i = 0; i < msgs.length; i++) [all...] |
KeyExceptionTest.java | 35 private static String[] msgs = { field in class:KeyExceptionTest 59 for (int i = 0; i < msgs.length; i++) { 60 tE = new KeyException(msgs[i]); 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 62 .getMessage(), msgs[i]); 124 for (int i = 0; i < msgs.length; i++) { 125 tE = new KeyException(msgs[i], null); 126 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 127 .getMessage(), msgs[i]); 157 for (int i = 0; i < msgs.length; i++) [all...] |
KeyManagementExceptionTest.java | 36 private static String[] msgs = { field in class:KeyManagementExceptionTest 60 for (int i = 0; i < msgs.length; i++) { 61 tE = new KeyManagementException(msgs[i]); 62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 63 .getMessage(), msgs[i]); 128 for (int i = 0; i < msgs.length; i++) { 129 tE = new KeyManagementException(msgs[i], null); 130 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 131 .getMessage(), msgs[i]); 161 for (int i = 0; i < msgs.length; i++) [all...] |
KeyStoreExceptionTest.java | 35 private static String[] msgs = { field in class:KeyStoreExceptionTest 59 for (int i = 0; i < msgs.length; i++) { 60 tE = new KeyStoreException(msgs[i]); 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 62 .getMessage(), msgs[i]); 125 for (int i = 0; i < msgs.length; i++) { 126 tE = new KeyStoreException(msgs[i], null); 127 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 128 .getMessage(), msgs[i]); 158 for (int i = 0; i < msgs.length; i++) [all...] |
NoSuchAlgorithmExceptionTest.java | 36 private static String[] msgs = { field in class:NoSuchAlgorithmExceptionTest 60 for (int i = 0; i < msgs.length; i++) { 61 tE = new NoSuchAlgorithmException(msgs[i]); 62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 63 .getMessage(), msgs[i]); 128 for (int i = 0; i < msgs.length; i++) { 129 tE = new NoSuchAlgorithmException(msgs[i], null); 130 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 131 .getMessage(), msgs[i]); 161 for (int i = 0; i < msgs.length; i++) [all...] |
ProviderExceptionTest.java | 35 private static String[] msgs = { field in class:ProviderExceptionTest 59 for (int i = 0; i < msgs.length; i++) { 60 tE = new ProviderException(msgs[i]); 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 62 .getMessage(), msgs[i]); 125 for (int i = 0; i < msgs.length; i++) { 126 tE = new ProviderException(msgs[i], null); 127 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 128 .getMessage(), msgs[i]); 158 for (int i = 0; i < msgs.length; i++) [all...] |
SignatureExceptionTest.java | 35 private static String[] msgs = { field in class:SignatureExceptionTest 59 for (int i = 0; i < msgs.length; i++) { 60 tE = new SignatureException(msgs[i]); 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 62 .getMessage(), msgs[i]); 126 for (int i = 0; i < msgs.length; i++) { 127 tE = new SignatureException(msgs[i], null); 128 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 129 .getMessage(), msgs[i]); 159 for (int i = 0; i < msgs.length; i++) [all...] |
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLExceptionTest.java | 30 private static String[] msgs = { field in class:SSLExceptionTest 44 for (int i = 0; i < msgs.length; i++) { 45 sE = new SSLException(msgs[i]); 46 assertEquals("getMessage() must return: ".concat(msgs[i]), sE.getMessage(), msgs[i]); 108 for (int i = 0; i < msgs.length; i++) { 109 sE = new SSLException(msgs[i], null); 110 assertEquals("getMessage() must return: ".concat(msgs[i]), sE 111 .getMessage(), msgs[i]); 141 for (int i = 0; i < msgs.length; i++) [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CRLExceptionTest.java | 35 private static String[] msgs = { field in class:CRLExceptionTest 59 for (int i = 0; i < msgs.length; i++) { 60 tE = new CRLException(msgs[i]); 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 62 .getMessage(), msgs[i]); 124 for (int i = 0; i < msgs.length; i++) { 125 tE = new CRLException(msgs[i], null); 126 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 127 .getMessage(), msgs[i]); 157 for (int i = 0; i < msgs.length; i++) [all...] |
CertPathBuilderExceptionTest.java | 37 private static String[] msgs = { field in class:CertPathBuilderExceptionTest 61 for (int i = 0; i < msgs.length; i++) { 62 tE = new CertPathBuilderException(msgs[i]); 63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 64 .getMessage(), msgs[i]); 129 for (int i = 0; i < msgs.length; i++) { 130 tE = new CertPathBuilderException(msgs[i], null); 131 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 132 .getMessage(), msgs[i]); 162 for (int i = 0; i < msgs.length; i++) [all...] |
CertStoreExceptionTest.java | 35 private static String[] msgs = { field in class:CertStoreExceptionTest 59 for (int i = 0; i < msgs.length; i++) { 60 tE = new CertStoreException(msgs[i]); 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 62 .getMessage(), msgs[i]); 126 for (int i = 0; i < msgs.length; i++) { 127 tE = new CertStoreException(msgs[i], null); 128 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 129 .getMessage(), msgs[i]); 159 for (int i = 0; i < msgs.length; i++) [all...] |
CertificateEncodingExceptionTest.java | 37 private static String[] msgs = { field in class:CertificateEncodingExceptionTest 61 for (int i = 0; i < msgs.length; i++) { 62 tE = new CertificateEncodingException(msgs[i]); 63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 64 .getMessage(), msgs[i]); 132 for (int i = 0; i < msgs.length; i++) { 133 tE = new CertificateEncodingException(msgs[i], null); 134 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 135 .getMessage(), msgs[i]); 166 for (int i = 0; i < msgs.length; i++) [all...] |
CertificateExceptionTest.java | 36 private static String[] msgs = { field in class:CertificateExceptionTest 60 for (int i = 0; i < msgs.length; i++) { 61 tE = new CertificateException(msgs[i]); 62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 63 .getMessage(), msgs[i]); 128 for (int i = 0; i < msgs.length; i++) { 129 tE = new CertificateException(msgs[i], null); 130 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 131 .getMessage(), msgs[i]); 161 for (int i = 0; i < msgs.length; i++) [all...] |
CertificateParsingExceptionTest.java | 37 private static String[] msgs = { field in class:CertificateParsingExceptionTest 61 for (int i = 0; i < msgs.length; i++) { 62 tE = new CertificateParsingException(msgs[i]); 63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 64 .getMessage(), msgs[i]); 130 for (int i = 0; i < msgs.length; i++) { 131 tE = new CertificateParsingException(msgs[i], null); 132 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 133 .getMessage(), msgs[i]); 164 for (int i = 0; i < msgs.length; i++) [all...] |
/libcore/luni/src/test/java/tests/security/spec/ |
InvalidKeySpecExceptionTest.java | 36 private static String[] msgs = { field in class:InvalidKeySpecExceptionTest 60 for (int i = 0; i < msgs.length; i++) { 61 tE = new InvalidKeySpecException(msgs[i]); 62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 63 .getMessage(), msgs[i]); 128 for (int i = 0; i < msgs.length; i++) { 129 tE = new InvalidKeySpecException(msgs[i], null); 130 assertEquals("getMessage() must return: ".concat(msgs[i]), tE 131 .getMessage(), msgs[i]); 161 for (int i = 0; i < msgs.length; i++) [all...] |
/libcore/luni/src/test/java/tests/api/javax/security/auth/ |
UnsupportedCallbackExceptionTest.java | 31 private static String[] msgs = { field in class:UnsupportedCallbackExceptionTest 78 for (int i = 0; i < msgs.length; i++) { 79 ucE = new UnsupportedCallbackException(null, msgs[i]); 80 assertEquals("getMessage() must return: ".concat(msgs[i]), ucE.getMessage(), msgs[i]); 105 for (int i = 0; i < msgs.length; i++) { 106 ucE = new UnsupportedCallbackException(c, msgs[i]); 107 assertEquals("getMessage() must return: ".concat(msgs[i]), ucE.getMessage(), msgs[i]);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/serialization/ |
CertPathValidatorExceptionTest.java | 39 public static String[] msgs = { field in class:CertPathValidatorExceptionTest 44 Exception cause = new Exception(msgs[1]); 46 msgs[0], cause); 51 new CertPathValidatorException(msgs[1]), 54 new CertPathValidatorException(msgs[1], dExc), 55 new CertPathValidatorException(msgs[1], dExc, null, -1) };
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
stack_utils_unittest.py | 52 msgs = [] 55 msgs.append(msg) 60 self.assertTrue(msgs) 63 msgs = [] 66 msgs.append(msg) 72 self.assertTrue(msgs)
|