Searched refs:msgs (Results 1 - 25 of 49) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DSSLHandshakeExceptionTest.java24 private static String[] msgs = { field in class:SSLHandshakeExceptionTest
37 for (int i = 0; i < msgs.length; i++) {
38 sslE = new SSLHandshakeException(msgs[i]);
39 assertEquals("getMessage() must return: ".concat(msgs[i]), sslE.getMessage(), msgs[i]);
H A DSSLKeyExceptionTest.java24 private static String[] msgs = { field in class:SSLKeyExceptionTest
37 for (int i = 0; i < msgs.length; i++) {
38 skE = new SSLKeyException(msgs[i]);
39 assertEquals("getMessage() must return: ".concat(msgs[i]), skE.getMessage(), msgs[i]);
H A DSSLPeerUnverifiedExceptionTest.java24 private static String[] msgs = { field in class:SSLPeerUnverifiedExceptionTest
37 for (int i = 0; i < msgs.length; i++) {
38 sslE = new SSLPeerUnverifiedException(msgs[i]);
39 assertEquals("getMessage() must return: ".concat(msgs[i]), sslE.getMessage(), msgs[i]);
H A DSSLProtocolExceptionTest.java24 private static String[] msgs = { field in class:SSLProtocolExceptionTest
37 for (int i = 0; i < msgs.length; i++) {
38 sslE = new SSLProtocolException(msgs[i]);
39 assertEquals("getMessage() must return: ".concat(msgs[i]), sslE.getMessage(), msgs[i]);
H A DSSLExceptionTest.java30 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
[all...]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/serialization/
H A DBadPaddingExceptionTest.java37 public static String[] msgs = { field in class:BadPaddingExceptionTest
43 new BadPaddingException(null), new BadPaddingException(msgs[1]) };
H A DExemptionMechanismExceptionTest.java37 public static String[] msgs = { field in class:ExemptionMechanismExceptionTest
43 new ExemptionMechanismException(null), new ExemptionMechanismException(msgs[1]) };
H A DIllegalBlockSizeExceptionTest.java37 public static String[] msgs = { field in class:IllegalBlockSizeExceptionTest
43 new IllegalBlockSizeException(null), new IllegalBlockSizeException(msgs[1]) };
H A DNoSuchPaddingExceptionTest.java37 public static String[] msgs = { field in class:NoSuchPaddingExceptionTest
43 new NoSuchPaddingException(null), new NoSuchPaddingException(msgs[1]) };
H A DShortBufferExceptionTest.java37 public static String[] msgs = { field in class:ShortBufferExceptionTest
43 new ShortBufferException(null), new ShortBufferException(msgs[1]) };
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/
H A DLoginExceptionTest.java30 private static String[] msgs = { field in class:LoginExceptionTest
52 for (int i = 0; i < msgs.length; i++) {
53 lE = new LoginException(msgs[i]);
54 assertEquals("getMessage() must return: ".concat(msgs[i]), lE.getMessage(), msgs[i]);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/
H A DCertificateEncodingExceptionTest.java35 static String[] msgs = { field in class:CertificateEncodingExceptionTest
59 for (int i = 0; i < msgs.length; i++) {
60 tE = new CertificateEncodingException(msgs[i]);
61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE
62 .getMessage(), msgs[i]);
H A DCertificateExceptionTest.java36 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]);
H A DCertificateExpiredExceptionTest.java36 static String[] msgs = { field in class:CertificateExpiredExceptionTest
60 for (int i = 0; i < msgs.length; i++) {
61 tE = new CertificateExpiredException(msgs[i]);
62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE
63 .getMessage(), msgs[i]);
H A DCertificateNotYetValidExceptionTest.java36 static String[] msgs = { field in class:CertificateNotYetValidExceptionTest
61 for (int i = 0; i < msgs.length; i++) {
62 tE = new CertificateNotYetValidException(msgs[i]);
63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE
64 .getMessage(), msgs[i]);
H A DCertificateParsingExceptionTest.java37 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]);
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DBadPaddingExceptionTest.java36 static String[] msgs = { field in class:BadPaddingExceptionTest
60 for (int i = 0; i < msgs.length; i++) {
61 tE = new BadPaddingException(msgs[i]);
62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE
63 .getMessage(), msgs[i]);
H A DIllegalBlockSizeExceptionTest.java37 static String[] msgs = { field in class:IllegalBlockSizeExceptionTest
61 for (int i = 0; i < msgs.length; i++) {
62 tE = new IllegalBlockSizeException(msgs[i]);
63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE
64 .getMessage(), msgs[i]);
H A DNoSuchPaddingExceptionTest.java37 static String[] msgs = { field in class:NoSuchPaddingExceptionTest
61 for (int i = 0; i < msgs.length; i++) {
62 tE = new NoSuchPaddingException(msgs[i]);
63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE
64 .getMessage(), msgs[i]);
H A DShortBufferExceptionTest.java35 static String[] msgs = { field in class:ShortBufferExceptionTest
59 for (int i = 0; i < msgs.length; i++) {
60 tE = new ShortBufferException(msgs[i]);
61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE
62 .getMessage(), msgs[i]);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DInvalidParameterExceptionTest.java36 static String[] msgs = { field in class:InvalidParameterExceptionTest
60 for (int i = 0; i < msgs.length; i++) {
61 tE = new InvalidParameterException(msgs[i]);
62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE
63 .getMessage(), msgs[i]);
H A DNoSuchProviderExceptionTest.java36 static String[] msgs = { field in class:NoSuchProviderExceptionTest
60 for (int i = 0; i < msgs.length; i++) {
61 tE = new NoSuchProviderException(msgs[i]);
62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE
63 .getMessage(), msgs[i]);
H A DUnrecoverableEntryExceptionTest.java35 static String[] msgs = { field in class:UnrecoverableEntryExceptionTest
56 for (int i = 0; i < msgs.length; i++) {
57 tE = new UnrecoverableEntryException(msgs[i]);
58 assertEquals("getMessage() must return: ".concat(msgs[i]), tE
59 .getMessage(), msgs[i]);
H A DUnrecoverableKeyExceptionTest.java36 static String[] msgs = { field in class:UnrecoverableKeyExceptionTest
60 for (int i = 0; i < msgs.length; i++) {
61 tE = new UnrecoverableKeyException(msgs[i]);
62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE
63 .getMessage(), msgs[i]);
/libcore/luni/src/test/java/tests/security/cert/
H A DCertificateExpiredExceptionTest.java36 static String[] msgs = { field in class:CertificateExpiredExceptionTest
60 for (int i = 0; i < msgs.length; i++) {
61 tE = new CertificateExpiredException(msgs[i]);
62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE
63 .getMessage(), msgs[i]);

Completed in 788 milliseconds

12