public class SimplePacketSenderTest extends PacketSenderTestBase
| Modifier and Type | Field and Description |
|---|---|
private java.io.ByteArrayOutputStream |
outputStream |
private SimplePacketSender |
sender |
| Constructor and Description |
|---|
SimplePacketSenderTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
basicPacketSanityTest() |
void |
cleanupByteArrayOutputStream() |
void |
packetSizeMultipleOfMaxTest()
Test the case where the packet size is a multiple of the max packet size.
|
void |
splitPacketTest() |
checkSequentiallyFilledPacket, fillPacketSequentially, getNoopPacketSenderprivate java.io.ByteArrayOutputStream outputStream
private SimplePacketSender sender
@AfterEach public void cleanupByteArrayOutputStream()
@Test
public void basicPacketSanityTest()
throws java.io.IOException
java.io.IOException@Test
public void splitPacketTest()
throws java.io.IOException
java.io.IOException@Test
public void packetSizeMultipleOfMaxTest()
throws java.io.IOException
java.io.IOException