Top Description Fields Constructors Methods
org.junit.jupiter.api

pack-priv Class RandomOrdererUtils

extends Object
Class Inheritance
Imports
java.util.Optional, java.util.function.Function, org.junit.platform.commons.logging.Logger

Shared utility methods for ordering test classes and test methods randomly.
Since
5.11
See Also
ClassOrderer.Random, MethodOrderer.Random

Field Summary

Modifier and TypeField and Description
pack-priv static final long
pack-priv static final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static Optional<Long>
getCustomSeed(Function<String, Optional<String>> configurationParameterLookup, Logger logger)

pack-priv static Long
getSeed(Function<String, Optional<String>> configurationParameterLookup, Logger logger)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEFAULT_SEEDback to summary
pack-priv static final long DEFAULT_SEED
RANDOM_SEED_PROPERTY_NAMEback to summary
pack-priv static final String RANDOM_SEED_PROPERTY_NAME

Constructor Detail

RandomOrdererUtilsback to summary
private RandomOrdererUtils()

Method Detail

getCustomSeedback to summary
private static Optional<Long> getCustomSeed(Function<String, Optional<String>> configurationParameterLookup, Logger logger)
getSeedback to summary
pack-priv static Long getSeed(Function<String, Optional<String>> configurationParameterLookup, Logger logger)