Annotation Type WritesDefaultLocale
@Retention(RUNTIME)
@Target({CONSTRUCTOR,METHOD,PACKAGE,TYPE})
@Inherited
public @interface WritesDefaultLocale
Marks tests that write the default locale but don't use the locale extension themselves.
During
parallel test execution,
all tests annotated with DefaultLocale, ReadsDefaultLocale, and WritesDefaultLocale
are scheduled in a way that guarantees correctness under mutation of shared global state.
For more details and examples, see
the documentation on @DefaultLocale and @DefaultTimeZone.
- Since:
- 0.9