OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sslE
(Results
1 - 5
of
5
) sorted by null
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLHandshakeExceptionTest.java
36
SSLHandshakeException
sslE
;
38
sslE
= new SSLHandshakeException(msgs[i]);
39
assertEquals("getMessage() must return: ".concat(msgs[i]),
sslE
.getMessage(), msgs[i]);
40
assertNull("getCause() must return null",
sslE
.getCause());
51
SSLHandshakeException
sslE
= new SSLHandshakeException(msg);
52
assertNull("getMessage() must return null.",
sslE
.getMessage());
53
assertNull("getCause() must return null",
sslE
.getCause());
SSLPeerUnverifiedExceptionTest.java
36
SSLPeerUnverifiedException
sslE
;
38
sslE
= new SSLPeerUnverifiedException(msgs[i]);
39
assertEquals("getMessage() must return: ".concat(msgs[i]),
sslE
.getMessage(), msgs[i]);
40
assertNull("getCause() must return null",
sslE
.getCause());
51
SSLPeerUnverifiedException
sslE
= new SSLPeerUnverifiedException(msg);
52
assertNull("getMessage() must return null.",
sslE
.getMessage());
53
assertNull("getCause() must return null",
sslE
.getCause());
SSLProtocolExceptionTest.java
36
SSLProtocolException
sslE
;
38
sslE
= new SSLProtocolException(msgs[i]);
39
assertEquals("getMessage() must return: ".concat(msgs[i]),
sslE
.getMessage(), msgs[i]);
40
assertNull("getCause() must return null",
sslE
.getCause());
51
SSLProtocolException
sslE
= new SSLProtocolException(msg);
52
assertNull("getMessage() must return null.",
sslE
.getMessage());
53
assertNull("getCause() must return null",
sslE
.getCause());
SSLContext2Test.java
123
SSLEngine
sslE
= sslC.createSSLEngine();
124
assertTrue("Not null result",
sslE
instanceof SSLEngine);
125
assertNull("Incorrect host",
sslE
.getPeerHost());
126
assertEquals("Incorrect port", 0,
sslE
.getPeerPort());
129
sslE
= sslC.createSSLEngine(host, port);
130
assertTrue("Not null result",
sslE
instanceof SSLEngine);
131
assertEquals("Incorrect host",
sslE
.getPeerHost(), host);
132
assertEquals("Incorrect port",
sslE
.getPeerPort(), port);
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
SSLContext2Test.java
128
SSLEngine
sslE
= sslC.createSSLEngine();
129
assertTrue("Not null result",
sslE
instanceof SSLEngine);
130
assertNull("Incorrect host",
sslE
.getPeerHost());
131
assertEquals("Incorrect port", 0,
sslE
.getPeerPort());
134
sslE
= sslC.createSSLEngine(host, port);
135
assertTrue("Not null result",
sslE
instanceof SSLEngine);
136
assertEquals("Incorrect host",
sslE
.getPeerHost(), host);
137
assertEquals("Incorrect port",
sslE
.getPeerPort(), port);
Completed in 153 milliseconds