public final class Containers
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_EXPECTED_ELEMENTS
The default number of expected elements for containers.
|
static int |
NB_OF_PROCESSORS |
| Modifier and Type | Method and Description |
|---|---|
static void |
forceReloadTestProperty()
Call this in order to make
randomSeed64() or randomSeed32()
re-read the tests.seed property which control their random number generation. |
static int |
randomSeed32()
Same as
randomSeed64(), but returns 32 bit |
static long |
randomSeed64()
Provides a (possibly) random initial seed for randomized stuff, 64 bit version.
|
public static final int NB_OF_PROCESSORS
public static final int DEFAULT_EXPECTED_ELEMENTS
public static long randomSeed64()
tests.seed property is available and accessible, the
returned value will be derived from the value of that property and will be
constant to ensure reproducibility in presence of the randomized testing
package, which sets this property.
Full random values are returned if either tests.seed is not available, or is set to "" (empty String).public static int randomSeed32()
randomSeed64(), but returns 32 bitpublic static void forceReloadTestProperty()
randomSeed64() or randomSeed32()
re-read the tests.seed property which control their random number generation.Copyright © 2017. All rights reserved.