|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.oio.bugkilla.protocol.TestSpecification | +--de.oio.bugkilla.protocol.ComplexTestSpecification | +--de.oio.bugkilla.protocol.TestSequence
Represent one TestSequence (child of Scenario) with one or more TestStep(s)
Scenario
,
TestStep
,
Serialized FormConstructor Summary | |
TestSequence()
|
Method Summary | |
boolean |
add(TestStep step)
Returns the number of TestStep elements in this sequence. |
boolean |
add(UserInteraction ui)
Returns the number of UserInteraction elements in this sequence. |
boolean |
contains(TestStep step)
Returns true if this sequence contains the specified TestStep element. |
boolean |
contains(UserInteraction ui)
Returns true if this sequence contains the specified UserInteraction element. |
java.lang.String |
getDescription()
Returns the description. |
Environment |
getEnvironment()
Returns the environment. |
java.lang.String |
getQualifiedName()
Returns the qualifiedName. |
java.lang.Object |
next()
Returns the next UserInteraction or TestStep element in the iteration. |
TestStep |
nextTestStep()
Returns the next TestStep element in the iteration. |
boolean |
remove(TestStep step)
Removes the first occurrence of the specified TestStep element in this sequence. |
boolean |
remove(UserInteraction ui)
Removes the first occurrence of the specified UserInteraction element in this sequence. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setEnvironment(Environment environment)
Sets the environment. |
void |
setQualifiedName(java.lang.String qualifiedName)
Sets the qualifiedName. |
Methods inherited from class de.oio.bugkilla.protocol.ComplexTestSpecification |
beforeFirst, clear, getElements, hasNext, isEmpty, size |
Methods inherited from class de.oio.bugkilla.protocol.TestSpecification |
getID, setID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestSequence()
Method Detail |
public Environment getEnvironment()
public void setEnvironment(Environment environment)
environment
- The environment to setpublic boolean add(TestStep step)
step
- the number of TestStep elements in this sequence
public boolean add(UserInteraction ui)
ui
- the number of UserInteraction elements in this sequence
public boolean contains(TestStep step)
step
- - TestStep element whose presence in this sequence is to be tested.
true
if this sequence contains the specified TestStep elementpublic boolean contains(UserInteraction ui)
ui
- - TestStep element whose presence in this sequence is to be
tested.
true
if this sequence contains the specified
UserInteraction elementpublic boolean remove(TestStep step)
step
- - TestStep element to be removed from this sequence, if present.
true
if the sequence contained the specified TestStep element.Vector.remove(Object)
public boolean remove(UserInteraction ui)
ui
- - UserInteraction element to be removed from this sequence,
if present.
true
if the sequence contained the specified
UserInteraction element.Vector.remove(Object)
public TestStep nextTestStep()
public java.lang.Object next()
public java.lang.String getQualifiedName()
public void setQualifiedName(java.lang.String qualifiedName)
qualifiedName
- The qualifiedName to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |