Package rife.bld.testing
Class BlankSource.BlankArgumentsProvider
java.lang.Object
rife.bld.testing.BlankSource.BlankArgumentsProvider
- All Implemented Interfaces:
ArgumentsProvider
- Enclosing class:
- BlankSource
ArgumentsProvider implementation backing BlankSource.
Provides a fixed Stream of Arguments containing blank strings
for use with JUnit parameterized tests. This provider is not intended to be
used directly; it is wired via ArgumentsSource on the BlankSource
annotation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprovideArguments(ParameterDeclarations parameters, ExtensionContext context) Provides the blank string arguments for the parameterized test.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.junit.jupiter.params.provider.ArgumentsProvider
provideArguments
-
Constructor Details
-
BlankArgumentsProvider
public BlankArgumentsProvider()
-
-
Method Details
-
provideArguments
public Stream<? extends Arguments> provideArguments(ParameterDeclarations parameters, ExtensionContext context) Provides the blank string arguments for the parameterized test.- Specified by:
provideArgumentsin interfaceArgumentsProvider- Parameters:
parameters- the parameter declarations for the test method, as provided by JUnitcontext- the current extension context, as provided by JUnit- Returns:
- a stream of
Argumentscontaining blank strings: empty, space, multiple spaces, tab, newline and CRLF
-