Annotation Type AssertJAssertionsWrapper
-
public @interface AssertJAssertionsWrapper
TheAssertJAssertionsWrapper
transforms all assertThat-methods of a class (specified byvalue()
to assertThat and assertThatWithin methods which expect a corresponding supplier. The methods to be transformed have to fulfill all of these criteria: The generated assertThat methods expect a supplier and offer the possibility to wait for a certain time until the assertion is successful.- Since:
- 3.1.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<?>
value
The class whose method should be transformed
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<?>[]
excludes
Methods whose first parameter type is mentioned in the excludes list are excluded from transformation.java.lang.Class<?>[]
includes
Methods whose first parameter type is mentioned in the includes list are included from transformation.
-
-
-
-
excludes
java.lang.Class<?>[] excludes
Methods whose first parameter type is mentioned in the excludes list are excluded from transformation. This means if at least one type is specified all the methods having a first parameter type which is not mentioned are considered for transformation.- Returns:
- excluded methods' first parameter type
- Since:
- 3.1.0
- Default:
- {}
-
-
-
includes
java.lang.Class<?>[] includes
Methods whose first parameter type is mentioned in the includes list are included from transformation. This means if at least one type is specified all the methods having a first parameter type which is not mentioned are not considered for transformation.- Returns:
- included methods' first parameter type
- Since:
- 3.1.0
- Default:
- {}
-
-