|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.reuters.msgtest.load.value.ValueLoopGenerator
ValueLoopGenerator implements arbitrarily deep nested loops of valuesets. Currently each valueset is either a delimlist or an integer range.
| Field Summary |
| Fields inherited from interface com.reuters.msgtest.load.value.ValueGenerator |
RANDOM, SEQUENTIAL |
| Constructor Summary | |
ValueLoopGenerator(DelimListValueLoopHandler pDelimListValueLoop)
Construct a ValueLoopGenerator where the top level loop is a delimeted string. |
|
ValueLoopGenerator(IntValueLoopHandler pIntValueLoop)
Construct a ValueLoopGenerator where the top level loop is an integer range. |
|
| Method Summary | |
boolean |
changeValue()
Changes the current value. |
java.util.List |
getAllSubstr()
Returns all the substitution strings in this nested loop. |
java.lang.String |
getCurrentValue(java.lang.String pSubstr)
Returns the value of the current element in this set corresponding to the given substitution string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ValueLoopGenerator(IntValueLoopHandler pIntValueLoop)
pIntValueLoop - the integer value loop object passed from the xml config file.public ValueLoopGenerator(DelimListValueLoopHandler pDelimListValueLoop)
pDelimListValueLoop - the delimeter list loop object passed from the xml config file.| Method Detail |
public java.lang.String getCurrentValue(java.lang.String pSubstr)
throws RvTestException
ValueGenerator
getCurrentValue in interface ValueGeneratorpSubstr - the substitution string
RvTestExceptionValueGenerator.getCurrentValue(java.lang.String)public boolean changeValue()
ValueGenerator
changeValue in interface ValueGeneratorValueGenerator.changeValue()public java.util.List getAllSubstr()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||