Package org.junit.jupiter.api.util
@NullMarked
package org.junit.jupiter.api.util
java.util-related support in JUnit Jupiter.- See Also:
-
ClassDescription
@ClearSystemPropertyis a JUnit Jupiter extension to clear the value of a system property for a test execution.Containing annotation of repeatable@ClearSystemProperty.@DefaultLocaleis a JUnit Jupiter extension for changing the value returned byLocale.getDefault()for a test execution.@DefaultTimeZoneis a JUnit Jupiter extension for changing the value returned byTimeZone.getDefault()for a test execution.CustomLocaleprovider for use withDefaultLocale.localeProvider().Marks tests that read the default locale but don't use the@DefaultLocaleextension themselves.Marks tests that read the default time zone but don't use the@DefaultTimeZoneextension themselves.Marks tests that read system properties but don't use the system property extension themselves.@RestoreSystemPropertiesis a JUnit Jupiter extension to restore the entire set of system properties to the original value, or the value of the higher-level container, after the annotated element is complete.@SetSystemPropertyis a JUnit Jupiter extension to set the value of a system property for a test execution.Containing annotation of repeatable@SetSystemProperty.CustomTimeZoneprovider for use withDefaultTimeZone.timeZoneProvider().Marks tests that write the default locale but don't use the@DefaultLocaleextension themselves.Marks tests that write the default time zone but don't use the@DefaultTimeZoneextension themselves.Marks tests that write system properties but don't use the system property extension themselves.