Class com.ustadmobile.meshrabiya.datagram.VirtualDatagramSocketImplTest
Tests
Test |
Duration |
Result |
givenDatagramSentFromOneSocket_whenReceivedByOtherSocket_thenShouldMatch |
0.015s |
passed |
givenOnIncomingPacketCalled_whenReceiveCalled_thenContentAndAddressShouldMatch |
0.010s |
passed |
givenVirtualSocket_whenOutgoingDatagramSent_thenShouldCallRouteWithValidVirtualPacket |
0.725s |
passed |
Standard output
V: t+0.01s : [VirtualDatagramSocketImpl] send packet size=1000 bytes to /0.0.0.43:2802
V: t+0.0s : [VirtualDatagramSocketImpl] incoming virtual packet=1020 bytes from 0.0.0.43:21402
V: t+0.0s : [VirtualDatagramSocketImpl] bind laddr=/0.0.0.42 lport=0
V: t+0.0s : [VirtualDatagramSocketImpl] bind laddr=/0.0.0.43 lport=0
V: t+0.0s : [VirtualDatagramSocketImpl] send packet size=1000 bytes to /0.0.0.43:43194
V: t+0.01s : [VirtualDatagramSocketImpl] incoming virtual packet=1020 bytes from 0.0.0.42:30056