Annotation Interface PropertyReflectionConfig


While the test classes are capable of auto-detecting JavaProperties you need to adjust them from time to time. With this annotation you can do this for all properties detected
Author:
Oliver Wolff
  • Element Details

    • skip

      boolean skip
      Returns:
      boolean indicating whether to scan the class at all. if it is set true there will be no scanning at all.
      Default:
      false
    • exclude

      Returns:
      an array of properties, identified by their names that are not to be considered for the tests: black-list. At this level of configuration this will skip the actual reflection-based scanning for that properties as well
      Default:
      {}
    • of

      Returns:
      an array of properties, identified by their names that are to be considered for the tests: white-list
      Default:
      {}
    • required

      Returns:
      an array of properties, identified by their names that are to be treated as required properties, see PropertyMetadata.isRequired()
      Default:
      {}
    • transientProperties

      Returns:
      an array of properties, identified by their names that are to be treated as transient properties, see PropertyMemberInfo.TRANSIENT
      Default:
      {}
    • defaultValued

      Returns:
      an array of properties, identified by their names that are to be treated as having a default values, see PropertyMetadata.isDefaultValue()
      Default:
      {}
    • readOnly

      Returns:
      an array of properties, identified by their names that are to be treated as being read-only, see PropertyReadWrite.READ_ONLY, usually used in conjunction with defaultValued()
      Default:
      {}
    • writeOnly

      Returns:
      an array of properties, identified by their names that are to be treated as being write-only, see PropertyReadWrite.WRITE_ONLY, usually used in cases where a property to be written will result in other properties but itself can not be accessed directly
      Default:
      {}
    • assertUnorderedCollection

      Returns:
      an array of properties, identified by their names representing at least a Collection that are to be asserted ignoring the concrete order, see PropertyConfig.assertionStrategy() and AssertionStrategy.COLLECTION_IGNORE_ORDER. The default implementation will always respect / assert the same order of elements.
      Default:
      {}