Class BlankSource.BlankArgumentsProvider

java.lang.Object
rife.bld.testing.BlankSource.BlankArgumentsProvider
All Implemented Interfaces:
ArgumentsProvider
Enclosing class:
BlankSource

public static class BlankSource.BlankArgumentsProvider extends Object implements ArgumentsProvider
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 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:
      provideArguments in interface ArgumentsProvider
      Parameters:
      parameters - the parameter declarations for the test method, as provided by JUnit
      context - the current extension context, as provided by JUnit
      Returns:
      a stream of Arguments containing blank strings: empty, space, multiple spaces, tab, newline and CRLF