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

public @Interface EmptySource

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

@EmptySource is an ArgumentsSource which provides a single empty argument to the annotated @ParameterizedClass or @ParameterizedTest.

Supported Parameter Types

This argument source will only provide an empty argument for the following parameter types.

Inheritance

This annotation is inherited to subclasses.

Since
5.4
See Also
org.junit.jupiter.params.provider.ArgumentsSource, org.junit.jupiter.params.ParameterizedClass, org.junit.jupiter.params.ParameterizedTest, NullSource, NullAndEmptySource

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString