|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectraccoon.tibco.tibrv.uitest.TibrvCompare
public class TibrvCompare
TODO Document this class.
Constructor Summary | |
---|---|
TibrvCompare()
|
Method Summary | |
---|---|
void |
addIgnore(UiIgnore pIgnore)
Adds a new ignore rule before undertaking the comparaison. |
void |
clearDifferences()
Clears the results of the previous comparaison. |
boolean |
compareContent(java.lang.String pFieldPath)
|
boolean |
compareField(java.lang.String pFieldPath)
|
boolean |
comparePayLoad(IBusMessage pCompareToMsg)
|
boolean |
compareSubjects(IBusMessage pRvMsg)
|
boolean |
compareTo(java.lang.Object pObject)
Compares the expected message to the given object. |
boolean |
compareTracking(IBusMessage pRvMsg)
|
boolean |
compareType(java.lang.String pFieldPath)
|
java.util.HashMap |
getDifferences()
The list of differences identified. |
IBusMessage |
getExpected()
|
java.util.HashMap |
getIgnore()
|
void |
setExpected(IMessage pExpected)
The expected message to compare to |
void |
setIgnore(java.util.HashMap pIgnore)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TibrvCompare()
Method Detail |
---|
public IBusMessage getExpected()
public void setExpected(IMessage pExpected)
setExpected
in interface IComparator
pExpected
- the message.public boolean compareTo(java.lang.Object pObject)
compareTo
in interface IComparator
pObject
- the reference object with which to compare.
true
if this object is the same as the pObject
argument; false
otherwise.public boolean compareContent(java.lang.String pFieldPath)
public boolean compareType(java.lang.String pFieldPath)
public boolean compareField(java.lang.String pFieldPath)
public boolean comparePayLoad(IBusMessage pCompareToMsg)
public boolean compareTracking(IBusMessage pRvMsg)
public boolean compareSubjects(IBusMessage pRvMsg)
public java.util.HashMap getDifferences()
getDifferences
in interface IComparator
public void clearDifferences()
IComparator
clearDifferences
in interface IComparator
public java.util.HashMap getIgnore()
public void addIgnore(UiIgnore pIgnore)
IComparator
addIgnore
in interface IComparator
pIgnore
- the new ignore rule to add.public void setIgnore(java.util.HashMap pIgnore)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |