-
@Retention(RUNTIME) @Target({CONSTRUCTOR,METHOD,PACKAGE,TYPE}) @Inherited public @interface ReadsSystemPropertyMarks tests that read system properties but don't use the system property extension themselves.During parallel test execution, all tests annotated with
ClearSystemProperty,SetSystemProperty,ReadsSystemProperty, andWritesSystemPropertyare scheduled in a way that guarantees correctness under mutation of shared global state.For more details and examples, see the documentation on
@ClearSystemPropertyand@SetSystemProperty.- Since:
- 0.9