|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectraccoon.core.uitest.data.UiTest
public class UiTest
The configuration elements of a single test.
A single test is a test case scenario where, either the data to send (stimulus) or the data to receive is unitary.
Field Summary | |
---|---|
static long |
DEFAULT_TIMEOUT
The default time out in milliseconds |
Constructor Summary | |
---|---|
UiTest()
Default constructor |
Method Summary | |
---|---|
void |
addExpected(ComponentFile pExpected)
Adds an expected message to the list of current messages. |
void |
addIgnore(UiIgnore pIgnore)
Adds a new ignore rule to this test. |
void |
addSubscriber(ComponentFile pSubscriber)
Adds a new subscriber to the current test case. |
java.util.ArrayList |
getExpected()
The expected list of messages. |
java.util.ArrayList |
getIgnore()
The list of ignore rules attached to this test instance. |
java.lang.String |
getName()
Retrieves the name of this test. |
ComponentFile |
getPublisher()
The description of the publisher associated to this test case. |
java.util.ArrayList |
getSubscribers()
The collection of subscribers. |
long |
getTimeOut()
The timeout value of this test. |
void |
setExpected(java.util.ArrayList pExpected)
Defines the list of expected messages |
void |
setIgnore(java.util.ArrayList pIgnore)
Defines the list of ignore rules assigned to this test. |
void |
setName(java.lang.String pName)
Defines the name of this test case. |
void |
setPublisher(ComponentFile pPublisher)
Defines the publisher for this test case. |
void |
setSubscribers(java.util.ArrayList pSubscribers)
Defines the collection of subscribers to use for this case. |
void |
setTimeOut(long pTimeOut)
Defines the timeout value of this test. |
java.lang.String |
toString()
The name of this uitest instance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final long DEFAULT_TIMEOUT
Constructor Detail |
---|
public UiTest()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String pName)
pName
- the name of this test case, unique for a given UiCasepublic ComponentFile getPublisher()
public void setPublisher(ComponentFile pPublisher)
pPublisher
- the publisher to use.public java.util.ArrayList getSubscribers()
ComponentFile
public void setSubscribers(java.util.ArrayList pSubscribers)
pSubscribers
- the subscribers, a list of ComponentFile
.public void addSubscriber(ComponentFile pSubscriber)
pSubscriber
- the new subscriber.public long getTimeOut()
public void setTimeOut(long pTimeOut)
pTimeOut
- the number of milliseconds before this test should time out.public java.util.ArrayList getExpected()
ComponentFile
public void setExpected(java.util.ArrayList pExpected)
pExpected
- the expected messages, a list of ComponentFile
.public void addExpected(ComponentFile pExpected)
pExpected
- the expected messsage.public java.util.ArrayList getIgnore()
UiIgnore
.public void setIgnore(java.util.ArrayList pIgnore)
pIgnore
- an array list of UiIgnore
.public void addIgnore(UiIgnore pIgnore)
pIgnore
- the ignore rule to add to this test.public java.lang.String toString()
toString
in class java.lang.Object
getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |