Class Resources


  • @API(status=EXPERIMENTAL,
         since="5.3")
    public class Resources
    extends Object
    Common resource names for synchronizing test execution.
    Since:
    5.3
    See Also:
    ResourceLock
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String GLOBAL
      Represents the global resource lock: "org.junit.platform.engine.support.hierarchical.ExclusiveResource.GLOBAL_KEY"
      static String LOCALE
      Represents the default locale for the current instance of the JVM: "java.util.Locale.default"
      static String SYSTEM_ERR
      Represents the standard error stream of the current process: "java.lang.System.err"
      static String SYSTEM_OUT
      Represents the standard output stream of the current process: "java.lang.System.out"
      static String SYSTEM_PROPERTIES
      Represents Java's system properties: "java.lang.System.properties"
      static String TIME_ZONE
      Represents the default time zone for the current instance of the JVM: "java.util.TimeZone.default"