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) Randomness
RandomizedRunner. runnerRandomness
The runner's seed (master).private Randomness
RandomizedRunner. testCaseRandomnessOverride
If#SYSPROP_RANDOM_SEED
property 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. randomnesses
Generators of pseudo-randomness.Methods in com.carrotsearch.randomizedtesting that return Randomness Modifier and Type Method Description (package private) Randomness
Randomness. clone(java.lang.Thread newOwner)
Randomness
RandomizedContext. getRandomness()
Source of randomness for the context's thread.(package private) Randomness[]
RandomizedContext. getRandomnesses()
Return allRandomness
on 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.String
SeedUtils. formatSeedChain(Randomness... randomnesses)
Formats randomness seed or seeds into something the user can type in to get predictably repeatable execution.(package private) void
RandomizedContext. push(Randomness rnd)
Push a new randomness on top of the stack.<T> T
RandomizedContext. runWithPrivateRandomness(Randomness randomness, java.util.concurrent.Callable<T> callable)
Pushes the given randomness to the top of the stack, runs theCallable
and disposes the randomness before the this method returns.
-