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, supportsReorderingaddAttr, 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, useRandomizationequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAttr, 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, setThreadInfoprotected 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)
ChoiceGeneratorBasereorder in interface ChoiceGenerator<ThreadInfo>reorder in class ThreadChoiceFromSetpublic ThreadChoiceFromSet randomize()
ChoiceGeneratorrandomize in interface ChoiceGenerator<ThreadInfo>randomize in class ThreadChoiceFromSet