Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(Object...) - Method in class org.junitpioneer.jupiter.CartesianProductTest.Sets
-
Deprecated.Creates a single set of distinct objects (according to
Object.equals(Object)
) for a CartesianProductTest from the passed objects. - addAll(Iterable<?>) - Method in class org.junitpioneer.jupiter.CartesianProductTest.Sets
-
Deprecated.Creates a single set of distinct objects (according to
Object.equals(Object)
) for a CartesianProductTest from the elements of the passedIterable
. - addAll(Collection<?>) - Method in class org.junitpioneer.jupiter.CartesianProductTest.Sets
-
Deprecated.Creates a single set of distinct objects (according to
Object.equals(Object)
) for a CartesianProductTest from the elements of the passedCollection
. - addAll(Stream<?>) - Method in class org.junitpioneer.jupiter.CartesianProductTest.Sets
-
Deprecated.Creates a single set of distinct objects (according to
Object.equals(Object)
) for a CartesianProductTest from the elements of the passedStream
. - ALWAYS - Enum constant in enum org.junitpioneer.jupiter.ReportEntry.PublishCondition
-
Publish report entry after test run, regardless of its outcome (this is the default value)
- ARGUMENTS_PLACEHOLDER - Static variable in class org.junitpioneer.internal.TestNameFormatter
- ARGUMENTS_PLACEHOLDER - Static variable in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest
-
Placeholder for the complete, comma-separated arguments list of the current invocation of a
@CartesianTest
method:{arguments}
- ArgumentSets - Class in org.junitpioneer.jupiter.cartesian
-
Class for defining sets to a
CartesianTest
execution with arguments for each parameter in the order in which they appear in the test method. - argumentsForFirstParameter(Collection<T>) - Static method in class org.junitpioneer.jupiter.cartesian.ArgumentSets
-
Creates a single set of distinct objects (according to their
equals
) for the first parameter of aCartesianTest
from the elements of the passedCollection
. - argumentsForFirstParameter(Stream<T>) - Static method in class org.junitpioneer.jupiter.cartesian.ArgumentSets
- argumentsForFirstParameter(T...) - Static method in class org.junitpioneer.jupiter.cartesian.ArgumentSets
-
Creates a single set of distinct objects (according to their
equals
) for the first parameter of aCartesianTest
from the elements of the passed objects. - argumentsForNextParameter(Collection<T>) - Method in class org.junitpioneer.jupiter.cartesian.ArgumentSets
-
Creates a single set of distinct objects (according to their
equals
) for the next parameter of aCartesianTest
from the elements of the passedCollection
. - argumentsForNextParameter(Stream<T>) - Method in class org.junitpioneer.jupiter.cartesian.ArgumentSets
- argumentsForNextParameter(T...) - Method in class org.junitpioneer.jupiter.cartesian.ArgumentSets
-
Creates a single set of distinct objects (according to their
equals
) for the next parameter of aCartesianTest
from the elements of the passed objects.
B
- booleans() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest.Values
-
The
boolean
values to use as sources of arguments; must not be empty. - booleans() - Element in annotation type org.junitpioneer.jupiter.CartesianValueSource
-
Deprecated.The
boolean
values to use as sources of arguments; must not be empty. - ByteRangeSource - Annotation Type in org.junitpioneer.jupiter.params
- ByteRangeSource.ByteRangeSources - Annotation Type in org.junitpioneer.jupiter.params
-
Containing annotation of repeatable
ByteRangeSource
. - bytes() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest.Values
-
The
byte
values to use as sources of arguments; must not be empty. - bytes() - Element in annotation type org.junitpioneer.jupiter.CartesianValueSource
-
Deprecated.The
byte
values to use as sources of arguments; must not be empty.
C
- capturedLines() - Method in class org.junitpioneer.jupiter.StdIn
- capturedLines() - Method in class org.junitpioneer.jupiter.StdOut
- CartesianAnnotationConsumer<A extends Annotation> - Interface in org.junitpioneer.jupiter
-
Deprecated.has been superseded by CartesianArgumentsProvider
- CartesianArgumentsSource - Annotation Type in org.junitpioneer.jupiter.cartesian
-
@CartesianArgumentsSource
is an annotation that is used to register cartesian argument providers for the annotated test parameter in case ofCartesianParameterArgumentsProvider
or for all the test parameters in case ofCartesianMethodArgumentsProvider
. - CartesianEnumSource - Annotation Type in org.junitpioneer.jupiter
-
Deprecated.scheduled to be removed in 2.0, use
CartesianTest.Enum
instead. - CartesianEnumSource.CartesianEnumSources - Annotation Type in org.junitpioneer.jupiter
-
Deprecated.scheduled to be removed in 2.0
- CartesianEnumSource.Mode - Enum in org.junitpioneer.jupiter
-
Deprecated.Enumeration of modes for selecting enum constants by name.
- CartesianMethodArgumentsProvider - Interface in org.junitpioneer.jupiter.cartesian
-
Provides arguments for all parameters of a
CartesianTest
method. - CartesianParameterArgumentsProvider<T> - Interface in org.junitpioneer.jupiter.cartesian
-
Provides arguments for a single parameter of a
CartesianTest
method. - cartesianProduct(List<List<?>>) - Static method in class org.junitpioneer.internal.PioneerUtils
- CartesianProductTest - Annotation Type in org.junitpioneer.jupiter
-
Deprecated.has been superseded by CartesianTest, scheduled to be removed in 2.0
- CartesianProductTest.Sets - Class in org.junitpioneer.jupiter
-
Deprecated.CartesianProductTest has been superseded by CartesianTest, scheduled to be removed in 2.0
- CartesianTest - Annotation Type in org.junitpioneer.jupiter.cartesian
-
@CartesianTest
is a JUnit Jupiter extension that marks a test to be executed with all possible input combinations. - CartesianTest.Enum - Annotation Type in org.junitpioneer.jupiter.cartesian
-
Parameter annotation to be used with
CartesianTest
for providing enum values. - CartesianTest.Enum.Mode - Enum in org.junitpioneer.jupiter.cartesian
-
Enumeration of modes for selecting enum constants by name.
- CartesianTest.MethodFactory - Annotation Type in org.junitpioneer.jupiter.cartesian
-
Points to a method to provide parameter values for a
CartesianTest
. - CartesianTest.Values - Annotation Type in org.junitpioneer.jupiter.cartesian
-
Parameter annotation to be used with
CartesianTest
for providing simple values. - CartesianValueSource - Annotation Type in org.junitpioneer.jupiter
-
Deprecated.scheduled to be removed in 2.0, use
CartesianTest.Values
instead. - CartesianValueSource.CartesianValueSources - Annotation Type in org.junitpioneer.jupiter
-
Deprecated.scheduled to be removed in 2.0
- chars() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest.Values
-
The
char
values to use as sources of arguments; must not be empty. - chars() - Element in annotation type org.junitpioneer.jupiter.CartesianValueSource
-
Deprecated.The
char
values to use as sources of arguments; must not be empty. - classes() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest.Values
-
The
Class
values to use as sources of arguments; must not be empty. - classes() - Element in annotation type org.junitpioneer.jupiter.CartesianValueSource
-
Deprecated.The
Class
values to use as sources of arguments; must not be empty. - ClearEnvironmentVariable - Annotation Type in org.junitpioneer.jupiter
-
@ClearEnvironmentVariable
is a JUnit Jupiter extension to clear the value of a environment variable for a test execution. - ClearEnvironmentVariable.ClearEnvironmentVariables - Annotation Type in org.junitpioneer.jupiter
-
Containing annotation of repeatable
@ClearEnvironmentVariable
. - ClearSystemProperty - Annotation Type in org.junitpioneer.jupiter
-
@ClearSystemProperty
is a JUnit Jupiter extension to clear the value of a system property for a test execution. - ClearSystemProperty.ClearSystemProperties - Annotation Type in org.junitpioneer.jupiter
-
Containing annotation of repeatable
@ClearSystemProperty
. - closed() - Element in annotation type org.junitpioneer.jupiter.params.ByteRangeSource
-
Whether the range is closed (inclusive of the
ByteRangeSource.to()
) or not. - closed() - Element in annotation type org.junitpioneer.jupiter.params.DoubleRangeSource
-
Whether the range is closed (inclusive of the
DoubleRangeSource.to()
) or not. - closed() - Element in annotation type org.junitpioneer.jupiter.params.FloatRangeSource
-
Whether the range is closed (inclusive of the
FloatRangeSource.to()
) or not. - closed() - Element in annotation type org.junitpioneer.jupiter.params.IntRangeSource
-
Whether the range is closed (inclusive of the
IntRangeSource.to()
) or not. - closed() - Element in annotation type org.junitpioneer.jupiter.params.LongRangeSource
-
Whether the range is closed (inclusive of the
LongRangeSource.to()
) or not. - closed() - Element in annotation type org.junitpioneer.jupiter.params.ShortRangeSource
-
Whether the range is closed (inclusive of the
ShortRangeSource.to()
) or not. - contains() - Element in annotation type org.junitpioneer.jupiter.params.DisableIfAllArguments
-
Disable test cases if all arguments (converted to String with
Object.toString()
) contain any of the the specified strings (according toString.contains(CharSequence)
). - contains() - Element in annotation type org.junitpioneer.jupiter.params.DisableIfAnyArgument
-
Disable test cases if any argument (converted to String with
Object.toString()
) contains any of the the specified strings (according toString.contains(CharSequence)
). - contains() - Element in annotation type org.junitpioneer.jupiter.params.DisableIfArgument
-
Disable test cases whose argument (converted to String with
Object.toString()
) contains any of the the specified strings (according toString.contains(CharSequence)
). - contains() - Element in annotation type org.junitpioneer.jupiter.params.DisableIfDisplayName
-
Disable test cases whose display name contain the specified strings (according to
String.contains(CharSequence)
). - country() - Element in annotation type org.junitpioneer.jupiter.DefaultLocale
-
An ISO 3166 alpha-2 country code or a UN M.49 numeric-3 area code.
- create() - Static method in class org.junitpioneer.jupiter.cartesian.ArgumentSets
-
Creates a new
ArgumentSets
without arguments for any parameters.
D
- data() - Element in annotation type org.junitpioneer.jupiter.json.JsonClasspathSource
-
The name of the element from which the data should be extracted from.
- data() - Element in annotation type org.junitpioneer.jupiter.json.JsonFileSource
-
The name of the element from which the data should be extracted from.
- date() - Element in annotation type org.junitpioneer.jupiter.DisabledUntil
-
The date until which this annotated test class or test method should be disabled as an ISO 8601 string in the format yyyy-MM-dd, e.g.
- DefaultLocale - Annotation Type in org.junitpioneer.jupiter
-
@DefaultLocale
is a JUnit Jupiter extension to change the value returned byLocale.getDefault()
for a test execution. - DefaultTimeZone - Annotation Type in org.junitpioneer.jupiter
-
@DefaultTimeZone
is a JUnit Jupiter extension to change the value returned byTimeZone.getDefault()
for a test execution. - DisabledUntil - Annotation Type in org.junitpioneer.jupiter
-
@DisabledUntil
is a JUnit Jupiter extension to mark tests that shouldn't be executed until a given date, essentially disabling a test temporarily. - DisableIfAllArguments - Annotation Type in org.junitpioneer.jupiter.params
-
@DisableIfAllArguments
is a JUnit Jupiter extension that selectively disables aParameterizedTest
execution if all arguments (as defined byObject.toString()
) satisfy the specified condition. - DisableIfAnyArgument - Annotation Type in org.junitpioneer.jupiter.params
-
@DisableIfAnyArgument
is a JUnit Jupiter extension that selectively disables aParameterizedTest
execution if at least one argument (as defined byObject.toString()
) satisfies the specified condition. - DisableIfArgument - Annotation Type in org.junitpioneer.jupiter.params
-
@DisableIfArgument
is a JUnit Jupiter extension that selectively disables aParameterizedTest
execution if the specified argument (as defined byObject.toString()
) satisfies the specified condition. - DisableIfArgument.DisableIfArguments - Annotation Type in org.junitpioneer.jupiter.params
-
Containing annotation of repeatable
DisableIfArgument
. - DisableIfDisplayName - Annotation Type in org.junitpioneer.jupiter.params
-
@DisableIfDisplayName
is a JUnit Jupiter extension that can be used to selectively disable aParameterizedTest
execution based on theirdisplay name
. - DisableIfTestFails - Annotation Type in org.junitpioneer.jupiter
-
Disables all remaining tests in a container if one of them failed.
- DISPLAY_NAME_PLACEHOLDER - Static variable in class org.junitpioneer.internal.TestNameFormatter
- DISPLAY_NAME_PLACEHOLDER - Static variable in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest
-
Placeholder for the display name of a
@CartesianTest
:{displayName}
- DISPLAY_NAME_PLACEHOLDER - Static variable in annotation type org.junitpioneer.jupiter.RetryingTest
-
Placeholder for the display name of a
@RetryingTest
:{displayName}
- distinctToSet() - Static method in class org.junitpioneer.internal.PioneerUtils
- DoubleRangeSource - Annotation Type in org.junitpioneer.jupiter.params
- DoubleRangeSource.DoubleRangeSources - Annotation Type in org.junitpioneer.jupiter.params
-
Containing annotation of repeatable
DoubleRangeSource
. - doubles() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest.Values
-
The
double
values to use as sources of arguments; must not be empty. - doubles() - Element in annotation type org.junitpioneer.jupiter.CartesianValueSource
-
Deprecated.The
double
values to use as sources of arguments; must not be empty.
E
- equals(Object) - Method in class org.junitpioneer.jupiter.IssueTestCase
- equals(Object) - Method in class org.junitpioneer.jupiter.IssueTestSuite
- EXCLUDE - Enum constant in enum org.junitpioneer.jupiter.cartesian.CartesianTest.Enum.Mode
-
Select all declared enum constants except those supplied via the
CartesianTest.Enum.names()
attribute. - EXCLUDE - Enum constant in enum org.junitpioneer.jupiter.CartesianEnumSource.Mode
-
Deprecated.Select all declared enum constants except those supplied via the
CartesianEnumSource.names()
attribute. - executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junitpioneer.jupiter.issue.IssueExtensionExecutionListener
- expected() - Element in annotation type org.junitpioneer.vintage.Test
-
Deprecated.Optionally specify
expected
, a Throwable, to cause a test method to succeed if and only if an exception of the specified class is thrown by the method. - ExpectedToFail - Annotation Type in org.junitpioneer.jupiter
-
@ExpectedToFail
is a JUnit Jupiter extension to mark test methods as temporarily 'expected to fail'.
F
- factory() - Element in annotation type org.junitpioneer.jupiter.CartesianProductTest
-
Deprecated.Specifies the name of the method that supplies the
Sets
for the test. - findAllContexts(ExtensionContext) - Static method in class org.junitpioneer.internal.PioneerUtils
-
Find all (parent)
ExtensionContext
s viaExtensionContext.getParent()
. - findAllEnclosingAnnotations(ExtensionContext, Class<A>) - Static method in class org.junitpioneer.internal.PioneerAnnotationUtils
-
Returns the specified annotations if they are either present, indirectly present, meta-present, or enclosing-present on the test element (method or class) belonging to the specified
context
. - findAllEnclosingRepeatableAnnotations(ExtensionContext, Class<A>) - Static method in class org.junitpioneer.internal.PioneerAnnotationUtils
-
Returns the specified repeatable annotations if they are either present, indirectly present, meta-present, or enclosing-present on the test element (method or class) belonging to the specified
context
. - findAnnotatedAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junitpioneer.internal.PioneerAnnotationUtils
-
Returns the annotations present on the
AnnotatedElement
that are themselves annotated with the specified annotation. - findClosestEnclosingAnnotation(ExtensionContext, Class<A>) - Static method in class org.junitpioneer.internal.PioneerAnnotationUtils
-
Returns the specified annotation if it is either present, meta-present, enclosing-present, or indirectly present on the test element (method or class) belonging to the specified
context
. - findClosestEnclosingRepeatableAnnotations(ExtensionContext, Class<A>) - Static method in class org.junitpioneer.internal.PioneerAnnotationUtils
-
Returns the specified repeatable annotations if they are either present, indirectly present, meta-present, or enclosing-present on the test element (method or class) belonging to the specified
context
. - findMethodArgumentsSources(Method) - Static method in class org.junitpioneer.internal.PioneerAnnotationUtils
- findMethodCurrentOrEnclosing(Class<?>, String, Class<?>...) - Static method in class org.junitpioneer.internal.PioneerUtils
-
Find the first
Method
of the supplied class or interface that meets the specified criteria, beginning with the specified class or interface and traversing its enclosing classes until such a method is found or the top level class is reached. - findParameterArgumentsSources(Method) - Static method in class org.junitpioneer.internal.PioneerAnnotationUtils
- FloatRangeSource - Annotation Type in org.junitpioneer.jupiter.params
- FloatRangeSource.FloatRangeSources - Annotation Type in org.junitpioneer.jupiter.params
-
Containing annotation of repeatable
FloatRangeSource
. - floats() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest.Values
-
The
float
values to use as sources of arguments; must not be empty. - floats() - Element in annotation type org.junitpioneer.jupiter.CartesianValueSource
-
Deprecated.The
float
values to use as sources of arguments; must not be empty. - format(int, Object...) - Method in class org.junitpioneer.internal.TestNameFormatter
- from() - Element in annotation type org.junitpioneer.jupiter.params.ByteRangeSource
-
The starting point of the range, inclusive.
- from() - Element in annotation type org.junitpioneer.jupiter.params.DoubleRangeSource
-
The starting point of the range, inclusive.
- from() - Element in annotation type org.junitpioneer.jupiter.params.FloatRangeSource
-
The starting point of the range, inclusive.
- from() - Element in annotation type org.junitpioneer.jupiter.params.IntRangeSource
-
The starting point of the range, inclusive.
- from() - Element in annotation type org.junitpioneer.jupiter.params.LongRangeSource
-
The starting point of the range, inclusive.
- from() - Element in annotation type org.junitpioneer.jupiter.params.ShortRangeSource
-
The starting point of the range, inclusive.
H
- hashCode() - Method in class org.junitpioneer.jupiter.IssueTestCase
- hashCode() - Method in class org.junitpioneer.jupiter.IssueTestSuite
I
- INCLUDE - Enum constant in enum org.junitpioneer.jupiter.cartesian.CartesianTest.Enum.Mode
-
Select only those enum constants whose names are supplied via the
CartesianTest.Enum.names()
attribute. - INCLUDE - Enum constant in enum org.junitpioneer.jupiter.CartesianEnumSource.Mode
-
Deprecated.Select only those enum constants whose names are supplied via the
CartesianEnumSource.names()
attribute. - index() - Element in annotation type org.junitpioneer.jupiter.params.DisableIfArgument
-
The index of the parameter the extension checks, starting from 0.
- INDEX_PLACEHOLDER - Static variable in class org.junitpioneer.internal.TestNameFormatter
- INDEX_PLACEHOLDER - Static variable in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest
-
Placeholder for the current invocation index of a
@CartesianTest
method (1-based):{index}
- INDEX_PLACEHOLDER - Static variable in annotation type org.junitpioneer.jupiter.RetryingTest
-
Placeholder for the current invocation index of a
@RetryingTest
method (1-based):{index}
- IntRangeSource - Annotation Type in org.junitpioneer.jupiter.params
- IntRangeSource.IntRangeSources - Annotation Type in org.junitpioneer.jupiter.params
-
Containing annotation of repeatable
IntRangeSource
. - ints() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest.Values
-
The
int
values to use as sources of arguments; must not be empty. - ints() - Element in annotation type org.junitpioneer.jupiter.CartesianValueSource
-
Deprecated.The
int
values to use as sources of arguments; must not be empty. - isAnnotationPresent(ExtensionContext, Class<? extends Annotation>) - Static method in class org.junitpioneer.internal.PioneerAnnotationUtils
-
Determines whether an annotation of the specified
annotationType
is either present, indirectly present, meta-present, or enclosing-present on the test element (method or class) belonging to the specifiedcontext
. - isAnyRepeatableAnnotationPresent(ExtensionContext, Class<? extends Annotation>) - Static method in class org.junitpioneer.internal.PioneerAnnotationUtils
-
Determines whether an annotation of the specified repeatable
annotationType
is either present, indirectly present, meta-present, or enclosing-present on the test element (method or class) belonging to the specifiedcontext
. - isContainerAnnotation(Annotation) - Static method in class org.junitpioneer.internal.PioneerAnnotationUtils
- Issue - Annotation Type in org.junitpioneer.jupiter
-
@Issue
is a JUnit Jupiter extension to mark tests that exist to cover an issue, like a requirement or a bugfix. - IssueExtensionExecutionListener - Class in org.junitpioneer.jupiter.issue
-
This listener collects the names and results of all tests, which are annotated with the
@Issue
annotation. - IssueExtensionExecutionListener() - Constructor for class org.junitpioneer.jupiter.issue.IssueExtensionExecutionListener
- issueId() - Method in class org.junitpioneer.jupiter.IssueTestSuite
-
Returns the value of the
Issue
annotation. - IssueProcessor - Interface in org.junitpioneer.jupiter
-
This interfaces offers a method to process the results of `@Issue` annotated test cases.
- IssueTestCase - Class in org.junitpioneer.jupiter
-
Represents the execution result of test method, which is annotated with
Issue
. - IssueTestCase(String, TestExecutionResult.Status) - Constructor for class org.junitpioneer.jupiter.IssueTestCase
-
Constructor with all attributes.
- IssueTestSuite - Class in org.junitpioneer.jupiter
-
Represents the execution result of test method, which is annotated with
Issue
. - IssueTestSuite(String, List<IssueTestCase>) - Constructor for class org.junitpioneer.jupiter.IssueTestSuite
-
Constructor with all attributes.
J
- JsonClasspathSource - Annotation Type in org.junitpioneer.jupiter.json
-
@JsonClasspathSource
is anArgumentsSource
that loads JSON from a classpath resource, parses it, and passes it as arguments to a parametrized test. - JsonFileSource - Annotation Type in org.junitpioneer.jupiter.json
-
@JsonFileSource
is anArgumentsSource
that loads JSON from a file, parses it, and passes it as arguments to a parametrized test. - JsonSource - Annotation Type in org.junitpioneer.jupiter.json
-
@JsonSource
is anArgumentsSource
that parses inline JSON and passes it as arguments to a parametrized test.
K
- key() - Element in annotation type org.junitpioneer.jupiter.ClearEnvironmentVariable
-
The key of the environment variable to be cleared.
- key() - Element in annotation type org.junitpioneer.jupiter.ClearSystemProperty
-
The key of the system property to be cleared.
- key() - Element in annotation type org.junitpioneer.jupiter.ReportEntry
-
Specifies the key of the pair that's to be published as a report entry.
- key() - Element in annotation type org.junitpioneer.jupiter.SetEnvironmentVariable
-
The key of the system property to be set.
- key() - Element in annotation type org.junitpioneer.jupiter.SetSystemProperty
-
The key of the system property to be set.
L
- language() - Element in annotation type org.junitpioneer.jupiter.DefaultLocale
-
An ISO 639 alpha-2 or alpha-3 language code, or a language subtag up to 8 characters in length.
- LongRangeSource - Annotation Type in org.junitpioneer.jupiter.params
- LongRangeSource.LongRangeSources - Annotation Type in org.junitpioneer.jupiter.params
-
Containing annotation of repeatable
LongRangeSource
. - longs() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest.Values
-
The
long
values to use as sources of arguments; must not be empty. - longs() - Element in annotation type org.junitpioneer.jupiter.CartesianValueSource
-
Deprecated.The
long
values to use as sources of arguments; must not be empty.
M
- MATCH_ALL - Enum constant in enum org.junitpioneer.jupiter.cartesian.CartesianTest.Enum.Mode
-
Select only those enum constants whose names match all patterns supplied via the
CartesianTest.Enum.names()
attribute. - MATCH_ALL - Enum constant in enum org.junitpioneer.jupiter.CartesianEnumSource.Mode
-
Deprecated.Select only those enum constants whose names match all patterns supplied via the
CartesianEnumSource.names()
attribute. - MATCH_ANY - Enum constant in enum org.junitpioneer.jupiter.cartesian.CartesianTest.Enum.Mode
-
Select only those enum constants whose names match any pattern supplied via the
CartesianTest.Enum.names()
attribute. - MATCH_ANY - Enum constant in enum org.junitpioneer.jupiter.CartesianEnumSource.Mode
-
Deprecated.Select only those enum constants whose names match any pattern supplied via the
CartesianEnumSource.names()
attribute. - matches() - Element in annotation type org.junitpioneer.jupiter.params.DisableIfAllArguments
-
Disable test cases if all arguments (converted to String with
Object.toString()
) match any of the specified regular expressions (according toString.matches(String)
). - matches() - Element in annotation type org.junitpioneer.jupiter.params.DisableIfAnyArgument
-
Disable test cases if any argument (converted to String with
Object.toString()
) matches any of the specified regular expressions (according toString.matches(String)
). - matches() - Element in annotation type org.junitpioneer.jupiter.params.DisableIfArgument
-
Disable test cases whose argument (converted to String with
Object.toString()
) matches any of the specified regular expressions (according toString.matches(String)
). - matches() - Element in annotation type org.junitpioneer.jupiter.params.DisableIfDisplayName
-
Disable test cases whose display name matches the specified regular expression (according to
String.matches(java.lang.String)
). - maxAttempts() - Element in annotation type org.junitpioneer.jupiter.RetryingTest
-
Specifies how often the test is executed at most.
- minSuccess() - Element in annotation type org.junitpioneer.jupiter.RetryingTest
-
Specifies the minimum number of successful executions of the test.
- mode() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest.Enum
-
The enum constant selection mode.
- mode() - Element in annotation type org.junitpioneer.jupiter.CartesianEnumSource
-
Deprecated.The enum constant selection mode.
N
- name() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest
-
The display name to be used for individual invocations of the parameterized test; never blank or consisting solely of whitespace.
- name() - Element in annotation type org.junitpioneer.jupiter.CartesianProductTest
-
Deprecated.The display name to be used for individual invocations of the parameterized test; never blank or consisting solely of whitespace.
- name() - Element in annotation type org.junitpioneer.jupiter.params.DisableIfArgument
-
The name of the parameter the extension checks.
- name() - Element in annotation type org.junitpioneer.jupiter.RetryingTest
-
The display name to be used for individual invocations of the parameterized test; never blank or consisting solely of whitespace.
- names() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest.Enum
-
The names of enum constants to provide, or regular expressions to select the names of enum constants to provide.
- names() - Element in annotation type org.junitpioneer.jupiter.CartesianEnumSource
-
Deprecated.The names of enum constants to provide, or regular expressions to select the names of enum constants to provide.
- NoJsonParserConfiguredException - Exception in org.junitpioneer.jupiter.json
-
Indicates that no supported JSON parsing library was found at run time.
- notBlank(String, String) - Static method in class org.junitpioneer.internal.PioneerPreconditions
-
Asserts that the supplied string is not blank.
- notBlank(String, Supplier<String>) - Static method in class org.junitpioneer.internal.PioneerPreconditions
-
Asserts that the supplied string is not blank.
- notEmpty(T, String) - Static method in class org.junitpioneer.internal.PioneerPreconditions
-
Asserts that the supplied collection is not empty.
- notEmpty(T, Supplier<String>) - Static method in class org.junitpioneer.internal.PioneerPreconditions
-
Asserts that the supplied collection is not empty.
- notNull(T, String) - Static method in class org.junitpioneer.internal.PioneerPreconditions
-
Asserts that the supplied object is not null.
- notNull(T, Supplier<String>) - Static method in class org.junitpioneer.internal.PioneerPreconditions
-
Asserts that the supplied object is not null.
- NullEnum - Enum in org.junitpioneer.jupiter
-
Deprecated.for removal in favor for new
CartesianTest
. - nullSafeToString(Object) - Static method in class org.junitpioneer.internal.PioneerUtils
O
- ON_ABORTED - Enum constant in enum org.junitpioneer.jupiter.ReportEntry.PublishCondition
-
Publish report entry after test was aborted
- ON_FAILURE - Enum constant in enum org.junitpioneer.jupiter.ReportEntry.PublishCondition
-
Publish report entry after failed test run (i.e.
- ON_SUCCESS - Enum constant in enum org.junitpioneer.jupiter.ReportEntry.PublishCondition
-
Publish report entry after successful test run
- onAssertion() - Element in annotation type org.junitpioneer.jupiter.DisableIfTestFails
-
Set to
false
if failed assertions should not lead to disabling remaining tests. - onExceptions() - Element in annotation type org.junitpioneer.jupiter.RetryingTest
-
Specifies on which exceptions a failed test is retried.
- org.junitpioneer.internal - package org.junitpioneer.internal
-
Package for JUnit Pioneer implementation details.
- org.junitpioneer.jupiter - package org.junitpioneer.jupiter
-
Extensions to the JUnit Jupiter engine.
- org.junitpioneer.jupiter.cartesian - package org.junitpioneer.jupiter.cartesian
-
This package contains the
CartesianTest
extension. - org.junitpioneer.jupiter.issue - package org.junitpioneer.jupiter.issue
-
This package contains implementation details of the
@Issue
annotation. - org.junitpioneer.jupiter.json - package org.junitpioneer.jupiter.json
-
Provides parameterized test arguments from JSON (inline or file).
- org.junitpioneer.jupiter.params - package org.junitpioneer.jupiter.params
-
Several extensions for working with
ParameterizedTest
s. - org.junitpioneer.vintage - package org.junitpioneer.vintage
-
Contains extensions to JUnit Vintage, i.e. functionality that is concerned with older JUnit versions.
P
- PioneerAnnotationUtils - Class in org.junitpioneer.internal
-
Pioneer-internal utility class to handle annotations.
- PioneerPreconditions - Class in org.junitpioneer.internal
-
Pioneer-internal utility class to handle preconditions.
- PioneerUtils - Class in org.junitpioneer.internal
-
Pioneer-internal utility class.
- processTestResults(List<IssueTestSuite>) - Method in interface org.junitpioneer.jupiter.IssueProcessor
-
Processes results of `@Issue` annotated test cases grouped by the issueId, called
IssueTestSuite
. - Property - Annotation Type in org.junitpioneer.jupiter.json
-
An annotation indicating the name of the JSON property that should be extracted into the method parameter.
- provideArguments(ExtensionContext) - Method in interface org.junitpioneer.jupiter.cartesian.CartesianMethodArgumentsProvider
-
Provides an
ArgumentSets
object, containing the arguments for each parameter in order, to be used for theCartesianTest
. - provideArguments(ExtensionContext, Parameter) - Method in interface org.junitpioneer.jupiter.cartesian.CartesianParameterArgumentsProvider
-
Provides a
Stream
of arguments that needs to be used for aCartesianTest
parameter.
R
- read() - Method in class org.junitpioneer.jupiter.StdIn
- read(byte[], int, int) - Method in class org.junitpioneer.jupiter.StdIn
- ReadsDefaultLocale - Annotation Type in org.junitpioneer.jupiter
-
Marks tests that read the default locale but don't use the locale extension themselves.
- ReadsDefaultTimeZone - Annotation Type in org.junitpioneer.jupiter
-
Marks tests that read the default time zone but don't use the time zone extension themselves.
- ReadsEnvironmentVariable - Annotation Type in org.junitpioneer.jupiter
-
Marks tests that read environment variables but don't use the environment variable extension themselves.
- ReadsStdIo - Annotation Type in org.junitpioneer.jupiter
-
Marks tests that read the static fields
System.in
,System.out
orSystem.err
but don't callSystem.setIn()
,System.setOut()
orSystem.setErr()
. - ReadsSystemProperty - Annotation Type in org.junitpioneer.jupiter
-
Marks tests that read system properties but don't use the system property extension themselves.
- reason() - Element in annotation type org.junitpioneer.jupiter.DisabledUntil
-
The reason this annotated test class or test method is disabled.
- REPORT_ENTRY_KEY - Static variable in class org.junitpioneer.jupiter.issue.IssueExtensionExecutionListener
- ReportEntry - Annotation Type in org.junitpioneer.jupiter
-
Publish the specified key-value pair to be consumed by an
org.junit.platform.engine.EngineExecutionListener
in order to supply additional information to the reporting infrastructure. - ReportEntry.PublishCondition - Enum in org.junitpioneer.jupiter
-
The available values you can choose from to define for which test outcomes the extension should publish the report entry.
- ReportEntry.ReportEntries - Annotation Type in org.junitpioneer.jupiter
-
Containing annotation of repeatable
ReportEntry
. - reportingEntryPublished(TestIdentifier, ReportEntry) - Method in class org.junitpioneer.jupiter.issue.IssueExtensionExecutionListener
- result() - Method in class org.junitpioneer.jupiter.IssueTestCase
-
Returns the result of the test methods execution.
- RetryingTest - Annotation Type in org.junitpioneer.jupiter
-
@RetryingTest
is a JUnit Jupiter extension that retries a failing test a certain number of times before the test actually shows up as failing.
S
- SetEnvironmentVariable - Annotation Type in org.junitpioneer.jupiter
-
@SetEnvironmentVariable
is a JUnit Jupiter extension to set the value of a environment variable for a test execution. - SetEnvironmentVariable.SetEnvironmentVariables - Annotation Type in org.junitpioneer.jupiter
-
Containing annotation of repeatable
@SetEnvironmentVariable
. - Sets() - Constructor for class org.junitpioneer.jupiter.CartesianProductTest.Sets
-
Deprecated.
- SetSystemProperty - Annotation Type in org.junitpioneer.jupiter
-
@SetSystemProperty
is a JUnit Jupiter extension to set the value of a system property for a test execution. - SetSystemProperty.SetSystemProperties - Annotation Type in org.junitpioneer.jupiter
-
Containing annotation of repeatable
@SetSystemProperty
. - ShortRangeSource - Annotation Type in org.junitpioneer.jupiter.params
- ShortRangeSource.ShortRangeSources - Annotation Type in org.junitpioneer.jupiter.params
- shorts() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest.Values
-
The
short
values to use as sources of arguments; must not be empty. - shorts() - Element in annotation type org.junitpioneer.jupiter.CartesianValueSource
-
Deprecated.The
short
values to use as sources of arguments; must not be empty. - StdErr - Class in org.junitpioneer.jupiter
-
For details and examples, see the documentation on
Standard input/output
- StdErr() - Constructor for class org.junitpioneer.jupiter.StdErr
- StdIn - Class in org.junitpioneer.jupiter
-
For details and examples, see the documentation on
Standard input/output
- StdIn(String[]) - Constructor for class org.junitpioneer.jupiter.StdIn
- StdIo - Annotation Type in org.junitpioneer.jupiter
- StdOut - Class in org.junitpioneer.jupiter
-
For details and examples, see the documentation on
Standard input/output
- StdOut() - Constructor for class org.junitpioneer.jupiter.StdOut
- step() - Element in annotation type org.junitpioneer.jupiter.params.ByteRangeSource
-
The size of the step between the
from
and theto
. - step() - Element in annotation type org.junitpioneer.jupiter.params.DoubleRangeSource
-
The size of the step between the
from
and theto
. - step() - Element in annotation type org.junitpioneer.jupiter.params.FloatRangeSource
-
The size of the step between the
from
and theto
. - step() - Element in annotation type org.junitpioneer.jupiter.params.IntRangeSource
-
The size of the step between the
from
and theto
. - step() - Element in annotation type org.junitpioneer.jupiter.params.LongRangeSource
-
The size of the step between the
from
and theto
. - step() - Element in annotation type org.junitpioneer.jupiter.params.ShortRangeSource
-
The size of the step between the
from
and theto
. - Stopwatch - Annotation Type in org.junitpioneer.jupiter
-
@Stopwatch
is a JUnit Jupiter extension to measure the elapsed time of a test execution. - strings() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest.Values
-
The
String
values to use as sources of arguments; must not be empty. - strings() - Element in annotation type org.junitpioneer.jupiter.CartesianValueSource
-
Deprecated.The
String
values to use as sources of arguments; must not be empty. - suspendForMs() - Element in annotation type org.junitpioneer.jupiter.RetryingTest
-
Specifies a pause (in milliseconds) between executions.
T
- Test - Annotation Type in org.junitpioneer.vintage
-
Deprecated.This annotation is an intermediate step on a full migration from JUnit 4's
@Test
to Jupiter's. To emphasize its character as a temporary solution and to reduce risk of accidental use, it's marked as deprecated. Deprecated since v0.4; not intended to be removed. - Test.None - Class in org.junitpioneer.vintage
-
Deprecated.Dummy default class for the
expected
parameter. - testId() - Method in class org.junitpioneer.jupiter.IssueTestCase
-
Returns the unique name of the test method.
- TestNameFormatter - Class in org.junitpioneer.internal
- TestNameFormatter(String, String, Class<?>) - Constructor for class org.junitpioneer.internal.TestNameFormatter
- testPlanExecutionFinished(TestPlan) - Method in class org.junitpioneer.jupiter.issue.IssueExtensionExecutionListener
- tests() - Method in class org.junitpioneer.jupiter.IssueTestSuite
-
Retrieves a list with all test cases related to this issue.
- timeout() - Element in annotation type org.junitpioneer.vintage.Test
-
Deprecated.Optionally specify
timeout
in milliseconds to cause a test method to fail if it takes longer than that number of milliseconds. - to() - Element in annotation type org.junitpioneer.jupiter.params.ByteRangeSource
-
The end point of the range, exclusive.
- to() - Element in annotation type org.junitpioneer.jupiter.params.DoubleRangeSource
-
The end point of the range, exclusive.
- to() - Element in annotation type org.junitpioneer.jupiter.params.FloatRangeSource
-
The end point of the range, exclusive.
- to() - Element in annotation type org.junitpioneer.jupiter.params.IntRangeSource
-
The end point of the range, exclusive.
- to() - Element in annotation type org.junitpioneer.jupiter.params.LongRangeSource
-
The end point of the range, exclusive.
- to() - Element in annotation type org.junitpioneer.jupiter.params.ShortRangeSource
-
The end point of the range, exclusive.
- toString() - Method in class org.junitpioneer.jupiter.IssueTestCase
- toString() - Method in class org.junitpioneer.jupiter.IssueTestSuite
V
- value() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianArgumentsSource
-
The type of
CartesianArgumentsProvider
to be used. - value() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest.Enum
-
The enum type that serves as the source of the enum constants.
- value() - Element in annotation type org.junitpioneer.jupiter.cartesian.CartesianTest.MethodFactory
-
The name of the method that returns an
ArgumentSets
instance. - value() - Element in annotation type org.junitpioneer.jupiter.CartesianEnumSource.CartesianEnumSources
-
Deprecated.
- value() - Element in annotation type org.junitpioneer.jupiter.CartesianEnumSource
-
Deprecated.The enum type that serves as the source of the enum constants.
- value() - Element in annotation type org.junitpioneer.jupiter.CartesianProductTest
-
Deprecated.Specifies
String
values for all inputs simultaneously. - value() - Element in annotation type org.junitpioneer.jupiter.CartesianValueSource.CartesianValueSources
-
Deprecated.
- value() - Element in annotation type org.junitpioneer.jupiter.ClearEnvironmentVariable.ClearEnvironmentVariables
- value() - Element in annotation type org.junitpioneer.jupiter.ClearSystemProperty.ClearSystemProperties
- value() - Element in annotation type org.junitpioneer.jupiter.DefaultLocale
-
An language tag string as specified by IETF BCP 47.
- value() - Element in annotation type org.junitpioneer.jupiter.DefaultTimeZone
-
The ID for a
TimeZone
, either an abbreviation such as "PST", a full name such as "America/Los_Angeles", or a custom ID such as "GMT-8:00". - value() - Element in annotation type org.junitpioneer.jupiter.ExpectedToFail
-
Defines the message to show when a test is aborted because it is failing.
- value() - Element in annotation type org.junitpioneer.jupiter.Issue
-
The id of the issue as defined by the issue-tracker, e.g.
- value() - Element in annotation type org.junitpioneer.jupiter.json.JsonClasspathSource
-
The JSON classpath resources to use as the sources of arguments; must not be empty.
- value() - Element in annotation type org.junitpioneer.jupiter.json.JsonFileSource
-
The JSON files to use as the sources of arguments; must not be empty.
- value() - Element in annotation type org.junitpioneer.jupiter.json.JsonSource
-
The JSON values to use as the source of arguments; must not be empty.
- value() - Element in annotation type org.junitpioneer.jupiter.json.Property
-
The name of the JSON property.
- value() - Element in annotation type org.junitpioneer.jupiter.params.ByteRangeSource.ByteRangeSources
- value() - Element in annotation type org.junitpioneer.jupiter.params.DisableIfArgument.DisableIfArguments
- value() - Element in annotation type org.junitpioneer.jupiter.params.DoubleRangeSource.DoubleRangeSources
- value() - Element in annotation type org.junitpioneer.jupiter.params.FloatRangeSource.FloatRangeSources
- value() - Element in annotation type org.junitpioneer.jupiter.params.IntRangeSource.IntRangeSources
- value() - Element in annotation type org.junitpioneer.jupiter.params.LongRangeSource.LongRangeSources
- value() - Element in annotation type org.junitpioneer.jupiter.params.ShortRangeSource.ShortRangeSources
- value() - Element in annotation type org.junitpioneer.jupiter.ReportEntry.ReportEntries
- value() - Element in annotation type org.junitpioneer.jupiter.ReportEntry
-
Specifies the value of the pair that's to be published as a report entry.
- value() - Element in annotation type org.junitpioneer.jupiter.RetryingTest
-
Specifies how often the test is executed at most.
- value() - Element in annotation type org.junitpioneer.jupiter.SetEnvironmentVariable.SetEnvironmentVariables
- value() - Element in annotation type org.junitpioneer.jupiter.SetEnvironmentVariable
-
The value of the system property to be set.
- value() - Element in annotation type org.junitpioneer.jupiter.SetSystemProperty.SetSystemProperties
- value() - Element in annotation type org.junitpioneer.jupiter.SetSystemProperty
-
The value of the system property to be set.
- value() - Element in annotation type org.junitpioneer.jupiter.StdIo
-
Provides the intercepted standard input with values.
- valueOf(String) - Static method in enum org.junitpioneer.jupiter.cartesian.CartesianTest.Enum.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.junitpioneer.jupiter.CartesianEnumSource.Mode
-
Deprecated.Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.junitpioneer.jupiter.NullEnum
-
Deprecated.Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.junitpioneer.jupiter.ReportEntry.PublishCondition
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.junitpioneer.jupiter.cartesian.CartesianTest.Enum.Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.junitpioneer.jupiter.CartesianEnumSource.Mode
-
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.junitpioneer.jupiter.NullEnum
-
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.junitpioneer.jupiter.ReportEntry.PublishCondition
-
Returns an array containing the constants of this enum type, in the order they are declared.
- variant() - Element in annotation type org.junitpioneer.jupiter.DefaultLocale
-
Any arbitrary value used to indicate a variation of a
Locale
.
W
- when() - Element in annotation type org.junitpioneer.jupiter.ReportEntry
-
Specifies when the extension should publish the report entry.
- with() - Element in annotation type org.junitpioneer.jupiter.DisableIfTestFails
-
Configure on which exceptions remaining tests are disabled (defaults to "any exception").
- wrap(Class<T>) - Static method in class org.junitpioneer.internal.PioneerUtils
-
Replaces all primitive types with the appropriate wrapper types.
- write(byte[], int, int) - Method in class org.junitpioneer.jupiter.StdOut
- write(int) - Method in class org.junitpioneer.jupiter.StdOut
- WritesDefaultLocale - Annotation Type in org.junitpioneer.jupiter
-
Marks tests that write the default locale but don't use the locale extension themselves.
- WritesDefaultTimeZone - Annotation Type in org.junitpioneer.jupiter
-
Marks tests that write the default time zone but don't use the time zone extension themselves.
- WritesEnvironmentVariable - Annotation Type in org.junitpioneer.jupiter
-
Marks tests that write environment variables but don't use the environment variable extension themselves.
- WritesStdIo - Annotation Type in org.junitpioneer.jupiter
-
Marks tests that call
System.setIn()
,System.setOut()
orSystem.setErr()
to set the static fieldsSystem.in
/System.out
/System.err
. - WritesSystemProperty - Annotation Type in org.junitpioneer.jupiter
-
Marks tests that write system properties but don't use the system property extension themselves.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form