Merge "Clarify UDP encapsulation socket API"
This commit is contained in:
commit
b676aef03c
1 changed files with 2 additions and 2 deletions
|
|
@ -179,7 +179,7 @@ public class IpSecManagerTest {
|
|||
|
||||
IpSecManager.UdpEncapsulationSocket encapSocket =
|
||||
mIpSecManager.openUdpEncapsulationSocket(TEST_UDP_ENCAP_PORT);
|
||||
assertNotNull(encapSocket.getSocket());
|
||||
assertNotNull(encapSocket.getFileDescriptor());
|
||||
assertEquals(TEST_UDP_ENCAP_PORT, encapSocket.getPort());
|
||||
|
||||
encapSocket.close();
|
||||
|
|
@ -202,7 +202,7 @@ public class IpSecManagerTest {
|
|||
IpSecManager.UdpEncapsulationSocket encapSocket =
|
||||
mIpSecManager.openUdpEncapsulationSocket();
|
||||
|
||||
assertNotNull(encapSocket.getSocket());
|
||||
assertNotNull(encapSocket.getFileDescriptor());
|
||||
assertEquals(TEST_UDP_ENCAP_PORT, encapSocket.getPort());
|
||||
|
||||
encapSocket.close();
|
||||
|
|
|
|||
Loading…
Reference in a new issue