Uses of Class
com.carrotsearch.randomizedtesting.Randomness
-
Packages that use Randomness Package Description com.carrotsearch.randomizedtesting -
-
Uses of Randomness in com.carrotsearch.randomizedtesting
Fields in com.carrotsearch.randomizedtesting declared as Randomness Modifier and Type Field Description (package private) RandomnessRandomizedRunner. runnerRandomnessThe runner's seed (master).private RandomnessRandomizedRunner. testCaseRandomnessOverrideIf#SYSPROP_RANDOM_SEEDproperty is used with two arguments (master:method) then this field contains method-level override.Fields in com.carrotsearch.randomizedtesting with type parameters of type Randomness Modifier and Type Field Description (package private) java.util.ArrayDeque<Randomness>RandomizedContext.PerThreadResources. randomnessesGenerators of pseudo-randomness.Methods in com.carrotsearch.randomizedtesting that return Randomness Modifier and Type Method Description (package private) RandomnessRandomness. clone(java.lang.Thread newOwner)RandomnessRandomizedContext. getRandomness()Source of randomness for the context's thread.(package private) Randomness[]RandomizedContext. getRandomnesses()Return allRandomnesson the stack for the current thread.Methods in com.carrotsearch.randomizedtesting with parameters of type Randomness Modifier and Type Method Description (package private) static <T extends java.lang.Throwable>
TRandomizedRunner. augmentStackTrace(T e, Randomness... seeds)Augment stack trace of the given exception with seed infos.static java.lang.StringSeedUtils. formatSeedChain(Randomness... randomnesses)Formats randomness seed or seeds into something the user can type in to get predictably repeatable execution.(package private) voidRandomizedContext. push(Randomness rnd)Push a new randomness on top of the stack.<T> TRandomizedContext. runWithPrivateRandomness(Randomness randomness, java.util.concurrent.Callable<T> callable)Pushes the given randomness to the top of the stack, runs theCallableand disposes the randomness before the this method returns.
-