Annotation Type VerifyComponentProperties
-
@Repeatable(de.cuioss.test.jsf.config.component.VerifyComponentPropertiesRepeat.class) @Retention(RUNTIME) @Target(TYPE) public @interface VerifyComponentProperties
If used onAbstractComponentTesttype configures the property-tests.In essence it checks the getters and setters. As default it assumes the individual properties to not provide a default value. This can be controlled using
defaultValued()- Author:
- Oliver Wolff
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]assertUnorderedCollectionString[]defaultValuedString[]noValueExpressionString[]of
-
-
-
-
defaultValued
String[] defaultValued
- Returns:
- a number of properties, identified by their names that are to be
treated as having a default values, see
PropertyMetadata.isDefaultValue()
- Default:
- {}
-
-
-
noValueExpression
String[] noValueExpression
- Returns:
- a number of properties, identified by their names that are to be
ignore on the tests with
ValueExpressions. Caution the need of the configuration hints on an invalid implementation, because all properties should considerValueExpressions.
- Default:
- {}
-
-
-
assertUnorderedCollection
String[] assertUnorderedCollection
- Returns:
- a number of properties, identified by their names representing at
least a
Collectionthat are to be asserted ignoring the concrete order, seePropertyConfig.assertionStrategy()andAssertionStrategy.COLLECTION_IGNORE_ORDER. The default implementation will always respect / assert the same order of elements.
- Default:
- {}
-
-