Package org.junit.jupiter.api.parallel
Class Resources
java.lang.Object
org.junit.jupiter.api.parallel.Resources
@API(status=EXPERIMENTAL,
since="5.3")
public class Resources
extends java.lang.Object
Common resource names for synchronizing test execution.
- Since:
- 5.3
- See Also:
ResourceLock
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringGLOBALRepresents the global resource lock: "org.junit.platform.engine.support.hierarchical.ExclusiveResource.GLOBAL_KEY"static java.lang.StringLOCALERepresents the default locale for the current instance of the JVM: "java.util.Locale.default"static java.lang.StringSYSTEM_ERRRepresents the standard error stream of the current process: "java.lang.System.err"static java.lang.StringSYSTEM_OUTRepresents the standard output stream of the current process: "java.lang.System.out"static java.lang.StringSYSTEM_PROPERTIESRepresents Java's system properties: "java.lang.System.properties"static java.lang.StringTIME_ZONERepresents the default time zone for the current instance of the JVM: "java.util.TimeZone.default" -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
SYSTEM_PROPERTIES
public static final java.lang.String SYSTEM_PROPERTIESRepresents Java's system properties: "java.lang.System.properties"- See Also:
System.getProperties(),System.setProperties(java.util.Properties), Constant Field Values
-
SYSTEM_OUT
public static final java.lang.String SYSTEM_OUTRepresents the standard output stream of the current process: "java.lang.System.out"- See Also:
System.out,System.setOut(java.io.PrintStream), Constant Field Values
-
SYSTEM_ERR
public static final java.lang.String SYSTEM_ERRRepresents the standard error stream of the current process: "java.lang.System.err"- See Also:
System.err,System.setErr(java.io.PrintStream), Constant Field Values
-
LOCALE
@API(status=EXPERIMENTAL, since="5.4") public static final java.lang.String LOCALERepresents the default locale for the current instance of the JVM: "java.util.Locale.default"- Since:
- 5.4
- See Also:
Locale.setDefault(java.util.Locale), Constant Field Values
-
TIME_ZONE
@API(status=EXPERIMENTAL, since="5.4") public static final java.lang.String TIME_ZONERepresents the default time zone for the current instance of the JVM: "java.util.TimeZone.default"- Since:
- 5.4
- See Also:
TimeZone.setDefault(java.util.TimeZone), Constant Field Values
-
GLOBAL
@API(status=EXPERIMENTAL, since="5.8") public static final java.lang.String GLOBALRepresents the global resource lock: "org.junit.platform.engine.support.hierarchical.ExclusiveResource.GLOBAL_KEY"- Since:
- 5.8
- See Also:
Isolated,org.junit.platform.engine.support.hierarchical.ExclusiveResource, Constant Field Values
-