public class SimplePacketReaderTest
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SimplePacketReaderTest.FixedBufferSocketConnection |
static class |
SimplePacketReaderTest.MockSocketConnection |
| Constructor and Description |
|---|
SimplePacketReaderTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
basicHeaderRead() |
void |
exceedMaxAllowedPacketHeaderRead() |
void |
heuristicTestWithRandomPackets() |
void |
readBasicPayload() |
void |
readPayloadErrors() |
void |
truncatedPacketHeaderRead() |
@Test
public void basicHeaderRead()
throws java.io.IOException
java.io.IOException@Test
public void exceedMaxAllowedPacketHeaderRead()
throws java.io.IOException
java.io.IOException@Test
public void truncatedPacketHeaderRead()
throws java.io.IOException
java.io.IOException@Test
public void readBasicPayload()
throws java.io.IOException
java.io.IOException@Test
public void readPayloadErrors()
throws java.io.IOException
java.io.IOException@Test
public void heuristicTestWithRandomPackets()
throws java.io.IOException
java.io.IOException