Skip navigation links
A B C D E F G H I J L M N O P R S T U V W 

A

aborted(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
Create a TestExecutionResult for an aborted execution of a test or container with the supplied throwable.
AbstractTestDescriptor - Class in org.junit.platform.engine.support.descriptor
Abstract base implementation of TestDescriptor that may be used by custom TestEngines.
AbstractTestDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
Create a new AbstractTestDescriptor with the supplied UniqueId and display name.
AbstractTestDescriptor(UniqueId, String, TestSource) - Constructor for class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
Create a new AbstractTestDescriptor with the supplied UniqueId, display name, and source.
AbstractTestRuleAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
 
AbstractTestRuleAdapter(TestRuleAnnotatedMember, Class<? extends TestRule>) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
 
accept(T) - Method in interface org.junit.jupiter.api.function.ThrowingConsumer
Consume the supplied argument, potentially throwing an exception.
accept(TestDescriptor.Visitor) - Method in interface org.junit.platform.engine.TestDescriptor
Accept a TestDescriptor.Visitor to the subtree starting with this descriptor.
acquire() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
Acquire this resource lock, potentially blocking.
adaptFilter(Filter<V>, Function<T, V>) - Static method in interface org.junit.platform.engine.Filter
Return a filter that will include elements if and only if the adapted Filter includes the value converted using the supplied Function.
add(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
Deprecated.
without replacement since this method was intended to be internal.
addChild(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
addChild(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
Add a child to this descriptor.
addListener(LogRecordListener) - Static method in class org.junit.platform.commons.logging.LoggerFactory
Add the supplied LogRecordListener to the set of registered listeners.
addTestEngines(TestEngine...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Add all of the supplied engines to the configuration.
addTestExecutionListeners(TestExecutionListener...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Add all of the supplied listeners to the configuration.
after(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
after(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
after() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.ExpectedExceptionAdapter
 
after() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.ExternalResourceAdapter
 
after() - Method in interface org.junit.jupiter.migrationsupport.rules.adapter.GenericBeforeAndAfterAdvice
 
after() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.VerifierAdapter
 
after(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Execute the after behavior of this node.
AfterAll - Annotation Type in org.junit.jupiter.api
@AfterAll is used to signal that the annotated method should be executed after all tests in the current test class.
afterAll(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.AfterAllCallback
Callback that is invoked once after all tests in the current container.
AfterAllCallback - Interface in org.junit.jupiter.api.extension
AfterAllCallback defines the API for Extensions that wish to provide additional behavior to test containers after all tests have been invoked.
AfterEach - Annotation Type in org.junit.jupiter.api
@AfterEach is used to signal that the annotated method should be executed after each @Test, @RepeatedTest, @ParameterizedTest, @TestFactory, and @TestTemplate method in the current test class.
afterEach(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.AfterEachCallback
Callback that is invoked after each test has been invoked.
afterEach(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
 
afterEach(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport
 
afterEach(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.VerifierSupport
 
AfterEachCallback - Interface in org.junit.jupiter.api.extension
AfterEachCallback defines the API for Extensions that wish to provide additional behavior to tests after each test method has been invoked.
AfterEachMethodAdapter - Interface in org.junit.jupiter.engine.execution
Functional interface for registering an @AfterEach method as a pseudo-extension.
afterTestExecution(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.AfterTestExecutionCallback
Callback that is invoked immediately after each test has been executed.
AfterTestExecutionCallback - Interface in org.junit.jupiter.api.extension
AfterTestExecutionCallback defines the API for Extensions that wish to provide additional behavior to tests immediately after each test has been executed.
aggregateArguments(ArgumentsAccessor, ParameterContext) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAggregator
Aggregate the arguments contained in the supplied accessor into a single object.
AggregateWith - Annotation Type in org.junit.jupiter.params.aggregator
@AggregateWith is an annotation that allows one to specify an ArgumentsAggregator.
allow(UniqueId) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
 
allowAll() - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
 
Alphanumeric() - Constructor for class org.junit.jupiter.api.MethodOrderer.Alphanumeric
 
andThen(Function<V, Try<U>>) - Method in class org.junit.platform.commons.function.Try
If this Try is a success, apply the supplied function to its value and return the resulting Try; if this Try is a failure, do nothing.
andThenTry(Try.Transformer<V, U>) - Method in class org.junit.platform.commons.function.Try
If this Try is a success, apply the supplied transformer to its value and return a new successful or failed Try depending on the transformer's outcome; if this Try is a failure, do nothing.
AnnotationConsumer<A extends Annotation> - Interface in org.junit.jupiter.params.support
AnnotationConsumer is a functional interface for consuming annotations.
AnnotationConsumerInitializer - Class in org.junit.jupiter.params.support
AnnotationConsumerInitializer is an internal helper class for initializing AnnotationConsumers.
AnnotationSupport - Class in org.junit.platform.commons.support
AnnotationSupport provides static utility methods for common tasks regarding annotations — for example, checking if a class, method, or field is annotated with a particular annotation; finding annotations on a given class, method, or field; finding fields or methods annotated with a particular annotation, etc.
AnnotationUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with annotations.
append(String, Object) - Method in class org.junit.platform.commons.util.ToStringBuilder
 
append(String, String) - Method in class org.junit.platform.engine.UniqueId
Construct a new UniqueId by appending a new UniqueId.Segment, based on the supplied segmentType and value, to the end of this UniqueId.
append(UniqueId.Segment) - Method in class org.junit.platform.engine.UniqueId
Construct a new UniqueId by appending a new UniqueId.Segment to the end of this UniqueId.
apply(S) - Method in interface org.junit.platform.commons.function.Try.Transformer
Apply this transformer to the supplied value.
apply(T) - Method in interface org.junit.platform.engine.Filter
Apply this filter to the supplied object.
apply(TestEngine) - Method in class org.junit.platform.launcher.EngineFilter
 
apply(Description) - Method in class org.junit.vintage.engine.support.UniqueIdReader
 
apply(Serializable) - Method in class org.junit.vintage.engine.support.UniqueIdStringifier
 
ArgumentAccessException - Exception in org.junit.jupiter.params.aggregator
ArgumentAccessException is an exception thrown by an ArgumentsAccessor if an error occurs while accessing or converting an argument.
ArgumentAccessException(String) - Constructor for exception org.junit.jupiter.params.aggregator.ArgumentAccessException
 
ArgumentAccessException(String, Throwable) - Constructor for exception org.junit.jupiter.params.aggregator.ArgumentAccessException
 
ArgumentConversionException - Exception in org.junit.jupiter.params.converter
ArgumentConversionException is an exception that can occur when an object is converted to another object by an implementation of an ArgumentConverter.
ArgumentConversionException(String) - Constructor for exception org.junit.jupiter.params.converter.ArgumentConversionException
 
ArgumentConversionException(String, Throwable) - Constructor for exception org.junit.jupiter.params.converter.ArgumentConversionException
 
ArgumentConverter - Interface in org.junit.jupiter.params.converter
ArgumentConverter is an abstraction that allows an input object to be converted to an instance of a different class.
Arguments - Interface in org.junit.jupiter.params.provider
Arguments is an abstraction that provides access to an array of objects to be used for invoking a @ParameterizedTest method.
arguments(Object...) - Static method in interface org.junit.jupiter.params.provider.Arguments
Factory method for creating an instance of Arguments based on the supplied arguments.
ARGUMENTS_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
Placeholder for the complete, comma-separated arguments list of the current invocation of a @ParameterizedTest method: {arguments}
ArgumentsAccessor - Interface in org.junit.jupiter.params.aggregator
ArgumentsAccessor defines the public API for accessing arguments provided by an ArgumentsProvider for a single invocation of a @ParameterizedTest method.
ArgumentsAggregationException - Exception in org.junit.jupiter.params.aggregator
ArgumentsAggregationException is an exception thrown by an ArgumentsAggregator when an error occurs while aggregating arguments.
ArgumentsAggregationException(String) - Constructor for exception org.junit.jupiter.params.aggregator.ArgumentsAggregationException
 
ArgumentsAggregationException(String, Throwable) - Constructor for exception org.junit.jupiter.params.aggregator.ArgumentsAggregationException
 
ArgumentsAggregator - Interface in org.junit.jupiter.params.aggregator
ArgumentsAggregator is an abstraction for the aggregation of arguments provided by an ArgumentsProvider for a single invocation of a @ParameterizedTest method into a single object.
ArgumentsProvider - Interface in org.junit.jupiter.params.provider
An ArgumentsProvider is responsible for providing a stream of arguments to be passed to a @ParameterizedTest method.
ArgumentsSource - Annotation Type in org.junit.jupiter.params.provider
@ArgumentsSource is a repeatable annotation that is used to register argument providers for the annotated test method.
ArgumentsSources - Annotation Type in org.junit.jupiter.params.provider
@ArgumentsSources is a simple container for one or more ArgumentsSource annotations.
around(C, Node.Invocation<C>) - Method in interface org.junit.platform.engine.support.hierarchical.Node
assertAll(Executable...) - Static method in class org.junit.jupiter.api.Assertions
Assert that all supplied executables do not throw exceptions.
assertAll(String, Executable...) - Static method in class org.junit.jupiter.api.Assertions
Assert that all supplied executables do not throw exceptions.
assertAll(Collection<Executable>) - Static method in class org.junit.jupiter.api.Assertions
Assert that all supplied executables do not throw exceptions.
assertAll(String, Collection<Executable>) - Static method in class org.junit.jupiter.api.Assertions
Assert that all supplied executables do not throw exceptions.
assertAll(Stream<Executable>) - Static method in class org.junit.jupiter.api.Assertions
Assert that all supplied executables do not throw exceptions.
assertAll(String, Stream<Executable>) - Static method in class org.junit.jupiter.api.Assertions
Assert that all supplied executables do not throw exceptions.
assertArrayEquals(boolean[], boolean[]) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual boolean arrays are equal.
assertArrayEquals(boolean[], boolean[], String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual boolean arrays are equal.
assertArrayEquals(boolean[], boolean[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual boolean arrays are equal.
assertArrayEquals(char[], char[]) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual char arrays are equal.
assertArrayEquals(char[], char[], String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual char arrays are equal.
assertArrayEquals(char[], char[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual char arrays are equal.
assertArrayEquals(byte[], byte[]) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual byte arrays are equal.
assertArrayEquals(byte[], byte[], String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual byte arrays are equal.
assertArrayEquals(byte[], byte[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual byte arrays are equal.
assertArrayEquals(short[], short[]) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual short arrays are equal.
assertArrayEquals(short[], short[], String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual short arrays are equal.
assertArrayEquals(short[], short[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual short arrays are equal.
assertArrayEquals(int[], int[]) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual int arrays are equal.
assertArrayEquals(int[], int[], String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual int arrays are equal.
assertArrayEquals(int[], int[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual int arrays are equal.
assertArrayEquals(long[], long[]) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual long arrays are equal.
assertArrayEquals(long[], long[], String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual long arrays are equal.
assertArrayEquals(long[], long[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual long arrays are equal.
assertArrayEquals(float[], float[]) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual float arrays are equal.
assertArrayEquals(float[], float[], String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual float arrays are equal.
assertArrayEquals(float[], float[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual float arrays are equal.
assertArrayEquals(float[], float[], float) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual float arrays are equal within the given non-negative delta.
assertArrayEquals(float[], float[], float, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual float arrays are equal within the given non-negative delta.
assertArrayEquals(float[], float[], float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual float arrays are equal within the given non-negative delta.
assertArrayEquals(double[], double[]) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual double arrays are equal.
assertArrayEquals(double[], double[], String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual double arrays are equal.
assertArrayEquals(double[], double[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual double arrays are equal.
assertArrayEquals(double[], double[], double) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual double arrays are equal within the given non-negative delta.
assertArrayEquals(double[], double[], double, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual double arrays are equal within the given non-negative delta.
assertArrayEquals(double[], double[], double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual double arrays are equal within the given non-negative delta.
assertArrayEquals(Object[], Object[]) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual object arrays are deeply equal.
assertArrayEquals(Object[], Object[], String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual object arrays are deeply equal.
assertArrayEquals(Object[], Object[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual object arrays are deeply equal.
assertDoesNotThrow(Executable) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied executable does not throw any kind of exception.
assertDoesNotThrow(Executable, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied executable does not throw any kind of exception.
assertDoesNotThrow(Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied executable does not throw any kind of exception.
assertDoesNotThrow(ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied supplier does not throw any kind of exception.
assertDoesNotThrow(ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied supplier does not throw any kind of exception.
assertDoesNotThrow(ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied supplier does not throw any kind of exception.
assertEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Assert that this ThrowableCollector is empty (i.e., has not collected any Throwables).
assertEquals(short, short) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(short, Short) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Short, short) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Short, Short) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(short, short, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(short, Short, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Short, short, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Short, Short, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(short, Short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Short, Short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(byte, byte) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(byte, Byte) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Byte, byte) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Byte, Byte) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(byte, Byte, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Byte, Byte, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(byte, Byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Byte, Byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(int, int) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(int, Integer) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Integer, int) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Integer, Integer) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(int, int, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(int, Integer, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Integer, int, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Integer, Integer, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(int, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(int, Integer, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Integer, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Integer, Integer, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(long, long) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(long, Long) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Long, long) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Long, Long) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(long, long, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(long, Long, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Long, long, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Long, Long, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(long, Long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Long, Long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(float, float) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(float, Float) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Float, float) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Float, Float) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(float, float, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(float, Float, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Float, float, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Float, Float, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(float, Float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Float, Float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(float, float, float) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal within the given non-negative delta.
assertEquals(float, float, float, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal within the given non-negative delta.
assertEquals(float, float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal within the given non-negative delta.
assertEquals(double, double) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(double, Double) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Double, double) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Double, Double) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(double, double, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(double, Double, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Double, double, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Double, Double, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(double, Double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Double, Double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(double, double, double) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal within the given non-negative delta.
assertEquals(double, double, double, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal within the given non-negative delta.
assertEquals(double, double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal within the given non-negative delta.
assertEquals(char, char) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(char, Character) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Character, char) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Character, Character) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(char, char, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(char, Character, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Character, char, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Character, Character, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(char, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(char, Character, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Character, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Character, Character, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are equal.
assertFalse(boolean) - Static method in class org.junit.jupiter.api.Assertions
Assert that the supplied condition is false.
assertFalse(boolean, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that the supplied condition is false.
assertFalse(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that the supplied condition is false.
assertFalse(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assertions
Assert that the boolean condition supplied by booleanSupplier is false.
assertFalse(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that the boolean condition supplied by booleanSupplier is false.
assertFalse(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that the boolean condition supplied by booleanSupplier is false.
Assertions - Class in org.junit.jupiter.api
Assertions is a collection of utility methods that support asserting conditions in tests.
Assertions() - Constructor for class org.junit.jupiter.api.Assertions
Protected constructor allowing subclassing but not direct instantiation.
assertIterableEquals(Iterable<?>, Iterable<?>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual iterables are deeply equal.
assertIterableEquals(Iterable<?>, Iterable<?>, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual iterables are deeply equal.
assertIterableEquals(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual iterables are deeply equal.
assertLinesMatch(List<String>, List<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected list of Strings matches actual list.
assertNotEquals(byte, byte) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(byte, Byte) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Byte, byte) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Byte, Byte) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(byte, Byte, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Byte, Byte, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(byte, Byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Byte, Byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(short, short) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(short, Short) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Short, short) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Short, Short) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(short, short, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(short, Short, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Short, short, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Short, Short, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(short, Short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Short, Short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(int, int) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(int, Integer) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Integer, int) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Integer, Integer) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(int, int, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(int, Integer, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Integer, int, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Integer, Integer, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(int, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(int, Integer, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Integer, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Integer, Integer, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(long, long) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(long, Long) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Long, long) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Long, Long) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(long, long, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(long, Long, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Long, long, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Long, Long, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(long, Long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Long, Long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(float, float) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(float, Float) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Float, float) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Float, Float) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(float, float, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(float, Float, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Float, float, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Float, Float, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(float, Float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Float, Float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(float, float, float) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal within the given delta.
assertNotEquals(float, float, float, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal within the given delta.
assertNotEquals(float, float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal within the given delta.
assertNotEquals(double, double) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(double, Double) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Double, double) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Double, Double) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(double, double, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(double, Double, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Double, double, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Double, Double, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(double, Double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Double, Double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(double, double, double) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal within the given delta.
assertNotEquals(double, double, double, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal within the given delta.
assertNotEquals(double, double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal within the given delta.
assertNotEquals(char, char) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(char, Character) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Character, char) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Character, Character) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(char, char, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(char, Character, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Character, char, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Character, Character, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(char, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(char, Character, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Character, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Character, Character, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual are not equal.
assertNotNull(Object) - Static method in class org.junit.jupiter.api.Assertions
Assert that actual is not null.
assertNotNull(Object, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that actual is not null.
assertNotNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that actual is not null.
assertNotSame(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual do not refer to the same object.
assertNotSame(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual do not refer to the same object.
assertNotSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual do not refer to the same object.
assertNull(Object) - Static method in class org.junit.jupiter.api.Assertions
Assert that actual is null.
assertNull(Object, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that actual is null.
assertNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that actual is null.
assertPackageNameIsValid(String) - Static method in class org.junit.platform.commons.util.PackageUtils
Assert that the supplied package name is valid in terms of Java syntax.
assertSame(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual refer to the same object.
assertSame(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual refer to the same object.
assertSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that expected and actual refer to the same object.
assertThrows(Class<T>, Executable) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied executable throws an exception of the expectedType and returns the exception.
assertThrows(Class<T>, Executable, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied executable throws an exception of the expectedType and returns the exception.
assertThrows(Class<T>, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied executable throws an exception of the expectedType and returns the exception.
assertTimeout(Duration, Executable) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied executable completes before the given timeout is exceeded.
assertTimeout(Duration, Executable, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied executable completes before the given timeout is exceeded.
assertTimeout(Duration, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied executable completes before the given timeout is exceeded.
assertTimeout(Duration, ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied supplier completes before the given timeout is exceeded.
assertTimeout(Duration, ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied supplier completes before the given timeout is exceeded.
assertTimeout(Duration, ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied supplier completes before the given timeout is exceeded.
assertTimeoutPreemptively(Duration, Executable) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied executable completes before the given timeout is exceeded.
assertTimeoutPreemptively(Duration, Executable, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied executable completes before the given timeout is exceeded.
assertTimeoutPreemptively(Duration, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied executable completes before the given timeout is exceeded.
assertTimeoutPreemptively(Duration, ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied supplier completes before the given timeout is exceeded.
assertTimeoutPreemptively(Duration, ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied supplier completes before the given timeout is exceeded.
assertTimeoutPreemptively(Duration, ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that execution of the supplied supplier completes before the given timeout is exceeded.
assertTrue(boolean) - Static method in class org.junit.jupiter.api.Assertions
Assert that the supplied condition is true.
assertTrue(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that the supplied condition is true.
assertTrue(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assertions
Assert that the boolean condition supplied by booleanSupplier is true.
assertTrue(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that the boolean condition supplied by booleanSupplier is true.
assertTrue(boolean, String) - Static method in class org.junit.jupiter.api.Assertions
Assert that the supplied condition is true.
assertTrue(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Assert that the boolean condition supplied by booleanSupplier is true.
assumeFalse(boolean) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeFalse(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeFalse(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeFalse(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeFalse(boolean, String) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeFalse(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeTrue(boolean) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeTrue(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeTrue(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeTrue(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeTrue(boolean, String) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeTrue(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumingThat(BooleanSupplier, Executable) - Static method in class org.junit.jupiter.api.Assumptions
Execute the supplied Executable, but only if the supplied assumption is valid.
assumingThat(boolean, Executable) - Static method in class org.junit.jupiter.api.Assumptions
Execute the supplied Executable, but only if the supplied assumption is valid.
Assumptions - Class in org.junit.jupiter.api
Assumptions is a collection of utility methods that support conditional test execution based on assumptions.
Assumptions() - Constructor for class org.junit.jupiter.api.Assumptions
Protected constructor allowing subclassing but not direct instantiation.
awaitFinished() - Method in interface org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor
Block until all dynamic test descriptors submitted to this executor are finished.

B

before(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
before() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.ExternalResourceAdapter
 
before() - Method in interface org.junit.jupiter.migrationsupport.rules.adapter.GenericBeforeAndAfterAdvice
 
before(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Execute the before behavior of this node.
BeforeAll - Annotation Type in org.junit.jupiter.api
@BeforeAll is used to signal that the annotated method should be executed before all tests in the current test class.
beforeAll(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.BeforeAllCallback
Callback that is invoked once before all tests in the current container.
BeforeAllCallback - Interface in org.junit.jupiter.api.extension
BeforeAllCallback defines the API for Extensions that wish to provide additional behavior to test containers before all tests are invoked.
beforeAllCallbacksExecuted(boolean) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
Track that an attempt was made to execute BeforeAllCallback extensions.
beforeAllCallbacksExecuted() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
beforeAllMethodsExecuted(boolean) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
Track that an attempt was made to execute @BeforeAll methods.
beforeAllMethodsExecuted() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
BeforeEach - Annotation Type in org.junit.jupiter.api
@BeforeEach is used to signal that the annotated method should be executed before each @Test, @RepeatedTest, @ParameterizedTest, @TestFactory, and @TestTemplate method in the current test class.
beforeEach(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.BeforeEachCallback
Callback that is invoked before each test is invoked.
beforeEach(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport
 
BeforeEachCallback - Interface in org.junit.jupiter.api.extension
BeforeEachCallback defines the API for Extensions that wish to provide additional behavior to tests before each test is invoked.
BeforeEachMethodAdapter - Interface in org.junit.jupiter.engine.execution
Functional interface for registering a @BeforeEach method as a pseudo-extension.
beforeTestExecution(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.BeforeTestExecutionCallback
Callback that is invoked immediately before each test is executed.
BeforeTestExecutionCallback - Interface in org.junit.jupiter.api.extension
BeforeTestExecutionCallback defines the API for Extensions that wish to provide additional behavior to tests immediately before each test is executed.
BIND_JUNIT_CONFIGURATION_PARAMETER - Static variable in class org.junit.jupiter.engine.script.Script
Accessor for JUnit Platform configuration parameters.
BIND_JUNIT_DISPLAY_NAME - Static variable in class org.junit.jupiter.engine.script.Script
Display name of the test or container.
BIND_JUNIT_TAGS - Static variable in class org.junit.jupiter.engine.script.Script
Set of all tags assigned to the current extension context.
BIND_JUNIT_UNIQUE_ID - Static variable in class org.junit.jupiter.engine.script.Script
Unique ID associated with the current extension context.
BlacklistedExceptions - Class in org.junit.platform.commons.util
Internal utilities for working with blacklisted exceptions.
build() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
 
build() - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Build the LauncherConfig that has been configured via this builder.
build() - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Build the LauncherDiscoveryRequest that has been configured via this builder.
buildClassFilter(EngineDiscoveryRequest, Predicate<Class<?>>) - Static method in class org.junit.platform.engine.support.filter.ClasspathScanningSupport
Build a ClassFilter by combining the name predicate built by ClasspathScanningSupport.buildClassNamePredicate(EngineDiscoveryRequest) and the passed-in class predicate.
buildClassNamePredicate(EngineDiscoveryRequest) - Static method in class org.junit.platform.engine.support.filter.ClasspathScanningSupport
Build a Predicate for fully qualified class names to be used for classpath scanning from an EngineDiscoveryRequest.
builder() - Static method in interface org.junit.platform.launcher.core.LauncherConfig

C

CachingJupiterConfiguration - Class in org.junit.jupiter.engine.config
Caching implementation of the JupiterConfiguration API.
CachingJupiterConfiguration(JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
call(Callable<V>) - Static method in class org.junit.platform.commons.function.Try
Call the supplied Callable and return a successful Try that contains the returned value or, in case an exception was thrown, a failed Try that contains the exception.
canBeRemovedFromHierarchy() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
canBeRemovedFromHierarchy() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
CAPTURE_MAX_BUFFER_DEFAULT - Static variable in class org.junit.platform.launcher.LauncherConstants
Default maximum number of bytes for buffering to use per thread and output type if output capturing is enabled.
CAPTURE_MAX_BUFFER_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
Property name used to configure the maximum number of bytes for buffering to use per thread and output type if output capturing is enabled: "junit.platform.output.capture.maxBuffer"
CAPTURE_STDERR_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
Property name used to enable capturing output to System.err: "junit.platform.output.capture.stderr"
CAPTURE_STDOUT_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
Property name used to enable capturing output to System.out: "junit.platform.output.capture.stdout"
children - Variable in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
The synchronized set of children associated with this TestDescriptor.
ClassFilter - Class in org.junit.platform.commons.util
Class-related predicate holder used by reflection utilities.
ClassLoaderUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with ClassLoader and associated tasks.
ClassNameFilter - Interface in org.junit.platform.engine.discovery
DiscoveryFilter that is applied to the name of a Class.
CLASSPATH_SCHEME - Static variable in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
URI scheme for classpath resources: "classpath"
ClasspathResourceSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects the name of a classpath resource so that TestEngines can load resources from the classpath — for example, to load XML or JSON files from the classpath, potentially within JARs.
ClasspathResourceSource - Class in org.junit.platform.engine.support.descriptor
Classpath resource based TestSource with an optional position.
ClasspathRootSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a classpath root so that TestEngines can search for class files or resources within the physical classpath — for example, to scan for test classes.
ClasspathScanningSupport - Class in org.junit.platform.engine.support.filter
Support utility methods for classpath scanning.
ClassSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a Class or class name so that TestEngines can discover tests or containers based on classes.
ClassSource - Class in org.junit.platform.engine.support.descriptor
Class based TestSource with an optional file position.
ClassSupport - Class in org.junit.platform.commons.support
ClassSupport provides static utility methods for common tasks regarding classes — for example, generating a comma-separated list of fully qualified class names for a set of supplied classes.
ClassTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for tests based on Java classes.
ClassTestDescriptor(UniqueId, Class<?>, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
ClassUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with classes.
cleanUp(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
 
cleanUp(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
cleanUp(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Clean up the supplied context after execution.
clear() - Method in class org.junit.platform.commons.logging.LogRecordListener
Clear all existing log records that have been submitted to this listener by the current thread.
clone() - Method in class org.junit.platform.engine.UniqueId
 
close() - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store.CloseableResource
Close underlying resources.
close() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
close() - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
 
close() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
Close this service and let it perform any required cleanup work.
close() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
 
close() - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
 
closeAllStoredCloseableValues() - Method in class org.junit.jupiter.engine.execution.ExtensionValuesStore
Close all values that implement ExtensionContext.Store.CloseableResource.
CollectionUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with Collections.
composeFilters(Filter<T>...) - Static method in interface org.junit.platform.engine.Filter
Return a filter that will include elements if and only if all of the filters in the supplied array of filters include it.
composeFilters(Collection<? extends Filter<T>>) - Static method in interface org.junit.platform.engine.Filter
Return a filter that will include elements if and only if all of the filters in the supplied collection of filters include it.
CompositeTestSource - Class in org.junit.platform.engine.support.descriptor
A CompositeTestSource contains one or more TestSources.
condition(boolean, String) - Static method in class org.junit.platform.commons.util.Preconditions
Assert that the supplied predicate is true.
condition(boolean, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
Assert that the supplied predicate is true.
ConditionEvaluationResult - Class in org.junit.jupiter.api.extension
The result of evaluating an ExecutionCondition.
ConditionEvaluator - Class in org.junit.jupiter.engine.execution
ConditionEvaluator evaluates ExecutionCondition extensions.
ConditionEvaluator() - Constructor for class org.junit.jupiter.engine.execution.ConditionEvaluator
 
config(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the message from the provided messageSupplier at config level.
config(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the provided Throwable and message from the provided messageSupplier at config level.
CONFIG_CUSTOM_CLASS_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Property name used to specify the fully qualified class name of the ParallelExecutionConfigurationStrategy to be used by the DefaultParallelExecutionConfigurationStrategy.CUSTOM configuration strategy.
CONFIG_DYNAMIC_FACTOR_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Property name of the factor used to determine the desired parallelism for the DefaultParallelExecutionConfigurationStrategy.DYNAMIC configuration strategy.
CONFIG_FILE_NAME - Static variable in interface org.junit.platform.engine.ConfigurationParameters
Name of the JUnit Platform configuration file: "junit-platform.properties".
CONFIG_FIXED_PARALLELISM_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Property name used to determine the desired parallelism for the DefaultParallelExecutionConfigurationStrategy.FIXED configuration strategy.
CONFIG_STRATEGY_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Property name used to determine the desired configuration strategy.
configuration - Variable in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
configurationParameter(String, String) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add the supplied configuration parameter to the request.
ConfigurationParameterAccessor(ExtensionContext) - Constructor for class org.junit.jupiter.engine.script.ScriptAccessor.ConfigurationParameterAccessor
 
ConfigurationParameters - Interface in org.junit.platform.engine
Configuration parameters that TestEngines may use to influence test discovery and execution.
configurationParameters(Map<String, String>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all of the supplied configuration parameters to the request.
Constants - Class in org.junit.jupiter.engine
Collection of constants related to the JupiterTestEngine.
containsIsoControlCharacter(String) - Static method in class org.junit.platform.commons.util.StringUtils
Determine if the supplied String contains any ISO control characters.
containsNoNullElements(T[], String) - Static method in class org.junit.platform.commons.util.Preconditions
Assert that the supplied array contains no null elements.
containsNoNullElements(T[], Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
Assert that the supplied array contains no null elements.
containsNoNullElements(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
Assert that the supplied collection contains no null elements.
containsNoNullElements(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
Assert that the supplied collection contains no null elements.
containsTests(TestDescriptor) - Static method in interface org.junit.platform.engine.TestDescriptor
Determine if the supplied descriptor (or any of its descendants) is a test or may potentially register tests dynamically.
containsTests() - Method in class org.junit.platform.launcher.TestPlan
Return whether this test plan contains any tests.
containsWhitespace(String) - Static method in class org.junit.platform.commons.util.StringUtils
Determine if the supplied String contains any whitespace characters.
convert(Object, ParameterContext) - Method in interface org.junit.jupiter.params.converter.ArgumentConverter
Convert the supplied source object according to the supplied context.
convert(Object, Class<?>) - Method in class org.junit.jupiter.params.converter.DefaultArgumentConverter
 
convert(Object, ParameterContext) - Method in class org.junit.jupiter.params.converter.SimpleArgumentConverter
 
convert(Object, Class<?>) - Method in class org.junit.jupiter.params.converter.SimpleArgumentConverter
Convert the supplied source object into to the supplied targetType.
ConvertWith - Annotation Type in org.junit.jupiter.params.converter
@ConvertWith is an annotation that allows one to specify an explicit ArgumentConverter.
countTestIdentifiers(Predicate<? super TestIdentifier>) - Method in class org.junit.platform.launcher.TestPlan
Count all TestIdentifiers that satisfy the given predicate.
create(Object...) - Static method in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
Create a namespace which restricts access to data to all extensions which use the same sequence of parts for creating a namespace.
create() - Method in interface org.junit.platform.engine.support.hierarchical.ThrowableCollector.Factory
Create a new instance of a ThrowableCollector.
create(String) - Static method in class org.junit.platform.engine.TestTag
Create a TestTag from the supplied name.
create() - Static method in class org.junit.platform.launcher.core.LauncherFactory
Factory method for creating a new Launcher using automatic registration for test engines and test execution listeners.
create(LauncherConfig) - Static method in class org.junit.platform.launcher.core.LauncherFactory
Factory method for creating a new Launcher using the supplied LauncherConfig.
createConfiguration(ConfigurationParameters) - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfigurationStrategy
Create a configuration for parallel test execution based on the supplied ConfigurationParameters.
createExecutionContext(ExecutionRequest) - Method in class org.junit.jupiter.engine.JupiterTestEngine
 
createExecutionContext(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
Create the initial execution context for executing the supplied request.
createExecutorService(ExecutionRequest) - Method in class org.junit.jupiter.engine.JupiterTestEngine
 
createExecutorService(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
Create the executor service to use for executing the supplied request.
createRegistryFrom(ExtensionRegistry, List<Class<? extends Extension>>) - Static method in class org.junit.jupiter.engine.extension.ExtensionRegistry
Factory for creating and populating a new registry from a list of extension types and a parent registry.
createRegistryWithDefaultExtensions(JupiterConfiguration) - Static method in class org.junit.jupiter.engine.extension.ExtensionRegistry
Factory for creating and populating a new root registry with the default extensions.
createTestInstance(TestInstanceFactoryContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestInstanceFactory
Callback for creating a test instance for the supplied context.
createThrowableCollector() - Static method in class org.junit.jupiter.engine.support.JupiterThrowableCollectorFactory
Create a new ThrowableCollector that treats instances of the OTA's TestAbortedException and JUnit 4's org.junit.AssumptionViolatedException as aborting.
createThrowableCollectorFactory(ExecutionRequest) - Method in class org.junit.jupiter.engine.JupiterTestEngine
 
createThrowableCollectorFactory(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
Create the factory for creating ThrowableCollector instances used to handle exceptions that occur during execution of this engine's tests.
CsvFileSource - Annotation Type in org.junit.jupiter.params.provider
@CsvFileSource is an ArgumentsSource which is used to load comma-separated value (CSV) files from one or more classpath resources.
CsvParsingException - Exception in org.junit.jupiter.params.provider
Thrown if an error is encountered while parsing CSV input.
CsvParsingException(String) - Constructor for exception org.junit.jupiter.params.provider.CsvParsingException
 
CsvParsingException(String, Throwable) - Constructor for exception org.junit.jupiter.params.provider.CsvParsingException
 
CsvSource - Annotation Type in org.junit.jupiter.params.provider
@CsvSource is an ArgumentsSource which reads comma-separated values (CSV) from one or more supplied CSV lines.
CURRENT_REPETITION_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.api.RepeatedTest
Placeholder for the current repetition count of a @RepeatedTest method: {currentRepetition}

D

DEACTIVATE_ALL_CONDITIONS_PATTERN - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
DEACTIVATE_ALL_CONDITIONS_PATTERN - Static variable in class org.junit.jupiter.engine.Constants
Wildcard pattern which signals that all conditions should be deactivated: "*"
DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to provide a pattern for deactivating conditions: "junit.jupiter.conditions.deactivate"
debug(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the message from the provided messageSupplier at debug level.
debug(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the provided Throwable and message from the provided messageSupplier at debug level.
DEFAULT_DISPLAY_NAME - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
Default display name pattern for the current invocation of a @ParameterizedTest method: "[{index}] {arguments}"
DEFAULT_EXECUTION_MODE_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
DEFAULT_PARALLEL_EXECUTION_MODE - Static variable in class org.junit.jupiter.engine.Constants
Property name used to set the default parallel test execution mode: "junit.jupiter.execution.parallel.mode.default"
DEFAULT_SCRIPT_ENGINE_NAME - Static variable in class org.junit.jupiter.engine.script.Script
The script engine name defaults to Nashorn.
DEFAULT_SCRIPT_REASON_PATTERN - Static variable in class org.junit.jupiter.engine.script.Script
Default reason message pattern.
DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to set the default test instance lifecycle mode: "junit.jupiter.testinstance.lifecycle.default"
DefaultArgumentConverter - Class in org.junit.jupiter.params.converter
DefaultArgumentConverter is the default implementation of the ArgumentConverter API.
DefaultArgumentsAccessor - Class in org.junit.jupiter.params.aggregator
Default implementation of the ArgumentsAccessor API.
DefaultArgumentsAccessor(Object...) - Constructor for class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
DefaultJupiterConfiguration - Class in org.junit.jupiter.engine.config
Default implementation of the JupiterConfiguration API.
DefaultJupiterConfiguration(ConfigurationParameters) - Constructor for class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
DefaultParallelExecutionConfigurationStrategy - Enum in org.junit.platform.engine.support.hierarchical
Default implementations of configuration strategies for parallel test execution.
DefaultTestInstances - Class in org.junit.jupiter.engine.execution
 
defaultToString(Object) - Static method in class org.junit.platform.commons.util.StringUtils
Convert the supplied Object to a default String representation using the following algorithm.
DirectorySelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a directory so that TestEngines can discover tests or containers based on directories in the file system.
DirectorySource - Class in org.junit.platform.engine.support.descriptor
Directory based TestSource.
Disabled - Annotation Type in org.junit.jupiter.api
@Disabled is used to signal that the annotated test class or test method is currently disabled and should not be executed.
disabled(String) - Static method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
Factory for creating disabled results.
DisabledIf - Annotation Type in org.junit.jupiter.api.condition
@DisabledIf is used to determine whether the annotated test class or test method is disabled by evaluating a script.
DisabledIfEnvironmentVariable - Annotation Type in org.junit.jupiter.api.condition
@DisabledIfEnvironmentVariable is used to signal that the annotated test class or test method is disabled if the value of the specified environment variable matches the specified regular expression.
DisabledIfSystemProperty - Annotation Type in org.junit.jupiter.api.condition
@DisabledIfSystemProperty is used to signal that the annotated test class or test method is disabled if the value of the specified system property matches the specified regular expression.
DisabledOnJre - Annotation Type in org.junit.jupiter.api.condition
@DisabledOnJre is used to signal that the annotated test class or test method is disabled on one or more specified Java Runtime Environment (JRE) versions.
DisabledOnOs - Annotation Type in org.junit.jupiter.api.condition
@DisabledOnOs is used to signal that the annotated test class or test method is disabled on one or more specified operating systems.
discover(EngineDiscoveryRequest, UniqueId) - Method in class org.junit.jupiter.engine.JupiterTestEngine
 
discover(EngineDiscoveryRequest, UniqueId) - Method in interface org.junit.platform.engine.TestEngine
Discover tests according to the supplied EngineDiscoveryRequest.
discover(LauncherDiscoveryRequest) - Method in interface org.junit.platform.launcher.Launcher
Discover tests and build a TestPlan according to the supplied LauncherDiscoveryRequest by querying all registered engines and collecting their results.
discover(EngineDiscoveryRequest, UniqueId) - Method in class org.junit.vintage.engine.discovery.VintageDiscoverer
 
discover(EngineDiscoveryRequest, UniqueId) - Method in class org.junit.vintage.engine.VintageTestEngine
 
DiscoveryFilter<T> - Interface in org.junit.platform.engine
A DiscoveryFilter is applied during test discovery to determine if a given container or test should be included in the test plan.
DiscoverySelector - Interface in org.junit.platform.engine
A selector defines what a TestEngine can use to discover tests — for example, the name of a Java class, the path to a file or directory, etc.
DiscoverySelectorResolver - Class in org.junit.jupiter.engine.discovery
DiscoverySelectorResolver resolves TestDescriptors for containers and tests selected by DiscoverySelectors with the help of the JavaElementsResolver.
DiscoverySelectorResolver() - Constructor for class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
 
DiscoverySelectors - Class in org.junit.platform.engine.discovery
Collection of static factory methods for creating DiscoverySelectors.
DISPLAY_NAME_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.api.RepeatedTest
Placeholder for the display name of a @RepeatedTest method: {displayName}
DISPLAY_NAME_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
Placeholder for the display name of a @ParameterizedTest method: {displayName}
DisplayName - Annotation Type in org.junit.jupiter.api
@DisplayName is used to declare a custom display name for the annotated test class or test method.
DisplayNameGeneration - Annotation Type in org.junit.jupiter.api
@DisplayNameGeneration is used to declare a custom display name generator for the annotated test class.
DisplayNameGenerator - Interface in org.junit.jupiter.api
DisplayNameGenerator defines the SPI for generating display names programmatically.
DisplayNameGenerator.ReplaceUnderscores - Class in org.junit.jupiter.api
Replace all underscore characters with spaces.
DisplayNameGenerator.Standard - Class in org.junit.jupiter.api
Standard display name generator.
doesNotContainIsoControlCharacter(String) - Static method in class org.junit.platform.commons.util.StringUtils
Determine if the supplied String does not contain any ISO control characters.
doesNotContainWhitespace(String) - Static method in class org.junit.platform.commons.util.StringUtils
Determine if the supplied String does not contain any whitespace characters.
doNotSkip() - Static method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
Factory for creating do not skip results.
DYNAMIC_CONTAINER_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
DYNAMIC_TEST_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
DynamicContainer - Class in org.junit.jupiter.api
A DynamicContainer is a container generated at runtime.
dynamicContainer(String, Iterable<? extends DynamicNode>) - Static method in class org.junit.jupiter.api.DynamicContainer
Factory for creating a new DynamicContainer for the supplied display name and collection of dynamic nodes.
dynamicContainer(String, Stream<? extends DynamicNode>) - Static method in class org.junit.jupiter.api.DynamicContainer
Factory for creating a new DynamicContainer for the supplied display name and stream of dynamic nodes.
dynamicContainer(String, URI, Stream<? extends DynamicNode>) - Static method in class org.junit.jupiter.api.DynamicContainer
Factory for creating a new DynamicContainer for the supplied display name, custom test source URI, and stream of dynamic nodes.
DynamicDescendantFilter - Class in org.junit.jupiter.engine.descriptor
Filter for dynamic descendants of TestDescriptors that implement Filterable.
DynamicDescendantFilter() - Constructor for class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
 
DynamicNode - Class in org.junit.jupiter.api
DynamicNode serves as the abstract base class for a container or a test case generated at runtime.
DynamicTest - Class in org.junit.jupiter.api
A DynamicTest is a test case generated at runtime.
dynamicTest(String, Executable) - Static method in class org.junit.jupiter.api.DynamicTest
Factory for creating a new DynamicTest for the supplied display name and executable code block.
dynamicTest(String, URI, Executable) - Static method in class org.junit.jupiter.api.DynamicTest
Factory for creating a new DynamicTest for the supplied display name, custom test source URI, and executable code block.
dynamicTestRegistered(TestDescriptor) - Method in interface org.junit.platform.engine.EngineExecutionListener
Must be called when a new, dynamic TestDescriptor has been registered.
dynamicTestRegistered(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
dynamicTestRegistered(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
dynamicTestRegistered(TestIdentifier) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when a new, dynamic TestIdentifier has been registered.

E

EmptySource - Annotation Type in org.junit.jupiter.params.provider
@EmptySource is an ArgumentsSource which provides a single empty argument to the annotated @ParameterizedTest method.
enabled(String) - Static method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
Factory for creating enabled results.
EnabledIf - Annotation Type in org.junit.jupiter.api.condition
@EnabledIf is used to determine whether the annotated test class or test method is enabled by evaluating a script.
EnabledIfEnvironmentVariable - Annotation Type in org.junit.jupiter.api.condition
@EnabledIfEnvironmentVariable is used to signal that the annotated test class or test method is only enabled if the value of the specified environment variable matches the specified regular expression.
EnabledIfSystemProperty - Annotation Type in org.junit.jupiter.api.condition
@EnabledIfSystemProperty is used to signal that the annotated test class or test method is only enabled if the value of the specified system property matches the specified regular expression.
EnabledOnJre - Annotation Type in org.junit.jupiter.api.condition
@EnabledOnJre is used to signal that the annotated test class or test method is only enabled on one or more specified Java Runtime Environment (JRE) versions.
EnabledOnOs - Annotation Type in org.junit.jupiter.api.condition
@EnabledOnOs is used to signal that the annotated test class or test method is only enabled on one or more specified operating systems.
EnableJUnit4MigrationSupport - Annotation Type in org.junit.jupiter.migrationsupport
EnableJUnit4MigrationSupport is a class-level annotation that enables all JUnit 4 migration support within JUnit Jupiter.
EnableRuleMigrationSupport - Annotation Type in org.junit.jupiter.migrationsupport.rules
This class-level annotation enables native JUnit 4 rule support within JUnit Jupiter.
enableTestEngineAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Configure the auto-registration flag for test engines.
enableTestExecutionListenerAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Configure the auto-registration flag for test execution listeners.
ENGINE_ID - Static variable in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
 
ENGINE_ID - Static variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
EngineDescriptor - Class in org.junit.platform.engine.support.descriptor
An EngineDescriptor is a TestDescriptor for a specific TestEngine.
EngineDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.EngineDescriptor
Create a new EngineDescriptor with the supplied UniqueId and display name.
EngineDiscoveryRequest - Interface in org.junit.platform.engine
EngineDiscoveryRequest provides a TestEngine access to the information necessary to discover tests and containers.
EngineExecutionContext - Interface in org.junit.platform.engine.support.hierarchical
Marker interface for an execution context used by a concrete implementation of HierarchicalTestEngine and its collaborators.
EngineExecutionListener - Interface in org.junit.platform.engine
Listener to be notified of test execution events by test engines.
EngineFilter - Class in org.junit.platform.launcher
An EngineFilter is applied to all TestEngines before they are used.
EnumSource - Annotation Type in org.junit.jupiter.params.provider
@EnumSource is an ArgumentsSource for constants of a specified Enum.
EnumSource.Mode - Enum in org.junit.jupiter.params.provider
Enumeration of modes for selecting enum constants by name.
EnvironmentVariableAccessor() - Constructor for class org.junit.jupiter.engine.script.ScriptAccessor.EnvironmentVariableAccessor
 
equals(Object) - Method in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
 
equals(Object) - Method in class org.junit.jupiter.engine.script.Script
 
equals(Object) - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.ClassSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.DirectorySelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.FileSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.MethodSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.ModuleSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.PackageSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.UriSelector
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.ClassSource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.FilePosition
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.FileSource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.MethodSource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.PackageSource
 
equals(Object) - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
 
equals(Object) - Method in class org.junit.platform.engine.TestTag
 
equals(Object) - Method in class org.junit.platform.engine.UniqueId
 
equals(Object) - Method in class org.junit.platform.engine.UniqueId.Segment
 
equals(Object) - Method in class org.junit.platform.launcher.TestIdentifier
 
error(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the message from the provided messageSupplier at error level.
error(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the provided Throwable and message from the provided messageSupplier at error level.
errorMessage() - Method in interface org.junit.platform.launcher.tagexpression.ParseResult
Return the contained parse error message, if any.
evaluate(ExtensionRegistry, JupiterConfiguration, ExtensionContext) - Method in class org.junit.jupiter.engine.execution.ConditionEvaluator
Evaluate all ExecutionCondition extensions registered for the supplied ExtensionContext.
evaluate(Script, Bindings) - Method in class org.junit.jupiter.engine.script.ScriptExecutionManager
Evaluate the script using the given bindings.
evaluate(Collection<TestTag>) - Method in interface org.junit.platform.launcher.tagexpression.TagExpression
Evaluate this tag expression against the supplied collection of tags.
evaluateExecutionCondition(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ExecutionCondition
Evaluate this condition for the supplied ExtensionContext.
evaluateExecutionCondition(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.conditions.IgnoreCondition
Containers/tests are disabled if @Ignore is present on the test class or method.
ExceptionUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with exceptions.
excludeClassNamePatterns(String...) - Static method in interface org.junit.platform.engine.discovery.ClassNameFilter
Create a new exclude ClassNameFilter based on the supplied patterns.
ExcludeClassNamePatterns - Annotation Type in org.junit.platform.suite.api
@ExcludeClassNamePatterns specifies regular expressions that are used to match against fully qualified class names when running a test suite on the JUnit Platform.
excluded(String) - Static method in class org.junit.platform.engine.FilterResult
Factory for creating excluded results.
excluded() - Method in class org.junit.platform.engine.FilterResult
 
excludeEngines(String...) - Static method in class org.junit.platform.launcher.EngineFilter
Create a new exclude EngineFilter based on the supplied engine IDs.
excludeEngines(List<String>) - Static method in class org.junit.platform.launcher.EngineFilter
Create a new exclude EngineFilter based on the supplied engine IDs.
ExcludeEngines - Annotation Type in org.junit.platform.suite.api
@ExcludeEngines specifies the IDs of TestEngines to be excluded when running a test suite on the JUnit Platform.
excludePackageNames(String...) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
Create a new exclude PackageNameFilter based on the supplied package names.
excludePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
Create a new exclude PackageNameFilter based on the supplied package names.
ExcludePackages - Annotation Type in org.junit.platform.suite.api
@ExcludePackages specifies the packages to be excluded when running a test suite on the JUnit Platform.
excludeTags(String...) - Static method in class org.junit.platform.launcher.TagFilter
Create an exclude filter based on the supplied tag expressions.
excludeTags(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
Create an exclude filter based on the supplied tag expressions.
ExcludeTags - Annotation Type in org.junit.platform.suite.api
@ExcludeTags specifies the tags or tag expressions to be excluded when running a test suite on the JUnit Platform.
ExclusiveResource - Class in org.junit.platform.engine.support.hierarchical
An exclusive resource identified by a key with a lock mode that is used to synchronize access to shared resources when executing nodes in parallel.
ExclusiveResource(String, ExclusiveResource.LockMode) - Constructor for class org.junit.platform.engine.support.hierarchical.ExclusiveResource
Create a new ExclusiveResource.
ExclusiveResource.LockMode - Enum in org.junit.platform.engine.support.hierarchical
LockMode translates to the respective ReadWriteLock locks.
Executable - Interface in org.junit.jupiter.api.function
Executable is a functional interface that can be used to implement any generic block of code that potentially throws a Throwable.
ExecutableInvoker - Class in org.junit.jupiter.engine.execution
ExecutableInvoker encapsulates the invocation of a Executable (i.e., method or constructor), including support for dynamic resolution of method parameters via ParameterResolvers.
ExecutableInvoker() - Constructor for class org.junit.jupiter.engine.execution.ExecutableInvoker
 
execute() - Method in interface org.junit.jupiter.api.function.Executable
 
execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
execute(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
Create an executor service; create an initial execution context; execute the behavior of all nodes in the hierarchy starting with the supplied request's root and notify its execution listener of test execution events.
execute() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
Execute this task.
execute(TestDescriptor) - Method in interface org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor
Submit a dynamic test descriptor for immediate execution.
execute(C, Node.DynamicTestExecutor) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Execute the behavior of this node.
execute() - Method in interface org.junit.platform.engine.support.hierarchical.SingleTestExecutor.Executable
Deprecated.
Execute the test.
execute() - Method in interface org.junit.platform.engine.support.hierarchical.ThrowableCollector.Executable
Execute this executable, potentially throwing a Throwable that signals abortion or failure.
execute(ThrowableCollector.Executable) - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Execute the supplied ThrowableCollector.Executable and collect any Throwable thrown during the execution.
execute(ExecutionRequest) - Method in interface org.junit.platform.engine.TestEngine
Execute tests according to the supplied ExecutionRequest.
execute(LauncherDiscoveryRequest, TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
Execute a TestPlan which is built according to the supplied LauncherDiscoveryRequest by querying all registered engines and collecting their results, and notify registered listeners about the progress and results of the execution.
execute(TestPlan, TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
Execute the supplied TestPlan and notify registered listeners about the progress and results of the execution.
execute(RunnerTestDescriptor) - Method in class org.junit.vintage.engine.execution.RunnerExecutor
 
execute(ExecutionRequest) - Method in class org.junit.vintage.engine.VintageTestEngine
 
executeAndMaskThrowable(Executable) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
Execute the supplied Executable and mask any exception thrown as an unchecked exception.
executeMethod(String) - Method in class org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
 
executeMethod(String, Class<?>[], Object...) - Method in class org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
 
executeSafely(SingleTestExecutor.Executable) - Method in class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
Deprecated.
Execute the supplied SingleTestExecutor.Executable and return a TestExecutionResult based on the outcome.
Execution - Annotation Type in org.junit.jupiter.api.parallel
@Execution is used to configure the parallel execution mode of a test class or test method.
ExecutionCondition - Interface in org.junit.jupiter.api.extension
ExecutionCondition defines the Extension API for programmatic, conditional test execution.
executionFinished(TestDescriptor, TestExecutionResult) - Method in interface org.junit.platform.engine.EngineExecutionListener
Must be called when the execution of a leaf or subtree of the test tree has finished, regardless of the outcome.
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of a leaf or subtree of the TestPlan has finished, regardless of the outcome.
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.reporting.legacy.xml.LegacyXmlReportGeneratingListener
 
ExecutionMode - Enum in org.junit.jupiter.api.parallel
Supported execution modes for parallel test execution.
ExecutionRequest - Class in org.junit.platform.engine
Provides a single TestEngine access to the information necessary to execute its tests.
ExecutionRequest(TestDescriptor, EngineExecutionListener, ConfigurationParameters) - Constructor for class org.junit.platform.engine.ExecutionRequest
 
executionSkipped(TestDescriptor, String) - Method in interface org.junit.platform.engine.EngineExecutionListener
Must be called when the execution of a leaf or subtree of the test tree has been skipped.
executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
executionSkipped(TestIdentifier, String) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of a leaf or subtree of the TestPlan has been skipped.
executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.reporting.legacy.xml.LegacyXmlReportGeneratingListener
 
executionStarted(TestDescriptor) - Method in interface org.junit.platform.engine.EngineExecutionListener
Must be called when the execution of a leaf or subtree of the test tree is about to be started.
executionStarted(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
executionStarted(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
executionStarted(TestIdentifier) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of a leaf or subtree of the TestPlan is about to be started.
executionStarted(TestIdentifier) - Method in class org.junit.platform.reporting.legacy.xml.LegacyXmlReportGeneratingListener
 
ExpectedExceptionAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
 
ExpectedExceptionAdapter(TestRuleAnnotatedMember) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.ExpectedExceptionAdapter
 
ExpectedExceptionSupport - Class in org.junit.jupiter.migrationsupport.rules
This Extension provides native support for the ExpectedException rule from JUnit 4.
ExpectedExceptionSupport() - Constructor for class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
 
extend() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
ExtendWith - Annotation Type in org.junit.jupiter.api.extension
@ExtendWith is a repeatable annotation that is used to register extensions for the annotated test class or test method.
Extension - Interface in org.junit.jupiter.api.extension
Marker interface for all extensions.
ExtensionConfigurationException - Exception in org.junit.jupiter.api.extension
Thrown if an error is encountered regarding the configuration of an extension.
ExtensionConfigurationException(String) - Constructor for exception org.junit.jupiter.api.extension.ExtensionConfigurationException
 
ExtensionConfigurationException(String, Throwable) - Constructor for exception org.junit.jupiter.api.extension.ExtensionConfigurationException
 
ExtensionContext - Interface in org.junit.jupiter.api.extension
ExtensionContext encapsulates the context in which the current test or container is being executed.
ExtensionContext.Namespace - Class in org.junit.jupiter.api.extension
A Namespace is used to provide a scope for data saved by extensions within a ExtensionContext.Store.
ExtensionContext.Store - Interface in org.junit.jupiter.api.extension
Store provides methods for extensions to save and retrieve data.
ExtensionContext.Store.CloseableResource - Interface in org.junit.jupiter.api.extension
Classes implementing this interface indicate that they want to ExtensionContext.Store.CloseableResource.close() some underlying resource or resources when the enclosing Store is closed.
ExtensionContextException - Exception in org.junit.jupiter.api.extension
Thrown if an error is encountered regarding the use of an ExtensionContext or ExtensionContext.Store.
ExtensionContextException(String) - Constructor for exception org.junit.jupiter.api.extension.ExtensionContextException
 
ExtensionRegistry - Class in org.junit.jupiter.engine.extension
An ExtensionRegistry holds all registered extensions (i.e.
Extensions - Annotation Type in org.junit.jupiter.api.extension
@Extensions is a container for one or more @ExtendWith declarations.
EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to enable auto-detection and registration of extensions via Java's ServiceLoader mechanism: "junit.jupiter.extensions.autodetection.enabled"
ExtensionValuesStore - Class in org.junit.jupiter.engine.execution
ExtensionValuesStore is used inside implementations of ExtensionContext to store and retrieve values.
ExtensionValuesStore(ExtensionValuesStore) - Constructor for class org.junit.jupiter.engine.execution.ExtensionValuesStore
 
ExternalResourceAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
 
ExternalResourceAdapter(TestRuleAnnotatedMember) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.ExternalResourceAdapter
 
ExternalResourceSupport - Class in org.junit.jupiter.migrationsupport.rules
This Extension provides native support for subclasses of the ExternalResource rule from JUnit 4.
ExternalResourceSupport() - Constructor for class org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport
 

F

fail() - Static method in class org.junit.jupiter.api.Assertions
Fail the test without a failure message.
fail(String) - Static method in class org.junit.jupiter.api.Assertions
Fail the test with the given failure message.
fail(String, Throwable) - Static method in class org.junit.jupiter.api.Assertions
Fail the test with the given failure message as well as the underlying cause.
fail(Throwable) - Static method in class org.junit.jupiter.api.Assertions
Fail the test with the given underlying cause.
fail(Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Fail the test with the failure message retrieved from the given messageSupplier.
failed(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
Create a TestExecutionResult for a failed execution of a test or container with the supplied throwable.
failure(Exception) - Static method in class org.junit.platform.commons.function.Try
Convert the supplied exception into a failed Try.
FilePosition - Class in org.junit.platform.engine.support.descriptor
Position inside a file represented by line and column numbers.
FileSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a file so that TestEngines can discover tests or containers based on files in the file system.
FileSource - Class in org.junit.platform.engine.support.descriptor
File based TestSource with an optional position.
FileSystemSource - Interface in org.junit.platform.engine.support.descriptor
File system based TestSource.
Filter<T> - Interface in org.junit.platform.engine
A Filter can be applied to determine if an object should be included or excluded in a result set.
filter(Filter) - Method in class org.junit.platform.runner.JUnitPlatform
 
Filterable - Interface in org.junit.jupiter.engine.descriptor
Filterable is implemented by TestDescriptors that may register dynamic tests during execution and support selective test execution.
FilterResult - Class in org.junit.platform.engine
The result of applying a Filter.
filters(Filter<?>...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all of the supplied filters to the request.
findAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all classes in the supplied classpath root that match the specified classFilter and classNameFilter predicates.
findAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findAllClassesInClasspathRoot(URI, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findAllClassesInModule(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all classes in the supplied moduleName that match the specified classFilter and classNameFilter predicates.
findAllClassesInModule(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ModuleUtils
Find all classes for the given module name.
findAllClassesInModule(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findAllClassesInModule(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all classes in the supplied basePackageName that match the specified classFilter and classNameFilter predicates.
findAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findAllClassesInPackage(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findAllNonSystemBootModuleNames() - Static method in class org.junit.platform.commons.util.ModuleUtils
Find all non-system boot modules names.
findAnnotatedFields(Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find all fields of the supplied class or interface that are annotated or meta-annotated with the specified annotationType, using top-down search semantics within the type hierarchy.
findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find all fields of the supplied class or interface that are annotated or meta-annotated with the specified annotationType and match the specified predicate, using the supplied hierarchy traversal mode.
findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
Find all fields of the supplied class or interface that are annotated or meta-annotated with the specified annotationType and match the specified predicate, using top-down search semantics within the type hierarchy.
findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.AnnotationUtils
Find all fields of the supplied class or interface that are annotated or meta-annotated with the specified annotationType and match the specified predicate.
findAnnotatedFieldValues(Object, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the values of all non-static fields of the supplied instance that are annotated or meta-annotated with the specified annotationType, using top-down search semantics within the type hierarchy.
findAnnotatedFieldValues(Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the values of all static fields of the supplied class or interface that are annotated or meta-annotated with the specified annotationType, using top-down search semantics within the type hierarchy.
findAnnotatedFieldValues(Object, Class<? extends Annotation>, Class<T>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the values of all non-static fields of the supplied instance that are declared to be of the specified fieldType and are annotated or meta-annotated with the specified annotationType, using top-down search semantics within the type hierarchy.
findAnnotatedFieldValues(Class<?>, Class<? extends Annotation>, Class<T>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the values of all static fields of the supplied class or interface that are declared to be of the specified fieldType and are annotated or meta-annotated with the specified annotationType, using top-down search semantics within the type hierarchy.
findAnnotatedMethods(Class<?>, Class<? extends Annotation>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find all methods of the supplied class or interface that are annotated or meta-annotated with the specified annotationType.
findAnnotatedMethods(Class<?>, Class<? extends Annotation>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.AnnotationUtils
 
findAnnotation(Class<A>) - Method in interface org.junit.jupiter.api.extension.ParameterContext
Find the first annotation of annotationType that is either present or meta-present on the Parameter for this context.
findAnnotation(Class<A>) - Method in interface org.junit.jupiter.api.MethodDescriptor
Find the first annotation of annotationType that is either present or meta-present on the Method for this descriptor.
findAnnotation(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the first annotation of annotationType that is either present or meta-present on the supplied optional element.
findAnnotation(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the first annotation of annotationType that is either directly present, meta-present, or indirectly present on the supplied element.
findAnnotation(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
 
findAnnotation(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
 
findByUniqueId(UniqueId) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
findByUniqueId(UniqueId) - Method in interface org.junit.platform.engine.TestDescriptor
Find the descriptor with the supplied unique ID.
findConstructors(Class<?>, Predicate<Constructor<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Find all constructors in the supplied class that match the supplied predicate.
findFields(Class<?>, Predicate<Field>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all fields of the supplied class or interface that match the specified predicate.
findFields(Class<?>, Predicate<Field>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findInstance(Class<T>) - Method in interface org.junit.jupiter.api.extension.TestInstances
Find the first test instance that is an instance of the supplied required type, checking from innermost to outermost.
findInstance(Class<T>) - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
 
findMethod(Class<?>, String, String) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find the first Method of the supplied class or interface that meets the specified criteria, beginning with the specified class or interface and traversing up the type hierarchy until such a method is found or the type hierarchy is exhausted.
findMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find the first Method of the supplied class or interface that meets the specified criteria, beginning with the specified class or interface and traversing up the type hierarchy until such a method is found or the type hierarchy is exhausted.
findMethod(Class<?>, String, String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findMethods(Class<?>, Predicate<Method>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all methods of the supplied class or interface that match the specified predicate.
findMethods(Class<?>, Predicate<Method>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Find all methods of the supplied class or interface that match the specified predicate, using top-down search semantics within the type hierarchy.
findMethods(Class<?>, Predicate<Method>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all nested classes within the given class that conform to the given predicate.
findNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findPublicAnnotatedFields(Class<?>, Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find all public fields of the supplied class or interface that are declared to be of the specified fieldType and are annotated or meta-annotated with the specified annotationType.
findPublicAnnotatedFields(Class<?>, Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
 
findRepeatableAnnotations(Class<A>) - Method in interface org.junit.jupiter.api.extension.ParameterContext
Find all repeatable annotations of annotationType that are either present or meta-present on the Parameter for this context.
findRepeatableAnnotations(Class<A>) - Method in interface org.junit.jupiter.api.MethodDescriptor
Find all repeatable annotations of annotationType that are either present or meta-present on the Method for this descriptor.
findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find all repeatable annotations of annotationType that are either present, indirectly present, or meta-present on the supplied AnnotatedElement.
findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
 
forBiConsumer(BiConsumer<Throwable, Supplier<String>>) - Static method in class org.junit.platform.launcher.listeners.LoggingListener
Create a LoggingListener which delegates to the supplied BiConsumer for consumption of logging messages.
forEngine(String) - Static method in class org.junit.platform.engine.UniqueId
Create an engine's unique ID from its engineId using the default format.
forJavaUtilLogging() - Static method in class org.junit.platform.launcher.listeners.LoggingListener
Create a LoggingListener which delegates to a Logger using a log level of FINE.
forJavaUtilLogging(Level) - Static method in class org.junit.platform.launcher.listeners.LoggingListener
Create a LoggingListener which delegates to a Logger using the supplied log level.
ForkJoinPoolHierarchicalTestExecutorService - Class in org.junit.platform.engine.support.hierarchical
A ForkJoinPool-based executor service that executes test tasks with the configured parallelism.
ForkJoinPoolHierarchicalTestExecutorService(ConfigurationParameters) - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
Create a new ForkJoinPoolHierarchicalTestExecutorService based on the supplied ConfigurationParameters.
from(Map<String, String>) - Static method in class org.junit.platform.engine.reporting.ReportEntry
Factory for creating a new ReportEntry from a map of key-value pairs.
from(String, String) - Static method in class org.junit.platform.engine.reporting.ReportEntry
Factory for creating a new ReportEntry from a key-value pair.
from(String) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
Create a new ClasspathResourceSource using the supplied classpath resource name.
from(String, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
Create a new ClasspathResourceSource using the supplied classpath resource name and FilePosition.
from(URI) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
Create a new ClasspathResourceSource from the supplied URI.
from(String) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
Create a new ClassSource using the supplied class name.
from(String, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
Create a new ClassSource using the supplied class name and file position.
from(Class<?>) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
Create a new ClassSource using the supplied class.
from(Class<?>, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
Create a new ClassSource using the supplied class and file position.
from(Collection<? extends TestSource>) - Static method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
Create a new CompositeTestSource based on the supplied collection of sources.
from(File) - Static method in class org.junit.platform.engine.support.descriptor.DirectorySource
Create a new DirectorySource using the supplied directory.
from(int) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
Create a new FilePosition using the supplied line number and an undefined column number.
from(int, int) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
Create a new FilePosition using the supplied line and column numbers.
from(File) - Static method in class org.junit.platform.engine.support.descriptor.FileSource
Create a new FileSource using the supplied file.
from(File, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.FileSource
Create a new FileSource using the supplied file and filePosition.
from(String, String) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
Create a new MethodSource using the supplied class name and method name.
from(String, String, String) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
Create a new MethodSource using the supplied class name, method name, and method parameter types.
from(Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
Create a new MethodSource using the supplied method.
from(Class<?>, Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
Create a new MethodSource using the supplied class and method.
from(Package) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
Create a new PackageSource using the supplied Java Package.
from(String) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
Create a new PackageSource using the supplied packageName.
from(URI) - Static method in interface org.junit.platform.engine.support.descriptor.UriSource
Create a new UriSource using the supplied URI.
from(TestDescriptor) - Static method in class org.junit.platform.launcher.TestIdentifier
Factory for creating a new TestIdentifier from a TestDescriptor.
from(Collection<TestDescriptor>) - Static method in class org.junit.platform.launcher.TestPlan
Construct a new TestPlan from the supplied collection of TestDescriptors.
fromQuery(String) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
Create an optional FilePosition by parsing the supplied query string.
FunctionUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with Functions, Predicates, etc.

G

generateDisplayNameForClass(Class<?>) - Method in interface org.junit.jupiter.api.DisplayNameGenerator
Generate a display name for the given top-level or static nested test class.
generateDisplayNameForClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
 
generateDisplayNameForClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.Standard
 
generateDisplayNameForMethod(Class<?>, Method) - Method in interface org.junit.jupiter.api.DisplayNameGenerator
Generate a display name for the given method.
generateDisplayNameForMethod(Class<?>, Method) - Method in class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
 
generateDisplayNameForMethod(Class<?>, Method) - Method in class org.junit.jupiter.api.DisplayNameGenerator.Standard
 
generateDisplayNameForNestedClass(Class<?>) - Method in interface org.junit.jupiter.api.DisplayNameGenerator
Generate a display name for the given @Nested inner test class.
generateDisplayNameForNestedClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
 
generateDisplayNameForNestedClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.Standard
 
GenericBeforeAndAfterAdvice - Interface in org.junit.jupiter.migrationsupport.rules.adapter
 
get(Object) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
Get the value that is stored under the supplied key.
get(Object, Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
Get the value of the specified required type that is stored under the supplied key.
get() - Method in interface org.junit.jupiter.api.function.ThrowingSupplier
Get a result, potentially throwing an exception.
get(Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
get(Object, Class<T>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
get(String) - Method in class org.junit.jupiter.engine.script.ScriptAccessor.ConfigurationParameterAccessor
 
get(String) - Method in class org.junit.jupiter.engine.script.ScriptAccessor.EnvironmentVariableAccessor
 
get(String) - Method in interface org.junit.jupiter.engine.script.ScriptAccessor
Get the value of the property with the supplied name.
get(String) - Method in class org.junit.jupiter.engine.script.ScriptAccessor.SystemPropertyAccessor
 
get(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as an Object.
get(int, Class<T>) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as an instance of the required type.
get(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
get(int, Class<T>) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
get() - Method in interface org.junit.jupiter.params.provider.Arguments
Get the arguments used for an invocation of the @ParameterizedTest method.
get() - Method in class org.junit.platform.commons.function.Try
If this Try is a success, get the contained value; if this Try is a failure, throw the contained exception.
get(String) - Method in interface org.junit.platform.engine.ConfigurationParameters
Get the configuration parameter stored under the specified key.
get(String, Function<String, T>) - Method in interface org.junit.platform.engine.ConfigurationParameters
Get and transform the configuration parameter stored under the specified key using the specified transformer.
get(String) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
 
get(String, Function<String, T>) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
 
getAdditionalExtensions() - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContext
Get the additional extensions for this invocation.
getAdditionalTestEngines() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Get the collection of additional test engines that should be added to the Launcher.
getAdditionalTestExecutionListeners() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Get the collection of additional test execution listeners that should be added to the Launcher.
getAllAssignmentCompatibleClasses(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Return all classes and interfaces that can be used as assignment types for instances of the specified Class, including itself.
getAllClasspathRootDirectories() - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
getAllInstances() - Method in interface org.junit.jupiter.api.extension.TestInstances
Get all test instances, ordered from outermost to innermost.
getAllInstances() - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
 
getAnnotationAsString() - Method in class org.junit.jupiter.engine.script.Script
 
getAnnotationType() - Method in class org.junit.jupiter.engine.script.Script
 
getArtifactId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
Returns junit-jupiter-engine as the artifact ID.
getArtifactId() - Method in interface org.junit.platform.engine.TestEngine
Get the Artifact ID of the JAR in which this test engine is packaged.
getArtifactId() - Method in class org.junit.vintage.engine.VintageTestEngine
Returns junit-vintage-engine as the artifact ID.
getAttribute(Class<?>, Function<Package, String>) - Static method in class org.junit.platform.commons.util.PackageUtils
Get the package attribute for the supplied type using the supplied function.
getAttribute(Class<?>, String) - Static method in class org.junit.platform.commons.util.PackageUtils
Get the value of the specified attribute name, specified as a string, or an empty Optional if the attribute was not found.
getBoolean(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Boolean, performing automatic type conversion as necessary.
getBoolean(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getBoolean(String) - Method in interface org.junit.platform.engine.ConfigurationParameters
Get the boolean configuration parameter stored under the specified key.
getBoolean(String) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
 
getByte(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Byte, performing automatic type conversion as necessary.
getByte(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getCharacter(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Character, performing automatic type conversion as necessary.
getCharacter(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getChildren() - Method in class org.junit.jupiter.api.DynamicContainer
Get the Stream of DynamicNodes associated with this DynamicContainer.
getChildren() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
getChildren() - Method in interface org.junit.platform.engine.TestDescriptor
Get the immutable set of children of this descriptor.
getChildren(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
Get the children of the supplied TestIdentifier.
getChildren(String) - Method in class org.junit.platform.launcher.TestPlan
Get the children of the supplied unique ID.
getClassName() - Method in class org.junit.platform.engine.discovery.ClassSelector
Get the selected class name.
getClassName() - Method in class org.junit.platform.engine.discovery.MethodSelector
Get the selected class name.
getClassName() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
Get the class name of this source.
getClassName() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
Get the class name of this source.
getClassName(TestPlan, TestIdentifier) - Static method in class org.junit.platform.launcher.listeners.LegacyReportingUtils
Get the class name for the supplied TestIdentifier using the supplied TestPlan.
getClasspathResourceName() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
Get the name of the selected classpath resource.
getClasspathResourceName() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
Get the name of the source classpath resource.
getClasspathRoot() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
Get the selected classpath root directory as an URI.
getColumn() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
Get the column number of this FilePosition, if available.
getConfiguration() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
 
getConfiguration() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getConfigurationParameter(String) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the configuration parameter stored under the specified key.
getConfigurationParameter(String) - Method in interface org.junit.jupiter.api.MethodOrdererContext
Get the configuration parameter stored under the specified key.
getConfigurationParameters() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
Get the ConfigurationParameters for this request.
getConfigurationParameters() - Method in class org.junit.platform.engine.ExecutionRequest
Get the ConfigurationParameters that the engine may use to influence test execution.
getContainersAbortedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers aborted.
getContainersFailedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers that failed.
getContainersFoundCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers found.
getContainersSkippedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers skipped.
getContainersStartedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers started.
getContainersSucceededCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers that succeeded.
getCorePoolSize() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
Get the core thread pool size to be used.
getCurrentRepetition() - Method in interface org.junit.jupiter.api.RepetitionInfo
Get the current repetition of the corresponding @RepeatedTest method.
getDeclaredConstructor(Class<T>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Get the sole declared Constructor for the supplied class.
getDeclaringExecutable() - Method in interface org.junit.jupiter.api.extension.ParameterContext
Get the Executable (i.e., the Method or Constructor) that declares the Parameter for this context.
getDecoratedRunner() - Method in interface org.junit.vintage.engine.discovery.RunnerDecorator
 
getDefaultChildExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getDefaultChildExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
getDefaultClassLoader() - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
 
getDefaultExecutionMode() - Method in interface org.junit.jupiter.api.MethodOrderer
Get the default ExecutionMode for the test class configured with this MethodOrderer.
getDefaultExecutionMode() - Method in class org.junit.jupiter.api.MethodOrderer.Random
Get the default ExecutionMode for the test class.
getDefaultExecutionMode() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getDefaultExecutionMode() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getDefaultExecutionMode() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getDefaultTestInstanceLifecycle() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getDefaultTestInstanceLifecycle() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getDefaultTestInstanceLifecycle() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getDescendants() - Method in interface org.junit.platform.engine.TestDescriptor
Get the immutable set of all descendants of this descriptor.
getDescendants(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
Get all descendants of the supplied TestIdentifier (i.e., all of its children and their children, recursively).
getDescription() - Method in class org.junit.platform.runner.JUnitPlatform
 
getDescription() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
getDirectory() - Method in class org.junit.platform.engine.discovery.DirectorySelector
Get the selected directory as a File.
getDisplayName() - Method in class org.junit.jupiter.api.DynamicNode
Get the display name of this DynamicNode.
getDisplayName() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the display name for the current test or container.
getDisplayName(int) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContext
Get the display name for this invocation.
getDisplayName() - Method in interface org.junit.jupiter.api.TestInfo
Get the display name of the current test or container.
getDisplayName() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
getDisplayName() - Method in interface org.junit.platform.engine.TestDescriptor
Get the display name for this descriptor.
getDisplayName() - Method in class org.junit.platform.launcher.TestIdentifier
Get the display name of the represented test or container.
getDouble(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Double, performing automatic type conversion as necessary.
getDouble(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getDynamicDescendantFilter() - Method in interface org.junit.jupiter.engine.descriptor.Filterable
 
getDynamicDescendantFilter() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
getDynamicDescendantFilter() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
getElement() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the AnnotatedElement corresponding to the current extension context, if available.
getEnclosingInstances() - Method in interface org.junit.jupiter.api.extension.TestInstances
Get the enclosing test instances, excluding the innermost test instance, ordered from outermost to innermost.
getEnclosingInstances() - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
 
getEngine() - Method in class org.junit.jupiter.engine.script.Script
 
getEngineExecutionListener() - Method in class org.junit.platform.engine.ExecutionRequest
Get the EngineExecutionListener to be notified of test execution events.
getEngineFilters() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
Get the EngineFilters for this request.
getEngineId() - Method in class org.junit.platform.engine.UniqueId
Get the engine ID stored in this UniqueId, if available.
getException() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary.Failure
Get the Throwable causing the failure.
getExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
getExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
getExclusiveResources() - Method in interface org.junit.platform.engine.support.hierarchical.Node
Get the set of exclusive resources required to execute this node.
getExclusiveResourcesFromAnnotation(AnnotatedElement) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
getExecutable() - Method in class org.junit.jupiter.api.DynamicTest
Get the executable code block associated with this DynamicTest.
getExecutionConditionFilter() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getExecutionConditionFilter() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getExecutionConditionFilter() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getExecutionException() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the exception that was thrown during execution of the test or container associated with this ExtensionContext, if available.
getExecutionListener() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
 
getExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
getExecutionMode() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
Get the execution mode of this task.
getExecutionMode() - Method in interface org.junit.platform.engine.support.hierarchical.Node
Get the preferred of execution mode for parallel execution of this node.
getExecutionModeFromAnnotation(AnnotatedElement) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
getExplicitExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getExplicitExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
getExplicitExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
getExtensionContext() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getExtensionRegistry() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getExtensions(Class<E>) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
Get all Extensions of the specified type that are present in this registry or one of its ancestors.
getFailures() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get an immutable list of the failures of the test plan execution.
getFile() - Method in class org.junit.platform.engine.discovery.FileSelector
Get the selected file as a File.
getFile() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
Get the source directory.
getFile() - Method in class org.junit.platform.engine.support.descriptor.FileSource
Get the source file.
getFile() - Method in interface org.junit.platform.engine.support.descriptor.FileSystemSource
Get the source file or directory.
getFiltersByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
Get the DiscoveryFilters for this request, filtered by a particular type.
getFloat(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Float, performing automatic type conversion as necessary.
getFloat(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getFullyQualifiedMethodName(Class<?>, Method) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Build the fully qualified method name for the method described by the supplied class and method.
getFullyQualifiedMethodName(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Build the fully qualified method name for the method described by the supplied class, method name, and parameter types.
getGroupId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
Returns org.junit.jupiter as the group ID.
getGroupId() - Method in interface org.junit.platform.engine.TestEngine
Get the Group ID of the JAR in which this test engine is packaged.
getGroupId() - Method in class org.junit.vintage.engine.VintageTestEngine
Returns org.junit.vintage as the group ID.
getId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
 
getId() - Method in interface org.junit.platform.engine.TestEngine
Get the ID that uniquely identifies this test engine.
getId() - Method in class org.junit.vintage.engine.VintageTestEngine
 
getIndex() - Method in interface org.junit.jupiter.api.extension.ParameterContext
Get the index of the Parameter for this context within the parameter list of the Executable that declares the parameter.
getInnermostInstance() - Method in interface org.junit.jupiter.api.extension.TestInstances
Get the innermost test instance.
getInnermostInstance() - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
 
getInteger(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Integer, performing automatic type conversion as necessary.
getInteger(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getJavaClass() - Method in class org.junit.platform.engine.discovery.ClassSelector
Get the selected Class.
getJavaClass() - Method in class org.junit.platform.engine.discovery.MethodSelector
Get the Class in which the selected method is declared, or a subclass thereof.
getJavaClass() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
Get the Java class of this source.
getJavaMethod() - Method in class org.junit.platform.engine.discovery.MethodSelector
Get the selected Method.
getKeepAliveSeconds() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
Get the number of seconds for which inactive threads should be kept alive before terminating them and shrinking the thread pool.
getKey() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
Get the key of this resource.
getKeyValuePairs() - Method in class org.junit.platform.engine.reporting.ReportEntry
Get an unmodifiable copy of the map of key-value pairs to be published.
getLegacyReportingName() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getLegacyReportingName() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
getLegacyReportingName() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
getLegacyReportingName() - Method in interface org.junit.platform.engine.TestDescriptor
Get the name of this descriptor in a format that is suitable for legacy reporting infrastructure — for example, for reporting systems built on the Ant-based XML reporting format for JUnit 4.
getLegacyReportingName() - Method in class org.junit.platform.launcher.TestIdentifier
Get the name of this identifier in a format that is suitable for legacy reporting infrastructure — for example, for reporting systems built on the Ant-based XML reporting format for JUnit 4.
getLegacyReportingName() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
getLine() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
Get the line number of this FilePosition.
getLocation(Object) - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
Get the location from which the supplied object's class was loaded.
getLockMode() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
Get the lock mode of this resource.
getLogger(Class<?>) - Static method in class org.junit.platform.commons.logging.LoggerFactory
Get a Logger for the specified class.
getLong(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Long, performing automatic type conversion as necessary.
getLong(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getMaxPoolSize() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
Get the maximum thread pool size to be used.
getMethod() - Method in interface org.junit.jupiter.api.MethodDescriptor
Get the method for this descriptor.
getMethodDescriptors() - Method in interface org.junit.jupiter.api.MethodOrdererContext
Get the list of method descriptors to order.
getMethodName() - Method in class org.junit.platform.engine.discovery.MethodSelector
Get the selected method name.
getMethodName() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
Get the method name of this source.
getMethodParameterTypes() - Method in class org.junit.platform.engine.discovery.MethodSelector
Get the parameter types for the selected method as a String, typically a comma-separated list of primitive types, fully qualified class names, or array types.
getMethodParameterTypes() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
Get the method parameter types of this source.
getMinimumRunnable() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
Get the minimum number of runnable threads to be used.
getModuleName(Class<?>) - Static method in class org.junit.platform.commons.util.ModuleUtils
Return the name of the module that the class or interface is a member of.
getModuleName() - Method in class org.junit.platform.engine.discovery.ModuleSelector
Get the selected module name.
getModuleVersion(Class<?>) - Static method in class org.junit.platform.commons.util.ModuleUtils
Return the raw version of the module that the class or interface is a member of.
getName() - Method in class org.junit.platform.engine.TestTag
Get the name of this tag.
getOnlyElement(Collection<T>) - Static method in class org.junit.platform.commons.util.CollectionUtils
Read the only element of a collection of size 1.
getOrComputeIfAbsent(Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
Get the object of type type that is present in this Store (keyed by type); and otherwise invoke the default constructor for type to generate the object, store it, and return it.
getOrComputeIfAbsent(K, Function<K, V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
Get the value that is stored under the supplied key.
getOrComputeIfAbsent(K, Function<K, V>, Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
Get the value of the specified required type that is stored under the supplied key.
getOrComputeIfAbsent(K, Function<K, V>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
getOrComputeIfAbsent(K, Function<K, V>, Class<V>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
getOrThrow(Function<? super Exception, E>) - Method in class org.junit.platform.commons.function.Try
If this Try is a success, get the contained value; if this Try is a failure, call the supplied Function with the contained exception and throw the resulting Exception.
getOuterInstance() - Method in interface org.junit.jupiter.api.extension.TestInstanceFactoryContext
Get the instance of the outer class, if available.
getOutermostInstance(Object, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Deprecated.
getPackageName() - Method in class org.junit.platform.engine.discovery.PackageSelector
Get the selected package name.
getPackageName() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
Get the package name of this test source.
getParallelism() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
Get the parallelism to be used.
getParameter() - Method in interface org.junit.jupiter.api.extension.ParameterContext
Get the Parameter for this context.
getParent() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the parent extension context, if available.
getParent() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
getParent() - Method in interface org.junit.platform.engine.TestDescriptor
Get the parent of this descriptor, if available.
getParent(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
Get the parent of the supplied TestIdentifier.
getParentId() - Method in class org.junit.platform.launcher.TestIdentifier
Get the unique ID of this identifier's parent, if available.
getPath() - Method in class org.junit.platform.engine.discovery.DirectorySelector
Get the selected directory as a Path using the default FileSystem.
getPath() - Method in class org.junit.platform.engine.discovery.FileSelector
Get the selected file as a Path using the default FileSystem.
getPosition() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
Get the FilePosition, if available.
getPosition() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
Get the position in the source file for the associated class, if available.
getPosition() - Method in class org.junit.platform.engine.support.descriptor.FileSource
Get the FilePosition, if available.
getPostDiscoveryFilters() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
Get the PostDiscoveryFilters for this request.
getRawConfigurationParameter(String) - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getRawConfigurationParameter(String) - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getRawConfigurationParameter(String) - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getRawPath() - Method in class org.junit.platform.engine.discovery.DirectorySelector
Get the selected directory as a raw path.
getRawPath() - Method in class org.junit.platform.engine.discovery.FileSelector
Get the selected file as a raw path.
getReason() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
Get the reason why the container or test should be enabled or disabled, if available.
getReason() - Method in class org.junit.jupiter.engine.script.Script
 
getReason() - Method in class org.junit.platform.engine.FilterResult
Get the reason why the filtered object should be included or excluded, if available.
getReason() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
Get the reason that execution of the context should be skipped, if available.
getRequiredTestClass() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the required Class associated with the current test or container.
getRequiredTestInstance() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the required test instance associated with the current test or container.
getRequiredTestInstances() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the required test instances associated with the current test or container.
getRequiredTestMethod() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the required Method associated with the current test or container.
getResourceLock() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
Get the resource lock of this task.
getReversedExtensions(Class<E>) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
Get all Extensions of the specified type that are present in this registry or one of its ancestors, in reverse order.
getRoot() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the root ExtensionContext.
getRoots() - Method in class org.junit.platform.launcher.TestPlan
Get the root TestIdentifiers for this test plan.
getRootTestDescriptor() - Method in class org.junit.platform.engine.ExecutionRequest
Get the root TestDescriptor of the engine that processes this request.
getSegments() - Method in class org.junit.platform.engine.UniqueId
Get the immutable list of segments that make up this UniqueId.
getSelectorsByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
Get the DiscoverySelectors for this request, filtered by a particular type.
getShort(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Short, performing automatic type conversion as necessary.
getShort(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getSource() - Method in class org.junit.jupiter.engine.script.Script
 
getSource() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
getSource() - Method in interface org.junit.platform.engine.TestDescriptor
Get the source of the test or container described by this descriptor, if available.
getSource() - Method in class org.junit.platform.launcher.TestIdentifier
Get the source of the represented test or container, if available.
getSources() - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
Get an immutable list of the sources stored in this CompositeTestSource.
getStatus() - Method in class org.junit.platform.engine.TestExecutionResult
Get the status of this result.
getStore(ExtensionContext.Namespace) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
getString(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a String, performing automatic type conversion as necessary.
getString(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getSummary() - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
Get the summary generated by this listener.
getTags() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the set of all tags for the current test or container.
getTags() - Method in interface org.junit.jupiter.api.TestInfo
Get the set of all tags for the current test or container.
getTags() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getTags(AnnotatedElement) - Static method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
getTags() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
getTags() - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
getTags() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
getTags() - Method in interface org.junit.platform.engine.TestDescriptor
Get the set of tags associated with this descriptor.
getTags() - Method in class org.junit.platform.launcher.TestIdentifier
Get the set of tags associated with the represented test or container.
getTags() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
getTarget() - Method in interface org.junit.jupiter.api.extension.ParameterContext
Get the target on which the Executable that declares the Parameter for this context will be invoked, if available.
getTestClass() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the Class associated with the current test or container, if available.
getTestClass() - Method in interface org.junit.jupiter.api.extension.TestInstanceFactoryContext
Get the test class for this context.
getTestClass() - Method in interface org.junit.jupiter.api.MethodOrdererContext
Get the test class for this context.
getTestClass() - Method in interface org.junit.jupiter.api.TestInfo
Get the Class associated with the current test or container, if available.
getTestClass() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getTestClass() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
getTestIdentifier() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary.Failure
Get the identifier of the failed test or container.
getTestIdentifier(String) - Method in class org.junit.platform.launcher.TestPlan
Get the TestIdentifier with the supplied unique ID.
getTestInstance() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the test instance associated with the current test or container, if available.
getTestInstanceLifecycle() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the TestInstance.Lifecycle of the test instance associated with the current test or container, if available.
getTestInstances() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the test instances associated with the current test or container, if available.
getTestInstances(Optional<ExtensionRegistry>) - Method in interface org.junit.jupiter.engine.execution.TestInstancesProvider
 
getTestInstancesProvider() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getTestMethod() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the Method associated with the current test, if available.
getTestMethod() - Method in interface org.junit.jupiter.api.TestInfo
Get the Method associated with the current test or container, if available.
getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
getTestRule() - Method in interface org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedMember
 
getTestsAbortedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests aborted.
getTestsFailedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests that failed.
getTestsFoundCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests found.
getTestSourceUri() - Method in class org.junit.jupiter.api.DynamicNode
Get the custom test source URI of this DynamicNode.
getTestsSkippedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests skipped.
getTestsStartedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests started.
getTestsSucceededCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests that succeeded.
getThrowable() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Get the first Throwable collected by this ThrowableCollector.
getThrowable() - Method in class org.junit.platform.engine.TestExecutionResult
Get the throwable that caused this result, if available.
getThrowableCollector() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getTimeFinished() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the timestamp (in milliseconds) when the test plan finished.
getTimestamp() - Method in class org.junit.platform.engine.reporting.ReportEntry
Get the timestamp for when this ReportEntry was created.
getTimeStarted() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the timestamp (in milliseconds) when the test plan started.
getTotalFailureCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the total number of failed containers and failed tests.
getTotalRepetitions() - Method in interface org.junit.jupiter.api.RepetitionInfo
Get the total number of repetitions of the corresponding @RepeatedTest method.
getType() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getType() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
getType() - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
getType() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
getType() - Method in class org.junit.platform.engine.support.descriptor.EngineDescriptor
getType() - Method in interface org.junit.platform.engine.TestDescriptor
Determine the TestDescriptor.Type of this descriptor.
getType() - Method in class org.junit.platform.engine.UniqueId.Segment
Get the type of this segment.
getType() - Method in class org.junit.platform.launcher.TestIdentifier
Get the underlying descriptor type.
getType() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
getUniqueId() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Get the unique ID of the current test or container.
getUniqueId() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
Get the selected UniqueId.
getUniqueId() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
getUniqueId() - Method in interface org.junit.platform.engine.TestDescriptor
Get the unique identifier (UID) for this descriptor.
getUniqueId() - Method in class org.junit.platform.launcher.TestIdentifier
Get the unique ID of the represented test or container.
getUri() - Method in class org.junit.platform.engine.discovery.UriSelector
Get the selected URI.
getUri() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
Get the URI for the source directory.
getUri() - Method in class org.junit.platform.engine.support.descriptor.FileSource
Get the URI for the source file.
getUri() - Method in interface org.junit.platform.engine.support.descriptor.UriSource
Get the URI that represents this source.
getValue() - Method in class org.junit.platform.engine.UniqueId.Segment
Get the value of this segment.
getVersion() - Method in interface org.junit.platform.engine.TestEngine
Get the version of this test engine.
getWrapperType(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Get the wrapper type for the supplied primitive type.
GLOBAL - Static variable in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
The default, global namespace which allows access to stored data from all extensions.

H

handleTestExecutionException(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.TestExecutionExceptionHandler
Handle the supplied throwable.
handleTestExecutionException(Throwable) - Method in class org.junit.jupiter.migrationsupport.rules.adapter.ExpectedExceptionAdapter
 
handleTestExecutionException(Throwable) - Method in interface org.junit.jupiter.migrationsupport.rules.adapter.GenericBeforeAndAfterAdvice
 
handleTestExecutionException(ExtensionContext, Throwable) - Method in class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
 
hashCode() - Method in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
 
hashCode() - Method in class org.junit.jupiter.engine.script.Script
 
hashCode() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.ClassSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.DirectorySelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.FileSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.MethodSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.ModuleSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.PackageSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.UriSelector
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.FileSource
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
 
hashCode() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
 
hashCode() - Method in class org.junit.platform.engine.TestTag
 
hashCode() - Method in class org.junit.platform.engine.UniqueId
 
hashCode() - Method in class org.junit.platform.engine.UniqueId.Segment
 
hashCode() - Method in class org.junit.platform.launcher.TestIdentifier
 
hasPrefix(UniqueId) - Method in class org.junit.platform.engine.UniqueId
Determine if the supplied UniqueId is a prefix for this UniqueId.
HierarchicalTestEngine<C extends EngineExecutionContext> - Class in org.junit.platform.engine.support.hierarchical
Abstract base class for all TestEngine implementations that wish to organize test suites hierarchically based on the Node abstraction.
HierarchicalTestEngine() - Constructor for class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
 
HierarchicalTestExecutorService - Interface in org.junit.platform.engine.support.hierarchical
A closeable service that executes test tasks.
HierarchicalTestExecutorService.TestTask - Interface in org.junit.platform.engine.support.hierarchical
An executable task that represents a single test or container.
HierarchyTraversalMode - Enum in org.junit.platform.commons.support
Modes in which a hierarchy can be traversed — for example, when searching for methods or fields within a class hierarchy.

I

ifFailure(Consumer<Exception>) - Method in class org.junit.platform.commons.function.Try
If this Try is a failure, call the supplied Consumer with the contained exception; otherwise, do nothing.
ifSuccess(Consumer<V>) - Method in class org.junit.platform.commons.function.Try
If this Try is a success, call the supplied Consumer with the contained value; otherwise, do nothing.
IgnoreCondition - Class in org.junit.jupiter.migrationsupport.conditions
ExecutionCondition that supports JUnit 4's @Ignore annotation.
IgnoreCondition() - Constructor for class org.junit.jupiter.migrationsupport.conditions.IgnoreCondition
 
includeClassNamePatterns(String...) - Static method in interface org.junit.platform.engine.discovery.ClassNameFilter
Create a new include ClassNameFilter based on the supplied patterns.
IncludeClassNamePatterns - Annotation Type in org.junit.platform.suite.api
@IncludeClassNamePatterns specifies regular expressions that are used to match against fully qualified class names when running a test suite on the JUnit Platform.
included(String) - Static method in class org.junit.platform.engine.FilterResult
Factory for creating included results.
included() - Method in class org.junit.platform.engine.FilterResult
 
includedIf(boolean) - Static method in class org.junit.platform.engine.FilterResult
Factory for creating filter results based on the condition given.
includedIf(boolean, Supplier<String>, Supplier<String>) - Static method in class org.junit.platform.engine.FilterResult
Factory for creating filter results based on the condition given.
includeEngines(String...) - Static method in class org.junit.platform.launcher.EngineFilter
Create a new include EngineFilter based on the supplied engine IDs.
includeEngines(List<String>) - Static method in class org.junit.platform.launcher.EngineFilter
Create a new include EngineFilter based on the supplied engine IDs.
IncludeEngines - Annotation Type in org.junit.platform.suite.api
@IncludeEngines specifies the IDs of TestEngines to be included when running a test suite on the JUnit Platform.
includePackageNames(String...) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
Create a new include PackageNameFilter based on the supplied package names.
includePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
Create a new include PackageNameFilter based on the supplied package names.
IncludePackages - Annotation Type in org.junit.platform.suite.api
@IncludePackages specifies the packages to be included when running a test suite on the JUnit Platform.
includeTags(String...) - Static method in class org.junit.platform.launcher.TagFilter
Create an include filter based on the supplied tag expressions.
includeTags(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
Create an include filter based on the supplied tag expressions.
IncludeTags - Annotation Type in org.junit.platform.suite.api
@IncludeTags specifies the tags or tag expressions to be included when running a test suite on the JUnit Platform.
INDEX_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
Placeholder for the current invocation index of a @ParameterizedTest method (1-based): {index}
info(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the message from the provided messageSupplier at info level.
info(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the provided Throwable and message from the provided messageSupplier at info level.
initialize(AnnotatedElement, T) - Static method in class org.junit.jupiter.params.support.AnnotationConsumerInitializer
 
INSTANCE - Static variable in class org.junit.jupiter.params.converter.DefaultArgumentConverter
 
instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
instantiateTestClass(Optional<TestInstances>, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
invoke(Constructor<T>, ExtensionContext, ExtensionRegistry) - Method in class org.junit.jupiter.engine.execution.ExecutableInvoker
Invoke the supplied constructor with dynamic parameter resolution.
invoke(Constructor<T>, Object, ExtensionContext, ExtensionRegistry) - Method in class org.junit.jupiter.engine.execution.ExecutableInvoker
Invoke the supplied constructor with the supplied outer instance and dynamic parameter resolution.
invoke(Method, ExtensionContext, ExtensionRegistry) - Method in class org.junit.jupiter.engine.execution.ExecutableInvoker
Invoke the supplied static method with dynamic parameter resolution.
invoke(Method, Object, ExtensionContext, ExtensionRegistry) - Method in class org.junit.jupiter.engine.execution.ExecutableInvoker
Invoke the supplied method on the supplied target object with dynamic parameter resolution.
invoke(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node.Invocation
Invoke this invocation with the supplied context.
invokeAfterEachMethod(ExtensionContext, ExtensionRegistry) - Method in interface org.junit.jupiter.engine.execution.AfterEachMethodAdapter
 
invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
 
invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
Invoke all supplied test tasks and block until their execution has finished.
invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
 
invokeBeforeEachMethod(ExtensionContext, ExtensionRegistry) - Method in interface org.junit.jupiter.engine.execution.BeforeEachMethodAdapter
 
invokeMethod(Method, Object, Object...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Invoke the supplied method, making it accessible if necessary and masking any checked exception as an unchecked exception.
invokeMethod(Method, Object, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
invokeTestMethod(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
invokeTestMethod(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
isAbstract(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied class is abstract.
isAbstract(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied member is abstract.
isAbstract(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isAbstract(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isAnnotated(Class<? extends Annotation>) - Method in interface org.junit.jupiter.api.extension.ParameterContext
Determine if an annotation of annotationType is either present or meta-present on the Parameter for this context.
isAnnotated(Class<? extends Annotation>) - Method in interface org.junit.jupiter.api.MethodDescriptor
Determine if an annotation of annotationType is either present or meta-present on the Method for this descriptor.
isAnnotated(Optional<? extends AnnotatedElement>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Determine if an annotation of annotationType is either present or meta-present on the supplied optional element.
isAnnotated(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Determine if an annotation of annotationType is either present or meta-present on the supplied element.
isAnnotated(Optional<? extends AnnotatedElement>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
Determine if an annotation of annotationType is either present or meta-present on the supplied optional element.
isAnnotated(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
Determine if an annotation of annotationType is either present or meta-present on the supplied element.
isArray(Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Determine if the supplied object is an array.
isAssignableTo(Object, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Determine if the supplied object can be assigned to the supplied target type for the purpose of reflective method invocations.
isBlank(String) - Static method in class org.junit.platform.commons.util.StringUtils
Determine if the supplied String is blank (i.e., null or consisting only of whitespace characters).
isContainer() - Method in interface org.junit.platform.engine.TestDescriptor
Determine if this descriptor describes a container.
isContainer() - Method in enum org.junit.platform.engine.TestDescriptor.Type
 
isContainer() - Method in class org.junit.platform.launcher.TestIdentifier
Determine if this identifier represents a container.
isCurrentOs() - Method in enum org.junit.jupiter.api.condition.OS
 
isCurrentVersion() - Method in enum org.junit.jupiter.api.condition.JRE
 
isDisabled() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
Whether the container or test should be disabled.
isEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Determine if this ThrowableCollector is empty (i.e., has not collected any Throwables).
isExtensionAutoDetectionEnabled() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
isExtensionAutoDetectionEnabled() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
isExtensionAutoDetectionEnabled() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
IsInnerClass - Class in org.junit.jupiter.engine.discovery.predicates
Test if a class is a non-private inner class (i.e., a non-static nested class).
IsInnerClass() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsInnerClass
 
isInnerClass(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Determine if the supplied class is an inner class (i.e., a non-static member class).
isJavaPlatformModuleSystemAvailable() - Static method in class org.junit.platform.commons.util.ModuleUtils
Determine if the current Java runtime supports the Java Platform Module System.
isMethodPresent(Class<?>, Predicate<Method>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Determine if a Method matching the supplied Predicate is present within the type hierarchy of the specified class, beginning with the specified class or interface and traversing up the type hierarchy until such a method is found or the type hierarchy is exhausted.
isMultidimensionalArray(Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Determine if the supplied object is a multidimensional array.
IsNestedTestClass - Class in org.junit.jupiter.engine.discovery.predicates
Test if a class is a JUnit Jupiter @Nested test class.
IsNestedTestClass() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsNestedTestClass
 
isNotBlank(String) - Static method in class org.junit.platform.commons.util.StringUtils
Determine if the supplied String is not blank.
isNotEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Determine if this ThrowableCollector is not empty (i.e., has collected at least one Throwable).
isNotPrivate(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied class is not private.
isNotPrivate(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied member is not private.
isNotPrivate(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isNotPrivate(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isNotStatic(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied class is not static.
isNotStatic(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied member is not static.
isNotStatic(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isNotStatic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isParallelExecutionEnabled() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
isParallelExecutionEnabled() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
isParallelExecutionEnabled() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
IsPotentialTestContainer - Class in org.junit.jupiter.engine.discovery.predicates
Test if a class is a potential top-level JUnit Jupiter test container, even if it does not contain tests.
IsPotentialTestContainer() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsPotentialTestContainer
 
isPrivate(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied class is private.
isPrivate(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied member is private.
isPrivate(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isPrivate(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isPublic(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied class is public.
isPublic(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied member is public.
isPublic(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isPublic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isRoot() - Method in interface org.junit.platform.engine.TestDescriptor
Determine if this descriptor is a root descriptor.
isSkipped() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
Whether execution of the context should be skipped.
isStatic(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied class is static.
isStatic(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied member is static.
isStatic(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isStatic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isTest() - Method in interface org.junit.platform.engine.TestDescriptor
Determine if this descriptor describes a test.
isTest() - Method in enum org.junit.platform.engine.TestDescriptor.Type
 
isTest() - Method in class org.junit.platform.launcher.TestIdentifier
Determine if this identifier represents a test.
IsTestClassWithTests - Class in org.junit.jupiter.engine.discovery.predicates
Test if a class is a JUnit Jupiter test class containing executable tests, test factories, test templates, or nested tests.
IsTestClassWithTests() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
 
isTestEngineAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Determine if test engines should be discovered at runtime using the ServiceLoader mechanism and automatically registered.
isTestExecutionListenerAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Determine if test execution listeners should be discovered at runtime using the ServiceLoader mechanism and automatically registered.
IsTestFactoryMethod - Class in org.junit.jupiter.engine.discovery.predicates
Test if a method is a JUnit Jupiter @TestFactory method.
IsTestFactoryMethod() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethod
 
IsTestMethod - Class in org.junit.jupiter.engine.discovery.predicates
Test if a method is a JUnit Jupiter @Test method.
IsTestMethod() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestMethod
 
IsTestTemplateMethod - Class in org.junit.jupiter.engine.discovery.predicates
Test if a method is a JUnit Jupiter @TestTemplate method.
IsTestTemplateMethod() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod
 
isValid(String) - Static method in class org.junit.platform.engine.TestTag
Determine if the supplied tag name is valid with regard to the supported syntax for tags.

J

JavaTimeConversionPattern - Annotation Type in org.junit.jupiter.params.converter
@JavaTimeConversionPattern is an annotation that allows a date/time conversion pattern to be specified on a parameter of a @ParameterizedTest method.
JRE - Enum in org.junit.jupiter.api.condition
Enumeration of Java Runtime Environment (JRE) versions.
JUnitException - Exception in org.junit.platform.commons
Base class for all RuntimeExceptions thrown by JUnit.
JUnitException(String) - Constructor for exception org.junit.platform.commons.JUnitException
 
JUnitException(String, Throwable) - Constructor for exception org.junit.platform.commons.JUnitException
 
JUnitPlatform - Class in org.junit.platform.runner
JUnit 4 based Runner which runs tests on the JUnit Platform in a JUnit 4 environment.
JUnitPlatform(Class<?>) - Constructor for class org.junit.platform.runner.JUnitPlatform
 
JupiterConfiguration - Interface in org.junit.jupiter.engine.config
 
JupiterEngineDescriptor - Class in org.junit.jupiter.engine.descriptor
 
JupiterEngineDescriptor(UniqueId, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
 
JupiterEngineExecutionContext - Class in org.junit.jupiter.engine.execution
 
JupiterEngineExecutionContext(EngineExecutionListener, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
JupiterEngineExecutionContext.Builder - Class in org.junit.jupiter.engine.execution
 
JupiterTestDescriptor - Class in org.junit.jupiter.engine.descriptor
 
JupiterTestEngine - Class in org.junit.jupiter.engine
The JUnit Jupiter TestEngine.
JupiterTestEngine() - Constructor for class org.junit.jupiter.engine.JupiterTestEngine
 
JupiterThrowableCollectorFactory - Class in org.junit.jupiter.engine.support
Factory for creating ThrowableCollectors within the JUnit Jupiter test engine.
JupiterThrowableCollectorFactory() - Constructor for class org.junit.jupiter.engine.support.JupiterThrowableCollectorFactory
 

L

Launcher - Interface in org.junit.platform.launcher
The Launcher API is the main entry point for client code that wishes to discover and execute tests using one or more test engines.
LauncherConfig - Interface in org.junit.platform.launcher.core
LauncherConfig defines the configuration API for creating Launcher instances via the LauncherFactory.
LauncherConfig.Builder - Class in org.junit.platform.launcher.core
Builder API for LauncherConfig.
LauncherConstants - Class in org.junit.platform.launcher
Collection of constants related to Launcher.
LauncherDiscoveryRequest - Interface in org.junit.platform.launcher
LauncherDiscoveryRequest extends the EngineDiscoveryRequest API with additional filters that are applied by the Launcher itself.
LauncherDiscoveryRequestBuilder - Class in org.junit.platform.launcher.core
The LauncherDiscoveryRequestBuilder provides a light-weight DSL for generating a LauncherDiscoveryRequest.
LauncherDiscoveryRequestBuilder() - Constructor for class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
 
LauncherFactory - Class in org.junit.platform.launcher.core
Factory for creating Launcher instances by invoking LauncherFactory.create() or LauncherFactory.create(LauncherConfig).
LegacyReportingUtils - Class in org.junit.platform.launcher.listeners
Utility methods for dealing with legacy reporting infrastructure, such as reporting systems built on the Ant-based XML reporting format for JUnit 4.
LegacyXmlReportGeneratingListener - Class in org.junit.platform.reporting.legacy.xml
LegacyXmlReportGeneratingListener is a TestExecutionListener that generates a separate XML report for each root in the TestPlan.
LegacyXmlReportGeneratingListener(Path, PrintWriter) - Constructor for class org.junit.platform.reporting.legacy.xml.LegacyXmlReportGeneratingListener
 
lifecycle - Variable in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
loadClass(String) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Deprecated.
loadClass(String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Deprecated.
loadClass(String, ClassLoader) - Static method in class org.junit.platform.commons.util.ReflectionUtils
LOCALE - Static variable in class org.junit.jupiter.api.parallel.Resources
Represents the default locale for the current instance of the JVM.
Logger - Interface in org.junit.platform.commons.logging
The Logger API serves as a simple logging facade for java.util.logging (JUL).
LoggerFactory - Class in org.junit.platform.commons.logging
Factory for the Logger facade for JUL.
LoggingListener - Class in org.junit.platform.launcher.listeners
Simple TestExecutionListener for logging informational messages for all events via a BiConsumer that consumes Throwable and Supplier<String>.
LogRecordListener - Class in org.junit.platform.commons.logging
LogRecordListener is only intended for testing purposes within JUnit's own test suite.
LogRecordListener() - Constructor for class org.junit.platform.commons.logging.LogRecordListener
 
logRecordSubmitted(LogRecord) - Method in class org.junit.platform.commons.logging.LogRecordListener
Inform the listener of a LogRecord that was submitted to JUL for processing.
LONG_DISPLAY_NAME - Static variable in annotation type org.junit.jupiter.api.RepeatedTest
Long display name pattern for a repeated test: "{displayName} :: repetition {currentRepetition} of {totalRepetitions}"

M

makeAccessible(T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
match(String) - Method in class org.junit.platform.commons.util.ClassFilter
Test name using the stored name predicate.
match(Class<?>) - Method in class org.junit.platform.commons.util.ClassFilter
Test class using the stored class predicate.
mayRegisterTests() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
mayRegisterTests() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
mayRegisterTests() - Method in interface org.junit.platform.engine.TestDescriptor
Determine if this descriptor may register dynamic tests during execution.
MethodBasedTestDescriptor - Class in org.junit.jupiter.engine.descriptor
Base class for TestDescriptors based on Java methods.
MethodDescriptor - Interface in org.junit.jupiter.api
MethodDescriptor encapsulates functionality for a given Method.
MethodOrderer - Interface in org.junit.jupiter.api
MethodOrderer defines the API for ordering the test methods in a given test class.
MethodOrderer.Alphanumeric - Class in org.junit.jupiter.api
MethodOrderer that sorts methods alphanumerically based on their names using String.compareTo(String).
MethodOrderer.OrderAnnotation - Class in org.junit.jupiter.api
MethodOrderer that sorts methods based on the @Order annotation.
MethodOrderer.Random - Class in org.junit.jupiter.api
MethodOrderer that orders methods pseudo-randomly and allows for concurrent execution by default.
MethodOrdererContext - Interface in org.junit.jupiter.api
MethodOrdererContext encapsulates the context in which a MethodOrderer will be invoked.
MethodSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a Method or a combination of class name, method name, and parameter types so that TestEngines can discover tests or containers based on methods.
MethodSource - Annotation Type in org.junit.jupiter.params.provider
@MethodSource is an ArgumentsSource which provides access to values returned from factory methods of the class in which this annotation is declared or from static factory methods in external classes referenced by fully qualified method name.
MethodSource - Class in org.junit.platform.engine.support.descriptor
Method based TestSource.
ModifierSupport - Class in org.junit.platform.commons.support
ModifierSupport provides static utility methods for working with class and member modifiers — for example, to determine if a class or member is declared as public, private, abstract, static, etc.
ModuleSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a module name so that TestEngines can discover tests or containers based on modules.
ModuleUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with java.lang.Module and friends.
ModuleUtils() - Constructor for class org.junit.platform.commons.util.ModuleUtils
 

N

NamespaceAwareStore - Class in org.junit.jupiter.engine.execution
 
NamespaceAwareStore(ExtensionValuesStore, ExtensionContext.Namespace) - Constructor for class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
Nested - Annotation Type in org.junit.jupiter.api
@Nested is used to signal that the annotated class is a nested, non-static test class (i.e., an inner class) that can share setup and state with an instance of its enclosing class.
NestedClassTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for tests based on nested (but not static) Java classes.
NestedClassTestDescriptor(UniqueId, Class<?>, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
newInstance(Class<T>, Object...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Create a new instance of the specified Class by invoking the constructor whose argument list matches the types of the supplied arguments.
newInstance(Class<T>, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
newInstance(Constructor<T>, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Create a new instance of type T by invoking the supplied constructor with the supplied arguments.
Node<C extends EngineExecutionContext> - Interface in org.junit.platform.engine.support.hierarchical
A node within the execution hierarchy.
Node.DynamicTestExecutor - Interface in org.junit.platform.engine.support.hierarchical
Executor for additional, dynamic test descriptors discovered during execution of a Node.
Node.ExecutionMode - Enum in org.junit.platform.engine.support.hierarchical
Supported execution modes for parallel execution.
Node.Invocation<C extends EngineExecutionContext> - Interface in org.junit.platform.engine.support.hierarchical
Represents an invocation that runs with the supplied context.
Node.SkipResult - Class in org.junit.platform.engine.support.hierarchical
The result of determining whether the execution of a given context should be skipped.
nodeFinished(JupiterEngineExecutionContext, TestDescriptor, TestExecutionResult) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
nodeFinished(JupiterEngineExecutionContext, TestDescriptor, TestExecutionResult) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
Invoke testSuccessful(), testAborted(), or testFailed() on each registered TestWatcher according to the status of the supplied TestExecutionResult, in reverse registration order.
nodeFinished(C, TestDescriptor, TestExecutionResult) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Callback invoked when the execution of this node has finished.
nodeSkipped(JupiterEngineExecutionContext, TestDescriptor, Node.SkipResult) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
nodeSkipped(JupiterEngineExecutionContext, TestDescriptor, Node.SkipResult) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
Invoke TestWatcher.testDisabled(ExtensionContext, Optional) on each registered TestWatcher, in registration order.
nodeSkipped(C, TestDescriptor, Node.SkipResult) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Callback invoked when the execution of this node has been skipped.
notBlank(String, String) - Static method in class org.junit.platform.commons.util.Preconditions
Assert that the supplied String is not blank.
notBlank(String, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
Assert that the supplied String is not blank.
notEmpty(T[], String) - Static method in class org.junit.platform.commons.util.Preconditions
Assert that the supplied array is neither null nor empty.
notEmpty(T[], Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
Assert that the supplied array is neither null nor empty.
notEmpty(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
Assert that the supplied Collection is neither null nor empty.
notEmpty(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
Assert that the supplied Collection is neither null nor empty.
notNull(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
Assert that the supplied Object is not null.
notNull(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
Assert that the supplied Object is not null.
NullAndEmptySource - Annotation Type in org.junit.jupiter.params.provider
@NullAndEmptySource is a composed annotation that combines the functionality of @NullSource and @EmptySource.
nullSafeToString(Class<?>...) - Static method in class org.junit.platform.commons.support.ClassSupport
Generate a comma-separated list of fully qualified class names for the supplied classes.
nullSafeToString(Function<? super Class<?>, ? extends String>, Class<?>...) - Static method in class org.junit.platform.commons.support.ClassSupport
Generate a comma-separated list of mapped values for the supplied classes.
nullSafeToString(Class<?>) - Static method in class org.junit.platform.commons.util.ClassUtils
Get the fully qualified name of the supplied class.
nullSafeToString(Class<?>...) - Static method in class org.junit.platform.commons.util.ClassUtils
Generate a comma-separated list of fully qualified class names for the supplied classes.
nullSafeToString(Function<? super Class<?>, ? extends String>, Class<?>...) - Static method in class org.junit.platform.commons.util.ClassUtils
Generate a comma-separated list of mapped values for the supplied classes.
nullSafeToString(Object) - Static method in class org.junit.platform.commons.util.StringUtils
Convert the supplied Object to a String using the following algorithm.
NullSource - Annotation Type in org.junit.jupiter.params.provider
@NullSource is an ArgumentsSource which provides a single null argument to the annotated @ParameterizedTest method.

O

of(Object) - Static method in class org.junit.jupiter.engine.execution.DefaultTestInstances
 
of(TestInstances, Object) - Static method in class org.junit.jupiter.engine.execution.DefaultTestInstances
 
of(Object...) - Static method in interface org.junit.jupiter.params.provider.Arguments
Factory method for creating an instance of Arguments based on the supplied arguments.
of(Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ClassFilter
Create a ClassFilter instance that accepts all names but filters classes.
of(Predicate<String>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ClassFilter
Create a ClassFilter instance that filters by names and classes.
OpenTest4JAwareThrowableCollector - Class in org.junit.platform.engine.support.hierarchical
Specialization of ThrowableCollector that treats instances of TestAbortedException as aborting.
OpenTest4JAwareThrowableCollector() - Constructor for class org.junit.platform.engine.support.hierarchical.OpenTest4JAwareThrowableCollector
 
Order - Annotation Type in org.junit.jupiter.api
@Order is an annotation that is used to configure the order in which the annotated element (i.e., field or method) should be evaluated or executed relative to other elements of the same category.
OrderAnnotation() - Constructor for class org.junit.jupiter.api.MethodOrderer.OrderAnnotation
 
orderMethods(MethodOrdererContext) - Method in class org.junit.jupiter.api.MethodOrderer.Alphanumeric
Sort the methods encapsulated in the supplied MethodOrdererContext alphanumerically based on their names and formal parameter lists.
orderMethods(MethodOrdererContext) - Method in class org.junit.jupiter.api.MethodOrderer.OrderAnnotation
Sort the methods encapsulated in the supplied MethodOrdererContext based on the @Order annotation.
orderMethods(MethodOrdererContext) - Method in interface org.junit.jupiter.api.MethodOrderer
Order the methods encapsulated in the supplied MethodOrdererContext.
orderMethods(MethodOrdererContext) - Method in class org.junit.jupiter.api.MethodOrderer.Random
Order the methods encapsulated in the supplied MethodOrdererContext pseudo-randomly.
orElse(Supplier<Try<V>>) - Method in class org.junit.platform.commons.function.Try
If this Try is a failure, call the supplied supplier and return the resulting Try; if this Try is a success, do nothing.
orElseTry(Callable<V>) - Method in class org.junit.platform.commons.function.Try
If this Try is a failure, call the supplied action and return a new successful or failed Try depending on the action's outcome; if this Try is a success, do nothing.
org.junit.jupiter.api - package org.junit.jupiter.api
JUnit Jupiter API for writing tests.
org.junit.jupiter.api.condition - package org.junit.jupiter.api.condition
Annotation-based conditions for enabling or disabling tests in JUnit Jupiter.
org.junit.jupiter.api.extension - package org.junit.jupiter.api.extension
JUnit Jupiter API for writing extensions.
org.junit.jupiter.api.function - package org.junit.jupiter.api.function
Functional interfaces used within JUnit Jupiter.
org.junit.jupiter.api.io - package org.junit.jupiter.api.io
IO-related support in JUnit Jupiter.
org.junit.jupiter.api.parallel - package org.junit.jupiter.api.parallel
JUnit Jupiter API for influencing parallel test execution.
org.junit.jupiter.engine - package org.junit.jupiter.engine
Core package for the JUnit Jupiter test engine.
org.junit.jupiter.engine.config - package org.junit.jupiter.engine.config
Configuration specific to the JUnit Jupiter test engine.
org.junit.jupiter.engine.descriptor - package org.junit.jupiter.engine.descriptor
Test descriptors used within the JUnit Jupiter test engine.
org.junit.jupiter.engine.discovery - package org.junit.jupiter.engine.discovery
Internal classes for test discovery within the JUnit Jupiter test engine.
org.junit.jupiter.engine.discovery.predicates - package org.junit.jupiter.engine.discovery.predicates
Internal predicate classes used by test discovery within the JUnit Jupiter test engine.
org.junit.jupiter.engine.execution - package org.junit.jupiter.engine.execution
Internal classes for test execution within the JUnit Jupiter test engine.
org.junit.jupiter.engine.extension - package org.junit.jupiter.engine.extension
Test extensions specific to the JUnit Jupiter test engine.
org.junit.jupiter.engine.script - package org.junit.jupiter.engine.script
Scripting support specific to the JUnit Jupiter test engine.
org.junit.jupiter.engine.support - package org.junit.jupiter.engine.support
Internal support classes for the JUnit Jupiter test engine.
org.junit.jupiter.migrationsupport - package org.junit.jupiter.migrationsupport
Support for migrating from JUnit 4 to JUnit Jupiter.
org.junit.jupiter.migrationsupport.conditions - package org.junit.jupiter.migrationsupport.conditions
Extensions which provide support for conditional test execution features of JUnit 4 (e.g., the @Ignore annotation) within JUnit Jupiter.
org.junit.jupiter.migrationsupport.rules - package org.junit.jupiter.migrationsupport.rules
Extensions which provide (limited) support for JUnit 4 rules within JUnit Jupiter.
org.junit.jupiter.migrationsupport.rules.adapter - package org.junit.jupiter.migrationsupport.rules.adapter
Simple wrappers for JUnit 4 rules to overcome visibility limitations of the JUnit 4 implementations.
org.junit.jupiter.migrationsupport.rules.member - package org.junit.jupiter.migrationsupport.rules.member
Abstractions for members which can be targets of JUnit 4 rule annotations.
org.junit.jupiter.params - package org.junit.jupiter.params
JUnit Jupiter extension for parameterized tests.
org.junit.jupiter.params.aggregator - package org.junit.jupiter.params.aggregator
The ArgumentsAggregator and ArgumentsAccessor interfaces and the AggregateWith annotation.
org.junit.jupiter.params.converter - package org.junit.jupiter.params.converter
ArgumentConverter implementations and the corresponding @ConvertWith annotation.
org.junit.jupiter.params.provider - package org.junit.jupiter.params.provider
ArgumentsProvider implementations and their corresponding ArgumentsSource annotations.
org.junit.jupiter.params.support - package org.junit.jupiter.params.support
Support classes for building providers and converters for arguments.
org.junit.platform.commons - package org.junit.platform.commons
Common APIs and support utilities for the JUnit Platform.
org.junit.platform.commons.annotation - package org.junit.platform.commons.annotation
Common annotations for the JUnit Platform.
org.junit.platform.commons.function - package org.junit.platform.commons.function
Maintained functional interfaces and support classes.
org.junit.platform.commons.logging - package org.junit.platform.commons.logging
Internal logging package.
org.junit.platform.commons.support - package org.junit.platform.commons.support
Maintained common support APIs provided by the JUnit Platform.
org.junit.platform.commons.util - package org.junit.platform.commons.util
Internal common utilities for JUnit.
org.junit.platform.engine - package org.junit.platform.engine
Public API for test engines.
org.junit.platform.engine.discovery - package org.junit.platform.engine.discovery
Concrete selectors and filters to be used in discovery requests.
org.junit.platform.engine.reporting - package org.junit.platform.engine.reporting
Classes used by test engines to report additional data to execution listeners.
org.junit.platform.engine.support.config - package org.junit.platform.engine.support.config
ConfigurationParameters-related support classes intended to be used by test engine implementations.
org.junit.platform.engine.support.descriptor - package org.junit.platform.engine.support.descriptor
TestDescriptor-related support classes intended to be used by test engine implementations and clients of the launcher.
org.junit.platform.engine.support.filter - package org.junit.platform.engine.support.filter
Filter-related support classes intended to be used by test engine implementations.
org.junit.platform.engine.support.hierarchical - package org.junit.platform.engine.support.hierarchical
Support classes and base implementation for any TestEngine that wishes to organize test suites hierarchically based on the Node abstraction.
org.junit.platform.launcher - package org.junit.platform.launcher
Public API for configuring and launching test plans.
org.junit.platform.launcher.core - package org.junit.platform.launcher.core
Core support classes for the Launcher including the LauncherFactory and the LauncherDiscoveryRequestBuilder.
org.junit.platform.launcher.listeners - package org.junit.platform.launcher.listeners
Common TestExecutionListener implementations and related support classes for the Launcher.
org.junit.platform.launcher.tagexpression - package org.junit.platform.launcher.tagexpression
The tag expression language parser and related support classes.
org.junit.platform.reporting - package org.junit.platform.reporting
JUnit Platform Reporting.
org.junit.platform.reporting.legacy - package org.junit.platform.reporting.legacy
Support for legacy reporting formats.
org.junit.platform.reporting.legacy.xml - package org.junit.platform.reporting.legacy.xml
Support for generating XML reports using a format which is compatible with the de facto standard for JUnit 4 based test reports that was made popular by the Ant build system.
org.junit.platform.runner - package org.junit.platform.runner
Runner and annotations for configuring and executing tests on the JUnit Platform in a JUnit 4 environment.
org.junit.platform.suite.api - package org.junit.platform.suite.api
Annotations for configuring a test suite on the JUnit Platform.
org.junit.vintage.engine - package org.junit.vintage.engine
Core package for the JUnit Vintage test engine.
org.junit.vintage.engine.descriptor - package org.junit.vintage.engine.descriptor
Test descriptors used within the JUnit Vintage test engine.
org.junit.vintage.engine.discovery - package org.junit.vintage.engine.discovery
Internal classes for test discovery within the JUnit Vintage test engine.
org.junit.vintage.engine.execution - package org.junit.vintage.engine.execution
Internal classes for test execution within the JUnit Vintage test engine.
org.junit.vintage.engine.support - package org.junit.vintage.engine.support
Internal support classes for test discovery and execution within the JUnit Vintage test engine.
OS - Enum in org.junit.jupiter.api.condition
Enumeration of common operating systems used for testing Java applications.

P

PackageNameFilter - Interface in org.junit.platform.engine.discovery
DiscoveryFilter that is applied to the name of a Package.
PackageSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a package name so that TestEngines can discover tests or containers based on packages.
PackageSource - Class in org.junit.platform.engine.support.descriptor
Package based TestSource.
PackageUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with packages.
PARALLEL_CONFIG_CUSTOM_CLASS_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to specify the fully qualified class name of the ParallelExecutionConfigurationStrategy to be used for the custom configuration strategy: "junit.jupiter.execution.parallel.config.custom.class"
PARALLEL_CONFIG_DYNAMIC_FACTOR_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to set the factor to be multiplied with the number of available processors/cores to determine the desired parallelism for the dynamic configuration strategy: "junit.jupiter.execution.parallel.config.dynamic.factor"
PARALLEL_CONFIG_FIXED_PARALLELISM_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to set the desired parallelism for the fixed configuration strategy: "junit.jupiter.execution.parallel.config.fixed.parallelism"
PARALLEL_CONFIG_STRATEGY_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to select the ParallelExecutionConfigurationStrategy: "junit.jupiter.execution.parallel.config.strategy"
PARALLEL_EXECUTION_ENABLED_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
PARALLEL_EXECUTION_ENABLED_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to enable parallel test execution: "junit.jupiter.execution.parallel.enabled"
ParallelExecutionConfiguration - Interface in org.junit.platform.engine.support.hierarchical
Configuration to use for parallel test execution.
ParallelExecutionConfigurationStrategy - Interface in org.junit.platform.engine.support.hierarchical
A strategy to use for configuring parallel test execution.
ParameterContext - Interface in org.junit.jupiter.api.extension
ParameterContext encapsulates the context in which an Executable will be invoked for a given Parameter.
ParameterizedTest - Annotation Type in org.junit.jupiter.params
@ParameterizedTest is used to signal that the annotated method is a parameterized test method.
ParameterResolutionException - Exception in org.junit.jupiter.api.extension
Thrown if an error is encountered in the configuration or execution of a ParameterResolver.
ParameterResolutionException(String) - Constructor for exception org.junit.jupiter.api.extension.ParameterResolutionException
 
ParameterResolutionException(String, Throwable) - Constructor for exception org.junit.jupiter.api.extension.ParameterResolutionException
 
ParameterResolver - Interface in org.junit.jupiter.api.extension
ParameterResolver defines the API for Extensions that wish to dynamically resolve arguments for parameters at runtime.
parameterTypesAsString(Method) - Static method in interface org.junit.jupiter.api.DisplayNameGenerator
Compile a string representation from all simple parameter type names.
parse(String) - Static method in class org.junit.platform.engine.UniqueId
Parse a UniqueId from the supplied string representation using the default format.
parseFrom(String) - Static method in interface org.junit.platform.launcher.tagexpression.TagExpression
Attempt to parse a TagExpression from the supplied tag expression string.
parseFullyQualifiedMethodName(String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Parse the supplied fully qualified method name into a 3-element String[] with the following content.
ParseResult - Interface in org.junit.platform.launcher.tagexpression
The result of attempting to parse a TagExpression.
populateNewExtensionRegistry(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
populateNewExtensionRegistry(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
PostDiscoveryFilter - Interface in org.junit.platform.launcher
A PostDiscoveryFilter is applied to TestDescriptors after test discovery.
postProcessTestInstance(Object, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestInstancePostProcessor
Callback for post-processing the supplied test instance.
Preconditions - Class in org.junit.platform.commons.util
Collection of utilities for asserting preconditions for method and constructor arguments.
PreconditionViolationException - Exception in org.junit.platform.commons.util
Thrown if a precondition is violated.
PreconditionViolationException(String) - Constructor for exception org.junit.platform.commons.util.PreconditionViolationException
 
PreconditionViolationException(String, Throwable) - Constructor for exception org.junit.platform.commons.util.PreconditionViolationException
 
PrefixedConfigurationParameters - Class in org.junit.platform.engine.support.config
View of ConfigurationParameters that applies a supplied prefix to all queries.
PrefixedConfigurationParameters(ConfigurationParameters, String) - Constructor for class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
Create a new view of the supplied ConfigurationParameters that applies the supplied prefix to all queries.
prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
 
prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
Must be overridden and return a new context so cleanUp() does not accidentally close the parent context.
prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
prepare(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Prepare the supplied context prior to execution.
printFailuresTo(PrintWriter) - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Print failed containers and tests, including sources and exception messages, to the supplied PrintWriter.
printTo(PrintWriter) - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Print this summary to the supplied PrintWriter.
provideArguments(ExtensionContext) - Method in interface org.junit.jupiter.params.provider.ArgumentsProvider
Provide a Stream of Arguments to be passed to a @ParameterizedTest method.
provideTestTemplateInvocationContexts(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
Provide invocation contexts for the test template method represented by the supplied context.
prune() - Method in interface org.junit.platform.engine.TestDescriptor
Remove this descriptor from the hierarchy unless it is a root or contains tests.
prune() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
publishEntry(Map<String, String>) - Method in interface org.junit.jupiter.api.TestReporter
Publish the supplied map of key-value pairs as a report entry.
publishEntry(String, String) - Method in interface org.junit.jupiter.api.TestReporter
Publish the supplied key-value pair as a report entry.
publishEntry(String) - Method in interface org.junit.jupiter.api.TestReporter
Publish the supplied value as a report entry.
publishReportEntry(Map<String, String>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Publish a map of key-value pairs to be consumed by an org.junit.platform.engine.EngineExecutionListener in order to supply additional information to the reporting infrastructure.
publishReportEntry(String, String) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
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.
publishReportEntry(String) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
Publish the specified value to be consumed by an org.junit.platform.engine.EngineExecutionListener in order to supply additional information to the reporting infrastructure.
put(Object, Object) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
Store a value for later retrieval under the supplied key.
put(Object, Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 

R

Random() - Constructor for class org.junit.jupiter.api.MethodOrderer.Random
 
RANDOM_SEED_PROPERTY_NAME - Static variable in class org.junit.jupiter.api.MethodOrderer.Random
Property name used to set the random seed used by this MethodOrderer: "junit.jupiter.execution.order.random.seed"
readFieldValue(Class<T>, String, T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
readFieldValue(Field) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Deprecated.
readFieldValue(Field, Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
readFieldValues(List<Field>, Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Read the values of the supplied fields, making each field accessible if necessary and masking any checked exception as an unchecked exception.
readFieldValues(List<Field>, Object, Predicate<Field>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Read the values of the supplied fields, making each field accessible if necessary, masking any checked exception as an unchecked exception, and filtering out fields that do not pass the supplied predicate.
readStackTrace(Throwable) - Static method in class org.junit.platform.commons.util.ExceptionUtils
Read the stacktrace of the supplied Throwable into a String.
ReflectionSupport - Class in org.junit.platform.commons.support
ReflectionSupport provides static utility methods for common reflection tasks — for example, scanning for classes in the class-path or module-path, loading classes, finding methods, invoking methods, etc.
ReflectionUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with the Java reflection APIs.
ReflectionUtils.HierarchyTraversalMode - Enum in org.junit.platform.commons.util
Modes in which a hierarchy can be traversed — for example, when searching for methods or fields within a class hierarchy.
RegisterExtension - Annotation Type in org.junit.jupiter.api.extension
@RegisterExtension is used to register an Extension via a field in a test class.
registerExtension(Extension, Object) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
Register the supplied Extension in this registry, without checking if an extension of that type already exists in this registry.
registerTestExecutionListeners(TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
Register one or more listeners for test execution.
release() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
Release this resource lock.
remove(Object) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
Remove the value that was previously stored under the supplied key.
remove(Object, Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
Remove the value of the specified required type that was previously stored under the supplied key.
remove(Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
remove(Object, Class<T>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
removeChild(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
removeChild(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
Remove a child from this descriptor.
removeFromHierarchy() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
removeFromHierarchy() - Method in interface org.junit.platform.engine.TestDescriptor
Remove this non-root descriptor from its parent and remove all the children from this descriptor.
removeFromHierarchy() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
removeListener(LogRecordListener) - Static method in class org.junit.platform.commons.logging.LoggerFactory
Remove the supplied LogRecordListener from the set of registered listeners.
RepeatedTest - Annotation Type in org.junit.jupiter.api
@RepeatedTest is used to signal that the annotated method is a test template method that should be repeated a specified number of times with a configurable display name.
RepetitionInfo - Interface in org.junit.jupiter.api
RepetitionInfo is used to inject information about the current repetition of a repeated test into @RepeatedTest, @BeforeEach, and @AfterEach methods.
replaceIsoControlCharacters(String, String) - Static method in class org.junit.platform.commons.util.StringUtils
Replace all ISO control characters in the supplied String.
ReplaceUnderscores() - Constructor for class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
 
replaceWhitespaceCharacters(String, String) - Static method in class org.junit.platform.commons.util.StringUtils
Replace all whitespace characters in the supplied String.
ReportEntry - Class in org.junit.platform.engine.reporting
ReportEntry encapsulates a time-stamped map of String-based key-value pairs to be published to the reporting infrastructure.
ReportEntry() - Constructor for class org.junit.platform.engine.reporting.ReportEntry
 
reportingEntryPublished(TestDescriptor, ReportEntry) - Method in interface org.junit.platform.engine.EngineExecutionListener
Can be called for any TestDescriptor in order to publish additional information to the reporting infrastructure — for example: Output that would otherwise go to System.out Information about test context or test data
reportingEntryPublished(TestIdentifier, ReportEntry) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when additional test reporting data has been published for the supplied TestIdentifier.
reportingEntryPublished(TestIdentifier, ReportEntry) - Method in class org.junit.platform.reporting.legacy.xml.LegacyXmlReportGeneratingListener
 
request() - Static method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Create a new LauncherDiscoveryRequestBuilder.
RESERVED_CHARACTERS - Static variable in class org.junit.platform.engine.TestTag
Reserved characters that are not permissible as part of a tag name.
resolveParameter(ParameterContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ParameterResolver
Resolve an argument for the Parameter in the supplied ParameterContext for the supplied ExtensionContext.
resolveSelectors(EngineDiscoveryRequest, JupiterConfiguration, TestDescriptor) - Method in class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
 
ResourceAccessMode - Enum in org.junit.jupiter.api.parallel
The access mode required by a test class or method for a given resource.
ResourceLock - Annotation Type in org.junit.jupiter.api.parallel
@ResourceLock is used to declare that the annotated test class or test method requires access to a shared resource identified by a key.
ResourceLock - Interface in org.junit.platform.engine.support.hierarchical
A lock for a one or more resources.
ResourceLocks - Annotation Type in org.junit.jupiter.api.parallel
@ResourceLocks is a container for one or more @ResourceLock declarations.
Resources - Class in org.junit.jupiter.api.parallel
Common resource names for synchronizing test execution.
rethrowIfBlacklisted(Throwable) - Static method in class org.junit.platform.commons.util.BlacklistedExceptions
Rethrow the supplied exception if it is blacklisted.
returnsVoid(Method) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
root(String, String) - Static method in class org.junit.platform.engine.UniqueId
Create a root unique ID from the supplied segmentType and value using the default format.
run(RunNotifier) - Method in class org.junit.platform.runner.JUnitPlatform
 
RunnerDecorator - Interface in org.junit.vintage.engine.discovery
 
RunnerExecutor - Class in org.junit.vintage.engine.execution
 
RunnerExecutor(EngineExecutionListener) - Constructor for class org.junit.vintage.engine.execution.RunnerExecutor
 
RunnerTestDescriptor - Class in org.junit.vintage.engine.descriptor
 
RunnerTestDescriptor(UniqueId, Class<?>, Runner) - Constructor for class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 

S

SameThreadHierarchicalTestExecutorService - Class in org.junit.platform.engine.support.hierarchical
A simple executor service that executes all test tasks in the caller's thread.
SameThreadHierarchicalTestExecutorService() - Constructor for class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
 
Script - Class in org.junit.jupiter.engine.script
Script data class.
Script(Annotation, String, String, String) - Constructor for class org.junit.jupiter.engine.script.Script
 
Script(Class<? extends Annotation>, String, String, String, String) - Constructor for class org.junit.jupiter.engine.script.Script
 
ScriptAccessor - Interface in org.junit.jupiter.engine.script
Used to access named properties without exposing direct access to the underlying source.
ScriptAccessor.ConfigurationParameterAccessor - Class in org.junit.jupiter.engine.script
 
ScriptAccessor.EnvironmentVariableAccessor - Class in org.junit.jupiter.engine.script
 
ScriptAccessor.SystemPropertyAccessor - Class in org.junit.jupiter.engine.script
 
ScriptEvaluationException - Exception in org.junit.jupiter.api.extension
Thrown if an error is encountered while evaluating a script-based ExecutionCondition.
ScriptEvaluationException(String) - Constructor for exception org.junit.jupiter.api.extension.ScriptEvaluationException
 
ScriptEvaluationException(String, Throwable) - Constructor for exception org.junit.jupiter.api.extension.ScriptEvaluationException
 
ScriptExecutionManager - Class in org.junit.jupiter.engine.script
Entry point for script execution support.
ScriptExecutionManager() - Constructor for class org.junit.jupiter.engine.script.ScriptExecutionManager
 
SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
SEGMENT_TYPE_DYNAMIC - Static variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
SEGMENT_TYPE_RUNNER - Static variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
SEGMENT_TYPE_TEST - Static variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
selectClass(Class<?>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a ClassSelector for the supplied Class.
selectClass(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a ClassSelector for the supplied class name.
SelectClasses - Annotation Type in org.junit.platform.suite.api
@SelectClasses specifies the classes to select when running a test suite on the JUnit Platform.
selectClasspathResource(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a ClasspathResourceSelector for the supplied classpath resource name.
selectClasspathRoots(Set<Path>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a list of ClasspathRootSelectors for the supplied classpath roots (directories or JAR files).
selectDirectory(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a DirectorySelector for the supplied directory path.
selectDirectory(File) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a DirectorySelector for the supplied directory.
selectFile(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a FileSelector for the supplied file path.
selectFile(File) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a FileSelector for the supplied file.
selectMethod(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied fully qualified method name.
selectMethod(String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied class name and method name.
selectMethod(String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied class name, method name, and method parameter types.
selectMethod(Class<?>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied Class and method name.
selectMethod(Class<?>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied Class, method name, and method parameter types.
selectMethod(Class<?>, Method) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied Class and Method.
selectModule(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a ModuleSelector for the supplied module name.
selectModules(Set<String>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a list of ModuleSelectors for the supplied module names.
selectors(DiscoverySelector...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all of the supplied selectors to the request.
selectors(List<? extends DiscoverySelector>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all of the supplied selectors to the request.
selectPackage(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a PackageSelector for the supplied package name.
SelectPackages - Annotation Type in org.junit.platform.suite.api
@SelectPackages specifies the names of packages to select when running a test suite on the JUnit Platform.
selectUniqueId(UniqueId) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a UniqueIdSelector for the supplied UniqueId.
selectUniqueId(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a UniqueIdSelector for the supplied unique ID.
selectUri(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a UriSelector for the supplied URI.
selectUri(URI) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a UriSelector for the supplied URI.
setDefaultChildExecutionMode(Node.ExecutionMode) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
setParent(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
setParent(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
Set the parent of this descriptor.
SHORT_DISPLAY_NAME - Static variable in annotation type org.junit.jupiter.api.RepeatedTest
Short display name pattern for a repeated test: "repetition {currentRepetition} of {totalRepetitions}"
shouldBeSkipped(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
shouldBeSkipped(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Determine if the execution of the supplied context should be skipped.
SimpleArgumentConverter - Class in org.junit.jupiter.params.converter
SimpleArgumentConverter is an abstract base class for ArgumentConverter implementations.
SimpleArgumentConverter() - Constructor for class org.junit.jupiter.params.converter.SimpleArgumentConverter
 
SingleTestExecutor - Class in org.junit.platform.engine.support.hierarchical
SingleTestExecutor() - Constructor for class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
Deprecated.
 
SingleTestExecutor.Executable - Interface in org.junit.platform.engine.support.hierarchical
Deprecated.
Functional interface for a single test to be executed by SingleTestExecutor.
size() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the number of arguments in this accessor.
size() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
size() - Method in interface org.junit.platform.engine.ConfigurationParameters
Get the number of configuration parameters stored directly in this ConfigurationParameters.
size() - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
 
skip(String) - Static method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
Factory for creating skipped results.
Standard() - Constructor for class org.junit.jupiter.api.DisplayNameGenerator.Standard
 
STANDARD_INCLUDE_PATTERN - Static variable in interface org.junit.platform.engine.discovery.ClassNameFilter
Standard include pattern in the form of a regular expression that is used to match against fully qualified class names: "^(Test.*|.+[.$]Test.*|.*Tests?)$"
STDERR_REPORT_ENTRY_KEY - Static variable in class org.junit.platform.launcher.LauncherConstants
Key used to publish captured output to System.err as part of a ReportEntry: "stderr"
STDOUT_REPORT_ENTRY_KEY - Static variable in class org.junit.platform.launcher.LauncherConstants
Key used to publish captured output to System.out as part of a ReportEntry: "stdout"
stream(Iterator<T>, Function<? super T, String>, ThrowingConsumer<? super T>) - Static method in class org.junit.jupiter.api.DynamicTest
Generate a stream of dynamic tests based on the supplied generators and test executor.
stream(Class<E>) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
Stream all Extensions of the specified type that are present in this registry or one of its ancestors.
stream() - Method in class org.junit.platform.commons.logging.LogRecordListener
Get a stream of log records that have been submitted to this listener by the current thread.
stream(Level) - Method in class org.junit.platform.commons.logging.LogRecordListener
Get a stream of log records that have been submitted to this listener by the current thread at the given log level.
stream(Class<?>) - Method in class org.junit.platform.commons.logging.LogRecordListener
Get a stream of log records that have been submitted to this listener by the current thread for the logger name equal to the name of the given class.
stream(Class<?>, Level) - Method in class org.junit.platform.commons.logging.LogRecordListener
Get a stream of log records that have been submitted to this listener by the current thread for the logger name equal to the name of the given class at the given log level.
StringUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with Strings, CharSequences, etc.
submit(HierarchicalTestExecutorService.TestTask) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
 
submit(HierarchicalTestExecutorService.TestTask) - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
Submit the supplied test task to be executed by this service.
submit(HierarchicalTestExecutorService.TestTask) - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
 
success(V) - Static method in class org.junit.platform.commons.function.Try
Convert the supplied value into a succeeded Try.
successful() - Static method in class org.junit.platform.engine.TestExecutionResult
Create a TestExecutionResult for a successful execution of a test or container.
SuiteDisplayName - Annotation Type in org.junit.platform.suite.api
@SuiteDisplayName is used to declare a custom display name for the annotated test class that is executed as a test suite on the JUnit Platform.
SummaryGeneratingListener - Class in org.junit.platform.launcher.listeners
Simple TestExecutionListener that generates a summary of the test execution.
SummaryGeneratingListener() - Constructor for class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
supportsParameter(ParameterContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ParameterResolver
Determine if this resolver supports resolution of an argument for the Parameter in the supplied ParameterContext for the supplied ExtensionContext.
supportsTestTemplate(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
Determine if this provider supports providing invocation contexts for the test template method represented by the supplied context.
SYSTEM_ERR - Static variable in class org.junit.jupiter.api.parallel.Resources
Represents the standard error stream of the current process.
SYSTEM_OUT - Static variable in class org.junit.jupiter.api.parallel.Resources
Represents the standard output stream of the current process.
SYSTEM_PROPERTIES - Static variable in class org.junit.jupiter.api.parallel.Resources
Represents Java's system properties.
SystemPropertyAccessor() - Constructor for class org.junit.jupiter.engine.script.ScriptAccessor.SystemPropertyAccessor
 

T

Tag - Annotation Type in org.junit.jupiter.api
@Tag is a repeatable annotation that is used to declare a tag for the annotated test class or test method.
tagExpression() - Method in interface org.junit.platform.launcher.tagexpression.ParseResult
Return the contained TagExpression, if any.
TagExpression - Interface in org.junit.platform.launcher.tagexpression
A tag expression can be evaluated against a collection of tags to determine if they match the expression.
tagExpressionOrThrow(Function<String, RuntimeException>) - Method in interface org.junit.platform.launcher.tagexpression.ParseResult
Return the parsed TagExpression or throw an exception with the contained parse error.
TagFilter - Class in org.junit.platform.launcher
Factory methods for creating PostDiscoveryFilters based on included and excluded tags or tag expressions.
Tags - Annotation Type in org.junit.jupiter.api
@Tags is a container for one or more @Tag declarations.
TempDir - Annotation Type in org.junit.jupiter.api.io
@TempDir can be used to annotate a field in a test class or a parameter in a lifecycle method or test method of type Path or File that should be resolved into a temporary directory.
Test - Annotation Type in org.junit.jupiter.api
@Test is used to signal that the annotated method is a test method.
test(UniqueId) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
 
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsInnerClass
 
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsNestedTestClass
 
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsPotentialTestContainer
 
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
 
test(Class<?>) - Method in class org.junit.platform.commons.util.ClassFilter
 
Testable - Annotation Type in org.junit.platform.commons.annotation
@Testable is used to signal to IDEs and tooling vendors that the annotated or meta-annotated element is testable.
testAborted(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.TestWatcher
Invoked after a test has been aborted.
TestDescriptor - Interface in org.junit.platform.engine
Mutable descriptor for a test or container that has been discovered by a TestEngine.
TestDescriptor.Type - Enum in org.junit.platform.engine
Supported types for TestDescriptors.
TestDescriptor.Visitor - Interface in org.junit.platform.engine
Visitor for the tree-like TestDescriptor structure.
testDisabled(ExtensionContext, Optional<String>) - Method in interface org.junit.jupiter.api.extension.TestWatcher
Invoked after a disabled test has been skipped.
TestEngine - Interface in org.junit.platform.engine
A TestEngine facilitates discovery and execution of tests for a particular programming model.
TestExecutionExceptionHandler - Interface in org.junit.jupiter.api.extension
TestExecutionExceptionHandler defines the API for Extensions that wish to handle exceptions thrown during test execution.
TestExecutionListener - Interface in org.junit.platform.launcher
Register a concrete implementation of this interface with a Launcher to be notified of events that occur during test execution.
TestExecutionResult - Class in org.junit.platform.engine
TestExecutionResult encapsulates the result of executing a single test or container.
TestExecutionResult.Status - Enum in org.junit.platform.engine
Status of executing a single test or container.
TestExecutionSummary - Interface in org.junit.platform.launcher.listeners
Summary of test plan execution.
TestExecutionSummary.Failure - Interface in org.junit.platform.launcher.listeners
Failure of a test or container.
TestFactory - Annotation Type in org.junit.jupiter.api
@TestFactory is used to signal that the annotated method is a test factory method.
TestFactoryTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestFactoryTestDescriptor(UniqueId, Class<?>, Method, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
testFailed(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.TestWatcher
Invoked after a test has failed.
TestIdentifier - Class in org.junit.platform.launcher
Immutable data transfer object that represents a test or container which is usually part of a TestPlan.
TestInfo - Interface in org.junit.jupiter.api
TestInfo is used to inject information about the current test or container into to @Test, @RepeatedTest, @ParameterizedTest, @TestFactory, @BeforeEach, @AfterEach, @BeforeAll, and @AfterAll methods.
TestInstance - Annotation Type in org.junit.jupiter.api
@TestInstance is a type-level annotation that is used to configure the lifecycle of test instances for the annotated test class or test interface.
TestInstance.Lifecycle - Enum in org.junit.jupiter.api
Enumeration of test instance lifecycle modes.
TestInstanceFactory - Interface in org.junit.jupiter.api.extension
TestInstanceFactory defines the API for Extensions that wish to create test instances.
TestInstanceFactoryContext - Interface in org.junit.jupiter.api.extension
TestInstanceFactoryContext encapsulates the context in which a test class is to be instantiated by a TestInstanceFactory.
TestInstanceLifecycleUtils - Class in org.junit.jupiter.engine.descriptor
Collection of utilities for retrieving the test instance lifecycle mode.
TestInstancePostProcessor - Interface in org.junit.jupiter.api.extension
TestInstancePostProcessor defines the API for Extensions that wish to post-process test instances.
TestInstances - Interface in org.junit.jupiter.api.extension
TestInstances encapsulates the test instances of a test.
TestInstancesProvider - Interface in org.junit.jupiter.engine.execution
 
TestInstantiationException - Exception in org.junit.jupiter.api.extension
Thrown if an error is encountered during the execution of a TestInstanceFactory.
TestInstantiationException(String) - Constructor for exception org.junit.jupiter.api.extension.TestInstantiationException
 
TestInstantiationException(String, Throwable) - Constructor for exception org.junit.jupiter.api.extension.TestInstantiationException
 
TestMethodOrder - Annotation Type in org.junit.jupiter.api
@TestMethodOrder is a type-level annotation that is used to configure a MethodOrderer for the test methods of the annotated test class or test interface.
TestMethodTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for @Test methods.
TestMethodTestDescriptor(UniqueId, Class<?>, Method, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
TestPlan - Class in org.junit.platform.launcher
TestPlan describes the tree of tests and containers as discovered by a Launcher.
TestPlan(boolean) - Constructor for class org.junit.platform.launcher.TestPlan
 
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
testPlanExecutionFinished(TestPlan) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of the TestPlan has finished, after all tests have been executed.
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.reporting.legacy.xml.LegacyXmlReportGeneratingListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
testPlanExecutionStarted(TestPlan) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of the TestPlan has started, before any test has been executed.
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.reporting.legacy.xml.LegacyXmlReportGeneratingListener
 
TestReporter - Interface in org.junit.jupiter.api
Parameters of type TestReporter can be injected into @BeforeEach and @AfterEach lifecycle methods as well as methods annotated with @Test, @RepeatedTest, @ParameterizedTest, @TestFactory, etc.
TestRuleAnnotatedField - Class in org.junit.jupiter.migrationsupport.rules.member
 
TestRuleAnnotatedField(Object, Field) - Constructor for class org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedField
 
TestRuleAnnotatedMember - Interface in org.junit.jupiter.migrationsupport.rules.member
 
TestRuleAnnotatedMethod - Class in org.junit.jupiter.migrationsupport.rules.member
 
TestRuleAnnotatedMethod(Object, Method) - Constructor for class org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedMethod
 
TestSource - Interface in org.junit.platform.engine
Representation of the source of a test or container used to navigate to its location by IDEs and build tools.
testSuccessful(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestWatcher
Invoked after a test has completed successfully.
TestTag - Class in org.junit.platform.engine
Immutable value object for a tag that is assigned to a test or container.
TestTemplate - Annotation Type in org.junit.jupiter.api
@TestTemplate is used to signal that the annotated method is a test template method.
TestTemplateInvocationContext - Interface in org.junit.jupiter.api.extension
TestTemplateInvocationContext represents the context of a single invocation of a test template.
TestTemplateInvocationContextProvider - Interface in org.junit.jupiter.api.extension
TestTemplateInvocationContextProvider defines the API for Extensions that wish to provide one or multiple contexts for the invocation of a @TestTemplate method.
TestTemplateInvocationTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for a @TestTemplate invocation.
TestTemplateTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestTemplateTestDescriptor(UniqueId, Class<?>, Method, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
TestWatcher - Interface in org.junit.jupiter.api.extension
TestWatcher defines the API for Extensions that wish to process test results.
ThrowableCollector - Class in org.junit.platform.engine.support.hierarchical
Simple component that can be used to collect one or more instances of Throwable.
ThrowableCollector(Predicate<? super Throwable>) - Constructor for class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Create a new ThrowableCollector that uses the supplied Predicate to determine whether a Throwable aborted or failed execution.
ThrowableCollector.Executable - Interface in org.junit.platform.engine.support.hierarchical
Functional interface for an executable block of code that may throw a Throwable.
ThrowableCollector.Factory - Interface in org.junit.platform.engine.support.hierarchical
Factory for ThrowableCollector instances.
throwAsUncheckedException(Throwable) - Static method in class org.junit.platform.commons.util.ExceptionUtils
Throw the supplied Throwable, masked as an unchecked exception.
ThrowingConsumer<T> - Interface in org.junit.jupiter.api.function
ThrowingConsumer is a functional interface that can be used to implement any generic block of code that consumes an argument and potentially throws a Throwable.
ThrowingSupplier<T> - Interface in org.junit.jupiter.api.function
ThrowingSupplier is a functional interface that can be used to implement any generic block of code that returns an object and potentially throws a Throwable.
TIME_ZONE - Static variable in class org.junit.jupiter.api.parallel.Resources
Represents the default time zone for the current instance of the JVM.
toArray() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get all arguments in this accessor as an array.
toArray() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
toExecutionMode(ExecutionMode) - Static method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
toList() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get all arguments in this accessor as an immutable list.
toList() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
toOptional() - Method in class org.junit.platform.commons.function.Try
If this Try is a failure, return an empty Optional; if this Try is a success, wrap the contained value using Optional.ofNullable(Object).
toPredicate() - Method in interface org.junit.platform.engine.Filter
Return a Predicate that returns true if this filter includes the object supplied to the predicate's test method.
toReasonString(String) - Method in class org.junit.jupiter.engine.script.Script
 
toRequest() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
toStream(Object) - Static method in class org.junit.platform.commons.util.CollectionUtils
Convert an object of one of the following supported types into a Stream.
toString() - Method in class org.junit.jupiter.api.DynamicNode
 
toString() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
 
toString() - Method in class org.junit.platform.commons.util.ToStringBuilder
 
toString() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
 
toString() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
 
toString() - Method in class org.junit.platform.engine.discovery.ClassSelector
 
toString() - Method in class org.junit.platform.engine.discovery.DirectorySelector
 
toString() - Method in class org.junit.platform.engine.discovery.FileSelector
 
toString() - Method in class org.junit.platform.engine.discovery.MethodSelector
 
toString() - Method in class org.junit.platform.engine.discovery.ModuleSelector
 
toString() - Method in class org.junit.platform.engine.discovery.PackageSelector
 
toString() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
 
toString() - Method in class org.junit.platform.engine.discovery.UriSelector
 
toString() - Method in class org.junit.platform.engine.FilterResult
 
toString() - Method in class org.junit.platform.engine.reporting.ReportEntry
 
toString() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
toString() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
 
toString() - Method in class org.junit.platform.engine.support.descriptor.FileSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
 
toString() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
 
toString() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
 
toString() - Method in class org.junit.platform.engine.TestExecutionResult
 
toString() - Method in class org.junit.platform.engine.TestTag
 
toString() - Method in class org.junit.platform.engine.UniqueId.Segment
 
toString() - Method in class org.junit.platform.engine.UniqueId
Generate the unique, formatted string representation of this UniqueId using the configured UniqueIdFormat.
toString() - Method in class org.junit.platform.launcher.EngineFilter
 
toString() - Method in class org.junit.platform.launcher.TestIdentifier
 
ToStringBuilder - Class in org.junit.platform.commons.util
Simple builder for generating strings in custom implementations of toString().
ToStringBuilder(Object) - Constructor for class org.junit.platform.commons.util.ToStringBuilder
 
ToStringBuilder(Class<?>) - Constructor for class org.junit.platform.commons.util.ToStringBuilder
 
TOTAL_REPETITIONS_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.api.RepeatedTest
Placeholder for the total number of repetitions of a @RepeatedTest method: {totalRepetitions}
toUnmodifiableList() - Static method in class org.junit.platform.commons.util.CollectionUtils
Return a Collector that accumulates the input elements into a new unmodifiable list, in encounter order.
trace(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the message from the provided messageSupplier at trace level.
trace(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the provided Throwable and message from the provided messageSupplier at trace level.
Try<V> - Class in org.junit.platform.commons.function
A container object which may either contain a nullable value in case of success or an exception in case of failure.
Try.Transformer<S,T> - Interface in org.junit.platform.commons.function
A transformer for values of type S to type T.
tryToExcludeFromRunner(Description) - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
tryToExcludeFromRunner(Description) - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
tryToGetMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Try to get the Method in the specified class with the specified name and parameter types.
tryToLoadClass(String) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Try to load a class by its primitive name or fully qualified name, using the default ClassLoader.
tryToLoadClass(String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
tryToLoadClass(String, ClassLoader) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Try to load a class by its primitive name or fully qualified name, using the supplied ClassLoader.
tryToReadFieldValue(Field, Object) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Try to read the value of a potentially inaccessible field.
tryToReadFieldValue(Class<T>, String, T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Try to read the value of a potentially inaccessible or nonexistent field.
tryToReadFieldValue(Field) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Try to read the value of a potentially inaccessible static field.
tryToReadFieldValue(Field, Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 

U

UniqueId - Class in org.junit.platform.engine
UniqueId encapsulates the creation, parsing, and display of unique IDs for TestDescriptors.
UniqueId.Segment - Class in org.junit.platform.engine
A segment of a UniqueId comprises a type and a value.
UniqueIdReader - Class in org.junit.vintage.engine.support
 
UniqueIdReader() - Constructor for class org.junit.vintage.engine.support.UniqueIdReader
 
UniqueIdSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a UniqueId so that TestEngines can discover tests or containers based on unique IDs.
UniqueIdStringifier - Class in org.junit.vintage.engine.support
 
UniqueIdStringifier() - Constructor for class org.junit.vintage.engine.support.UniqueIdStringifier
 
UriSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a URI so that TestEngines can discover tests or containers based on URIs.
UriSource - Interface in org.junit.platform.engine.support.descriptor
A TestSource that can be represented as a URI.
UseTechnicalNames - Annotation Type in org.junit.platform.suite.api
@UseTechnicalNames specifies that technical names should be used instead of display names when running a test suite on the JUnit Platform.

V

valueOf(String) - Static method in enum org.junit.jupiter.api.condition.JRE
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.jupiter.api.condition.OS
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.jupiter.api.parallel.ExecutionMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.jupiter.api.parallel.ResourceAccessMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.jupiter.api.TestInstance.Lifecycle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.jupiter.params.provider.EnumSource.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.commons.support.HierarchyTraversalMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.TestDescriptor.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.TestExecutionResult.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.junit.jupiter.api.condition.JRE
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.jupiter.api.condition.OS
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.jupiter.api.parallel.ExecutionMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.jupiter.api.parallel.ResourceAccessMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.jupiter.api.TestInstance.Lifecycle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.jupiter.params.provider.EnumSource.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.commons.support.HierarchyTraversalMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.TestDescriptor.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.TestExecutionResult.Status
Returns an array containing the constants of this enum type, in the order they are declared.
ValueSource - Annotation Type in org.junit.jupiter.params.provider
@ValueSource is an ArgumentsSource which provides access to an array of literal values.
VerifierAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
 
VerifierAdapter(TestRuleAnnotatedMember) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.VerifierAdapter
 
VerifierSupport - Class in org.junit.jupiter.migrationsupport.rules
This Extension provides native support for subclasses of the Verifier rule from JUnit 4.
VerifierSupport() - Constructor for class org.junit.jupiter.migrationsupport.rules.VerifierSupport
 
VintageDiscoverer - Class in org.junit.vintage.engine.discovery
 
VintageDiscoverer() - Constructor for class org.junit.vintage.engine.discovery.VintageDiscoverer
 
VintageTestDescriptor - Class in org.junit.vintage.engine.descriptor
 
VintageTestDescriptor(UniqueId, Description) - Constructor for class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
VintageTestEngine - Class in org.junit.vintage.engine
The JUnit Vintage TestEngine.
VintageTestEngine() - Constructor for class org.junit.vintage.engine.VintageTestEngine
 
visit(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor.Visitor

W

warn(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the message from the provided messageSupplier at warning level.
warn(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the provided Throwable and message from the provided messageSupplier at warning level.
where(Function<T, V>, Predicate<? super V>) - Static method in class org.junit.platform.commons.util.FunctionUtils
Return a predicate that first applies the specified function and then tests the specified predicate against the result of the function.
withExtensionContext(ExtensionContext) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
 
withExtensionRegistry(ExtensionRegistry) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
 
withTestInstancesProvider(TestInstancesProvider) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
 
withThrowableCollector(ThrowableCollector) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
 
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links

Copyright © 2019. All rights reserved.