Merge "Clarify UDP encapsulation socket API" am: db1e624ee1
am: bdc59ca370
Change-Id: I5fcf79691c670e710e46b3a9eac8a580c44028fb
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user