Annotation Type 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
      String[] propertiesName
      Names of properties to preserve
    • Element Detail

      • propertiesName

        String[] propertiesName
        Names of properties to preserve