public class TestRELPDecoder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLOSE_FRAME |
static java.lang.String |
OPEN_FRAME |
static java.lang.String |
OPEN_FRAME_DATA |
static java.lang.String |
SYSLOG_FRAME |
static java.lang.String |
SYSLOG_FRAME_DATA |
| Constructor and Description |
|---|
TestRELPDecoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
testBadDataShouldThrowException() |
void |
testDecodeMultipleCommands() |
void |
testDecodeMultipleSyslogCommands() |
void |
testDecodeSingleFrame() |
public static final java.lang.String OPEN_FRAME_DATA
public static final java.lang.String OPEN_FRAME
public static final java.lang.String SYSLOG_FRAME_DATA
public static final java.lang.String SYSLOG_FRAME
public static final java.lang.String CLOSE_FRAME
public void setup()
public void testDecodeSingleFrame()
throws RELPFrameException
RELPFrameExceptionpublic void testDecodeMultipleCommands()
throws RELPFrameException
RELPFrameExceptionpublic void testDecodeMultipleSyslogCommands()
throws RELPFrameException
RELPFrameExceptionpublic void testBadDataShouldThrowException()
throws RELPFrameException
RELPFrameException