public class ExceptionThreadChoiceFromSet extends ThreadChoiceFromSet
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
exceptions |
protected ThreadInfo |
exceptionThread |
count, isSchedulingPoint, values
Constructor and Description |
---|
ExceptionThreadChoiceFromSet(java.lang.String id,
ThreadInfo[] runnables,
ThreadInfo exceptionThread,
java.lang.String[] exceptionClsNames) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExceptionForCurrentChoice() |
ThreadChoiceFromSet |
randomize()
turn the order of choices random (if it isn't already).
|
ThreadChoiceGenerator |
reorder(java.util.Comparator<ThreadInfo> comparator)
reorder according to a user provided comparator
|
advance, contains, getAllThreadChoices, getChoice, getChoices, getChoiceType, getNextChoice, getNextChoiceObject, getProcessedNumberOfChoices, getTotalNumberOfChoices, hasMoreChoices, isSchedulingPoint, printOn, reset, supportsReordering
addAttr, advance, attrIterator, attrIterator, clone, deepClone, getAll, getAllChoices, getAllOfType, getAttr, getAttr, getCascade, getCascadedParent, getId, getIdRef, getInsn, getNextAttr, getNumberOfParents, getPreviousChoiceGenerator, getPreviousChoiceGeneratorOfType, getProcessedChoices, getSourceLocation, getStateId, getThreadInfo, getUnprocessedChoices, hasAttr, hasAttr, hasAttrValue, init, isCascaded, isDone, isProcessed, removeAttr, replaceAttr, select, setAttr, setCascaded, setContext, setCurrent, setDone, setId, setIdRef, setInsn, setPreviousChoiceGenerator, setStateId, setThreadInfo, toString, useRandomization
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAttr, advance, attrIterator, attrIterator, clone, deepClone, getAll, getAllChoices, getAllOfType, getAttr, getAttr, getCascade, getCascadedParent, getId, getIdRef, getInsn, getNextAttr, getNumberOfParents, getPreviousChoiceGenerator, getPreviousChoiceGeneratorOfType, getProcessedChoices, getSourceLocation, getStateId, getThreadInfo, getUnprocessedChoices, hasAttr, hasAttr, isCascaded, isDone, isProcessed, removeAttr, replaceAttr, select, setAttr, setCascaded, setContext, setCurrent, setDone, setId, setIdRef, setInsn, setPreviousChoiceGenerator, setStateId, setThreadInfo
protected ThreadInfo exceptionThread
protected java.lang.String[] exceptions
public ExceptionThreadChoiceFromSet(java.lang.String id, ThreadInfo[] runnables, ThreadInfo exceptionThread, java.lang.String[] exceptionClsNames)
public java.lang.String getExceptionForCurrentChoice()
public ThreadChoiceGenerator reorder(java.util.Comparator<ThreadInfo> comparator)
ChoiceGeneratorBase
reorder
in interface ChoiceGenerator<ThreadInfo>
reorder
in class ThreadChoiceFromSet
public ThreadChoiceFromSet randomize()
ChoiceGenerator
randomize
in interface ChoiceGenerator<ThreadInfo>
randomize
in class ThreadChoiceFromSet