|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
org.xmlBlaster.test.Msg
public class Msg
Helper for testsuite to store a received message with update()
Field Summary | |
---|---|
private java.lang.String |
cbSessionId
|
private byte[] |
content
|
private UpdateKey |
updateKey
|
private UpdateQos |
updateQos
|
Constructor Summary | |
---|---|
Msg(java.lang.String cbSessionId,
UpdateKey updateKey,
byte[] content,
UpdateQos updateQos)
|
Method Summary | |
---|---|
void |
compareMsg(MsgUnit msgUnit)
Check if the given message (usually published) is the one we hold (usually updated). |
void |
compareMsg(PublishReturnQos retQos)
Check if the given PublishReturnQos (from a publisher) is the one we hold (usually updated). |
java.lang.String |
getCbSessionId()
|
byte[] |
getContent()
|
int |
getContentInt()
|
java.lang.String |
getContentStr()
|
java.lang.String |
getOid()
|
java.lang.String |
getState()
|
UpdateKey |
getUpdateKey()
|
UpdateQos |
getUpdateQos()
|
java.lang.String |
toString()
|
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String cbSessionId
private UpdateKey updateKey
private byte[] content
private UpdateQos updateQos
Constructor Detail |
---|
public Msg(java.lang.String cbSessionId, UpdateKey updateKey, byte[] content, UpdateQos updateQos)
Method Detail |
---|
public java.lang.String getCbSessionId()
public byte[] getContent()
public java.lang.String getContentStr()
public int getContentInt()
java.lang.IllegalArgumentException
public UpdateKey getUpdateKey()
public java.lang.String getOid()
public UpdateQos getUpdateQos()
public java.lang.String getState()
public void compareMsg(MsgUnit msgUnit)
msgUnit
- the expected messagepublic void compareMsg(PublishReturnQos retQos)
retQos
- the expected datapublic java.lang.String toString()
toString
in class java.lang.Object
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |