Uses of Class
com.carrotsearch.randomizedtesting.Randomness
Packages that use Randomness
-
Uses of Randomness in com.carrotsearch.randomizedtesting
Fields in com.carrotsearch.randomizedtesting declared as RandomnessModifier and TypeFieldDescription(package private) final Randomness
RandomizedRunner.runnerRandomness
The runner's seed (master).private Randomness
RandomizedRunner.testCaseRandomnessOverride
Ifinvalid reference
#SYSPROP_RANDOM_SEED
Fields in com.carrotsearch.randomizedtesting with type parameters of type RandomnessModifier and TypeFieldDescription(package private) final ArrayDeque
<Randomness> RandomizedContext.PerThreadResources.randomnesses
Generators of pseudo-randomness.Methods in com.carrotsearch.randomizedtesting that return RandomnessModifier and TypeMethodDescription(package private) 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 RandomnessModifier and TypeMethodDescription(package private) static <T extends Throwable>
TRandomizedRunner.augmentStackTrace
(T e, Randomness... seeds) Augment stack trace of the given exception with seed infos.static 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, Callable<T> callable) Pushes the given randomness to the top of the stack, runs theCallable
and disposes the randomness before the this method returns.