Home
last modified time | relevance | path

Searched refs:enS (Results 1 – 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineResultHandshakeStatusTest.java34 SSLEngineResult.HandshakeStatus[] enS = SSLEngineResult.HandshakeStatus.values(); in test_SSLEngineResultHandshakeStatus_values() local
35 if (enS.length == str.length) { in test_SSLEngineResultHandshakeStatus_values()
36 for (int i = 0; i < enS.length; i++) { in test_SSLEngineResultHandshakeStatus_values()
38 assertEquals("Incorrect Status", enS[i].toString(), str[i]); in test_SSLEngineResultHandshakeStatus_values()
52 SSLEngineResult.HandshakeStatus enS; in test_SSLEngineResultStatus_valueOf() local
57 enS = SSLEngineResult.HandshakeStatus.valueOf(str[i]); in test_SSLEngineResultStatus_valueOf()
58 assertEquals("Incorrect Status", enS.toString(), str[i]); in test_SSLEngineResultStatus_valueOf()
67 enS = SSLEngineResult.HandshakeStatus.valueOf(str_invalid[i]); in test_SSLEngineResultStatus_valueOf()
76 enS = SSLEngineResult.HandshakeStatus.valueOf(null); in test_SSLEngineResultStatus_valueOf()
DSSLEngineResultStatusTest.java35 SSLEngineResult.Status[] enS = SSLEngineResult.Status.values(); in test_SSLEngineResultStatus_values() local
36 if (enS.length == str.length) { in test_SSLEngineResultStatus_values()
37 for (int i = 0; i < enS.length; i++) { in test_SSLEngineResultStatus_values()
40 if (enS[i].toString() == str[j]) { in test_SSLEngineResultStatus_values()
59 SSLEngineResult.Status enS; in test_SSLEngineResultStatus_valueOf() local
64 enS = SSLEngineResult.Status.valueOf(str[i]); in test_SSLEngineResultStatus_valueOf()
65 assertEquals("Incorrect Status", enS.toString(), str[i]); in test_SSLEngineResultStatus_valueOf()
74 enS = SSLEngineResult.Status.valueOf(str_invalid[i]); in test_SSLEngineResultStatus_valueOf()
83 enS = SSLEngineResult.Status.valueOf(null); in test_SSLEngineResultStatus_valueOf()
DSSLEngineResultTest.java96 SSLEngineResult.Status [] enS = in test_bytesConsumed() local
100 for (int i = 0; i < enS.length; i++) { in test_bytesConsumed()
104 SSLEngineResult res = new SSLEngineResult(enS[i], in test_bytesConsumed()
119 SSLEngineResult.Status [] enS = in test_bytesProduced() local
123 for (int i = 0; i < enS.length; i++) { in test_bytesProduced()
127 SSLEngineResult res = new SSLEngineResult(enS[i], in test_bytesProduced()
142 SSLEngineResult.Status [] enS = in test_getHandshakeStatus() local
146 for (int i = 0; i < enS.length; i++) { in test_getHandshakeStatus()
150 SSLEngineResult res = new SSLEngineResult(enS[i], in test_getHandshakeStatus()
165 SSLEngineResult.Status [] enS = in test_getStatus() local
[all …]