Annotation Interface PreserveSystemProperties


@Target(METHOD) @Retention(RUNTIME) public @interface PreserveSystemProperties
Marks that test will modify system properties and which of them should be preserved before and restored after running the test.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Names of properties to preserve
  • Element Details

    • propertiesName

      String[] propertiesName
      Names of properties to preserve