ix.ip2.test
Class TestItem
java.lang.Object
ix.ip2.test.PanelTest
ix.ip2.test.TestItem
- All Implemented Interfaces:
- TestElement
public class TestItem
- extends PanelTest
A test that sends a single message. A TestItem is also used as an
element of a TestSequence, in which case the menuText is ignored
and may be null.
- See Also:
TestSequence
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delayBefore
protected int delayBefore
toName
protected java.lang.String toName
contents
protected Sendable contents
TestItem
public TestItem()
TestItem
public TestItem(java.lang.String menuText,
Sendable contents)
TestItem
public TestItem(TaskItem contents)
defaultMenuText
protected java.lang.String defaultMenuText()
getDelayBefore
public int getDelayBefore()
setDelayBefore
public void setDelayBefore(int delayBefore)
getToName
public java.lang.String getToName()
setToName
public void setToName(java.lang.String toName)
getContents
public Sendable getContents()
setContents
public void setContents(Sendable contents)
getFullMenuText
public java.lang.String getFullMenuText()
- Returns the value of getMenuText() with any occurrences of
"$to"
replaced by the value of getToName().
- Overrides:
getFullMenuText
in class PanelTest
getTestItems
public java.util.List getTestItems()
- Specified by:
getTestItems
in class PanelTest