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

public Class Resources

extends Object
Class Inheritance
Annotations
@API
status:STABLE
since:5.10
Static Imports
org.apiguardian.api.API.Status.STABLE

Common resource names for synchronizing test execution.
Since
5.3
See Also
ResourceLock, ResourceLocksProvider.Lock

Field Summary

Modifier and TypeField and Description
public static final String
GLOBAL

Represents the global resource lock:

public static final String
LOCALE

Represents the default locale for the current instance of the JVM:

public static final String
SYSTEM_ERR

Represents the standard error stream of the current process:

public static final String
SYSTEM_OUT

Represents the standard output stream of the current process:

public static final String
SYSTEM_PROPERTIES

Represents Java's system properties:

public static final String
TIME_ZONE

Represents the default time zone for the current instance of the JVM:

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GLOBALback to summary
public static final String GLOBAL

Represents the global resource lock:

Annotations
@API
status:STABLE
since:5.10
Since
5.8
See Also
Isolated, org.junit.platform.engine.support.hierarchical.ExclusiveResource
LOCALEback to summary
public static final String LOCALE

Represents the default locale for the current instance of the JVM:

Annotations
@API
status:STABLE
since:5.10
Since
5.4
See Also
java.util.Locale#setDefault(java.util.Locale)
SYSTEM_ERRback to summary
public static final String SYSTEM_ERR

Represents the standard error stream of the current process:

See Also
System#err, System#setErr(java.io.PrintStream)
SYSTEM_OUTback to summary
public static final String SYSTEM_OUT

Represents the standard output stream of the current process:

See Also
System#out, System#setOut(java.io.PrintStream)
SYSTEM_PROPERTIESback to summary
public static final String SYSTEM_PROPERTIES

Represents Java's system properties:

See Also
System#getProperties(), System#setProperties(java.util.Properties)
TIME_ZONEback to summary
public static final String TIME_ZONE

Represents the default time zone for the current instance of the JVM:

Annotations
@API
status:STABLE
since:5.10
Since
5.4
See Also
java.util.TimeZone#setDefault(java.util.TimeZone)

Constructor Detail

Resourcesback to summary
private Resources()