Top Description Methods
org.junit.jupiter.params.provider

public @Interface NullAndEmptySource

extends Annotation
Annotations
@Target:ANNOTATION_TYPE, METHOD, TYPE
@Retention:RUNTIME
@Documented
@Inherited
@API
status:STABLE
since:5.7
@NullSource
@EmptySource
Static Imports
org.apiguardian.api.API.Status.STABLE

@NullAndEmptySource is a composed annotation that combines the functionality of @NullSource and @EmptySource.

Annotating a @ParameterizedClass or @ParameterizedTest with @NullAndEmptySource is equivalent to annotating the method with both @NullSource and @EmptySource.

Inheritance

This annotation is inherited to subclasses.

Since
5.4
See Also
org.junit.jupiter.params.ParameterizedClass, org.junit.jupiter.params.ParameterizedTest, NullSource, EmptySource

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString