Annotation Type ReadsDefaultTimeZone
@Retention(RUNTIME)
@Target({CONSTRUCTOR,METHOD,PACKAGE,TYPE})
@Inherited
public @interface ReadsDefaultTimeZone
Marks tests that read the default time zone but don't use the time zone extension themselves.
During
parallel test execution,
all tests annotated with DefaultTimeZone, ReadsDefaultTimeZone, and WritesDefaultTimeZone
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