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

12

/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]);
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]);
/libcore/luni/src/test/java/tests/security/spec/
H A DInvalidParameterSpecExceptionTest.java36 static String[] msgs = { field in class:InvalidParameterSpecExceptionTest
61 for (int i = 0; i < msgs.length; i++) {
62 tE = new InvalidParameterSpecException(msgs[i]);
63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE
64 .getMessage(), msgs[i]);
/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]);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/
H A DDestroyFailedExceptionTest.java30 private static String[] msgs = { field in class:DestroyFailedExceptionTest
52 for (int i = 0; i < msgs.length; i++) {
53 dfE = new DestroyFailedException(msgs[i]);
54 assertEquals("getMessage() must return: ".concat(msgs[i]), dfE.getMessage(), msgs[i]);
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/auth/login/
H A DLoginExceptionTest.java32 private static String[] msgs = { field in class:LoginExceptionTest
54 for (int i = 0; i < msgs.length; i++) {
55 lE = new LoginException(msgs[i]);
56 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 DExemptionMechanismExceptionTest.java36 static String[] msgs = { field in class:ExemptionMechanismExceptionTest
70 for (int i = 0; i < msgs.length; i++) {
71 tE = new ExemptionMechanismException(msgs[i]);
72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE
73 .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/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]) };

Completed in 409 milliseconds

12