- aborted(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
-
Obtain a TestExecutionResult
for an aborted execution
of a test or container with the supplied throwable
.
- AbstractClassNameFilter - Class in org.junit.platform.engine.discovery
-
Abstract
ClassNameFilter
that servers as a superclass
for filters including or excluding fully qualified class names
based on pattern-matching.
- AbstractClassNameFilter(String...) - Constructor for class org.junit.platform.engine.discovery.AbstractClassNameFilter
-
- AbstractExtensionContext<T extends TestDescriptor> - Class in org.junit.jupiter.engine.descriptor
-
- AbstractExtensionContext(ExtensionContext, EngineExecutionListener, T) - Constructor for class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
-
- AbstractMethodResolver - Class in org.junit.jupiter.engine.discovery
-
- AbstractMethodResolver(String, Predicate<Method>) - Constructor for class org.junit.jupiter.engine.discovery.AbstractMethodResolver
-
- AbstractTestDescriptor - Class in org.junit.platform.engine.support.descriptor
-
- 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
-
- AbstractTestRuleAnnotatedMember - Class in org.junit.jupiter.migrationsupport.rules.member
-
- AbstractTestRuleAnnotatedMember(TestRule) - Constructor for class org.junit.jupiter.migrationsupport.rules.member.AbstractTestRuleAnnotatedMember
-
- AbstractTestRuleSupport<T extends java.lang.reflect.Member> - Class in org.junit.jupiter.migrationsupport.rules
-
- AbstractTestRuleSupport(Function<TestRuleAnnotatedMember, AbstractTestRuleAdapter>, Class<? extends TestRule>) - Constructor for class org.junit.jupiter.migrationsupport.rules.AbstractTestRuleSupport
-
- accept(T) - Method in interface org.junit.jupiter.api.function.ThrowingConsumer
-
Consume the supplied argument, potentially throwing an exception.
- accept(JavaTimeConversionPattern) - Method in class org.junit.jupiter.params.converter.JavaTimeArgumentConverter
-
- accept(CsvSource) - Method in class org.junit.jupiter.params.provider.CsvArgumentsProvider
-
- accept(CsvFileSource) - Method in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider
-
- accept(EnumSource) - Method in class org.junit.jupiter.params.provider.EnumArgumentsProvider
-
- accept(MethodSource) - Method in class org.junit.jupiter.params.provider.MethodArgumentsProvider
-
- accept(ValueSource) - Method in class org.junit.jupiter.params.provider.ValueArgumentsProvider
-
- accept(TestDescriptor.Visitor) - Method in interface org.junit.platform.engine.TestDescriptor
-
Accept a visitor to the subtree starting with this descriptor.
- accept(Class) - Method in class org.junit.platform.surefire.provider.TestPlanScannerFilter
-
- acceptInAllTestEngines(TestDescriptor.Visitor) - Method in class org.junit.platform.launcher.core.Root
-
- adapter(Filter) - Static method in class org.junit.vintage.engine.discovery.RunnerTestDescriptorAwareFilter
-
- adapterGenerator - Variable in class org.junit.jupiter.migrationsupport.rules.AbstractTestRuleSupport
-
- adapterGenerator - Variable in class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
-
- adapterGenerator - Variable in class org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport
-
- adapterGenerator - Variable in class org.junit.jupiter.migrationsupport.rules.VerifierSupport
-
- 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(Throwable) - Method in class org.junit.jupiter.engine.execution.ThrowableCollector
-
Add the supplied Throwable
to this ThrowableCollector
.
- add(String, String) - Method in class org.junit.platform.engine.reporting.ReportEntry
-
- add(TestEngine, TestDescriptor) - Method in class org.junit.platform.launcher.core.Root
-
- add(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
-
- addCategoriesAsTags(Set<TestTag>) - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
-
- 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.
- addChildrenRecursively(VintageTestDescriptor) - Method in class org.junit.vintage.engine.discovery.TestClassRequestResolver
-
- addCompletely(Class<?>) - Method in class org.junit.vintage.engine.discovery.TestClassCollector
-
- addDynamicDescription(TestIdentifier, String) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
-
- addExcludeClassNamePatternFilter(LauncherDiscoveryRequestBuilder) - Method in class org.junit.platform.runner.JUnitPlatform
-
- addExcludedEnginesFilter(LauncherDiscoveryRequestBuilder) - Method in class org.junit.platform.runner.JUnitPlatform
-
- addExcludedTagsFilter(LauncherDiscoveryRequestBuilder) - Method in class org.junit.platform.runner.JUnitPlatform
-
- addExcludePackagesFilter(LauncherDiscoveryRequestBuilder) - Method in class org.junit.platform.runner.JUnitPlatform
-
- addFailure(TestIdentifier, Throwable) - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- addFiltered(Class<?>, RunnerTestDescriptorAwareFilter) - Method in class org.junit.vintage.engine.discovery.TestClassCollector
-
- addFiltersFromAnnotations(LauncherDiscoveryRequestBuilder, boolean) - Method in class org.junit.platform.runner.JUnitPlatform
-
- addIncludeClassNamePatternFilter(LauncherDiscoveryRequestBuilder, boolean) - Method in class org.junit.platform.runner.JUnitPlatform
-
- addIncludedEnginesFilter(LauncherDiscoveryRequestBuilder) - Method in class org.junit.platform.runner.JUnitPlatform
-
- addIncludedTagsFilter(LauncherDiscoveryRequestBuilder) - Method in class org.junit.platform.runner.JUnitPlatform
-
- addIncludePackagesFilter(LauncherDiscoveryRequestBuilder) - Method in class org.junit.platform.runner.JUnitPlatform
-
- addTagsFromParent(Set<TestTag>) - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
-
- advance() - Method in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider.CsvParserIterator
-
- 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.
- afterAllMethods - Variable in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-
- AfterEach - Annotation Type in org.junit.jupiter.api
-
@AfterEach
is used to signal that the annotated method should be
executed after each @Test
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.AbstractTestRuleSupport
-
- 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.
- afterEachMethods - Variable in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-
- 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.
- allIdentifiers - Variable in class org.junit.platform.launcher.TestPlan
-
- ALWAYS_INCLUDED_FILTER - Static variable in class org.junit.platform.engine.CompositeFilter
-
- ALWAYS_INCLUDED_RESULT - Static variable in class org.junit.platform.engine.CompositeFilter
-
- alwaysActivated - Static variable in class org.junit.jupiter.engine.execution.ConditionEvaluator
-
- alwaysDeactivated - Static variable in class org.junit.jupiter.engine.execution.ConditionEvaluator
-
- alwaysExecuteSkipResult - Static variable in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
- alwaysIncluded() - Static method in class org.junit.platform.engine.CompositeFilter
-
- annotatedBuilder - Variable in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder
-
- annotatedBuilder() - Method in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder
-
- annotationCache - Static variable in class org.junit.platform.commons.util.AnnotationUtils
-
- AnnotationCacheKey(AnnotatedElement, Class<? extends Annotation>) - Constructor for class org.junit.platform.commons.util.AnnotationUtils.AnnotationCacheKey
-
- AnnotationConsumer<A extends java.lang.annotation.Annotation> - Interface in org.junit.jupiter.params.support
-
@AnnotationConsumer
is a @FunctionalInterface
for consuming
annotations.
- AnnotationConsumerInitializer - Class in org.junit.jupiter.params.support
-
AnnotationConsumerInitializer
is an internal helper class for
initializing
AnnotationConsumers
.
- AnnotationConsumerInitializer() - Constructor for class org.junit.jupiter.params.support.AnnotationConsumerInitializer
-
- AnnotationSupport - Class in org.junit.platform.commons.support
-
Common annotation support.
- AnnotationSupport() - Constructor for class org.junit.platform.commons.support.AnnotationSupport
-
- annotationType - Variable in class org.junit.jupiter.engine.discovery.predicates.IsTestableMethod
-
- annotationType - Variable in class org.junit.platform.commons.util.AnnotationUtils.AnnotationCacheKey
-
- AnnotationUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with annotations.
- AnnotationUtils() - Constructor for class org.junit.platform.commons.util.AnnotationUtils
-
- AnnotationUtils.AnnotationCacheKey - Class in org.junit.platform.commons.util
-
- 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
.
- apply(T) - Method in class org.junit.platform.engine.CompositeFilter
-
- apply(String) - Method in class org.junit.platform.engine.discovery.ExcludeClassNameFilter
-
- apply(String) - Method in class org.junit.platform.engine.discovery.ExcludePackageNameFilter
-
- apply(String) - Method in class org.junit.platform.engine.discovery.IncludeClassNameFilter
-
- apply(String) - Method in class org.junit.platform.engine.discovery.IncludePackageNameFilter
-
- apply(T) - Method in interface org.junit.platform.engine.Filter
-
Apply this filter to the supplied object.
- apply(T) - Method in class org.junit.platform.engine.support.filter.ExclusionReasonConsumingFilter
-
- 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
-
- applyAllFilters(EngineDiscoveryRequest, TestDescriptor) - Method in class org.junit.jupiter.engine.DiscoveryFilterApplier
-
Apply all filters.
- applyClassNameFilters(List<ClassNameFilter>, TestDescriptor) - Method in class org.junit.jupiter.engine.DiscoveryFilterApplier
-
- applyDiscoveryFilters(EngineDiscoveryRequest, JupiterEngineDescriptor) - Method in class org.junit.jupiter.engine.JupiterTestEngine
-
- applyFilterToDescriptions(Filter) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
-
- applyPackageNameFilters(List<PackageNameFilter>, TestDescriptor) - Method in class org.junit.jupiter.engine.DiscoveryFilterApplier
-
- applyPostDiscoveryFilters(LauncherDiscoveryRequest) - Method in class org.junit.platform.launcher.core.Root
-
- areAllFinishedOrSkipped(Set<? extends TestDescriptor>) - Method in class org.junit.vintage.engine.execution.TestRun
-
- 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 org.junit.jupiter.params.converter.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(ArgumentsProvider, ExtensionContext) - Static method in class org.junit.jupiter.params.ParameterizedTestExtension
-
- arguments - Variable in class org.junit.jupiter.params.ParameterizedTestInvocationContext
-
- arguments - Variable in class org.junit.jupiter.params.ParameterizedTestParameterResolver
-
- 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 - Variable in class org.junit.jupiter.params.provider.ValueArgumentsProvider
-
- 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.
- asNode(TestDescriptor) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor
-
- AssertAll - Class in org.junit.jupiter.api
-
AssertAll
is a collection of utility methods that support asserting
multiple conditions in tests at once.
- AssertAll() - Constructor for class org.junit.jupiter.api.AssertAll
-
- assertAll(Executable...) - Static method in class org.junit.jupiter.api.AssertAll
-
- assertAll(String, Executable...) - Static method in class org.junit.jupiter.api.AssertAll
-
- assertAll(Stream<Executable>) - Static method in class org.junit.jupiter.api.AssertAll
-
- assertAll(String, Stream<Executable>) - Static method in class org.junit.jupiter.api.AssertAll
-
- assertAll(Executable...) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that all supplied executables
do not throw
exceptions.
- assertAll(Stream<Executable>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that all supplied executables
do not throw
exceptions.
- assertAll(String, Executable...) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that all supplied executables
do not throw
exceptions.
- assertAll(String, Stream<Executable>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that all supplied executables
do not throw
exceptions.
- assertArrayElementsEqual(Object, Object, Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- AssertArrayEquals - Class in org.junit.jupiter.api
-
AssertArrayEquals
is a collection of utility methods that support asserting
array equality in tests.
- AssertArrayEquals() - Constructor for class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(boolean[], boolean[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(boolean[], boolean[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(boolean[], boolean[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(char[], char[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(char[], char[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(char[], char[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(byte[], byte[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(byte[], byte[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(byte[], byte[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(short[], short[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(short[], short[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(short[], short[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(int[], int[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(int[], int[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(int[], int[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(long[], long[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(long[], long[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(long[], long[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(float[], float[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(float[], float[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(float[], float[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(float[], float[], float) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(float[], float[], float, String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(float[], float[], float, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(double[], double[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(double[], double[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(double[], double[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(double[], double[], double) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(double[], double[], double, String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(double[], double[], double, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(Object[], Object[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(Object[], Object[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(Object[], Object[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(boolean[], boolean[], Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(char[], char[], Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(byte[], byte[], Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(short[], short[], Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(int[], int[], Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(long[], long[], Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(float[], float[], Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(float[], float[], float, Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(double[], double[], Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(double[], double[], double, Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(Object[], Object[], Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArrayEquals(boolean[], boolean[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
boolean arrays are equal.
- assertArrayEquals(boolean[], boolean[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
boolean arrays are equal.
- assertArrayEquals(boolean[], boolean[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
boolean arrays are equal.
- assertArrayEquals(char[], char[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
char arrays are equal.
- assertArrayEquals(char[], char[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
char arrays are equal.
- assertArrayEquals(char[], char[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
char arrays are equal.
- assertArrayEquals(byte[], byte[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
byte arrays are equal.
- assertArrayEquals(byte[], byte[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
byte arrays are equal.
- assertArrayEquals(byte[], byte[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
byte arrays are equal.
- assertArrayEquals(short[], short[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
short arrays are equal.
- assertArrayEquals(short[], short[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
short arrays are equal.
- assertArrayEquals(short[], short[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
short arrays are equal.
- assertArrayEquals(int[], int[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
int arrays are equal.
- assertArrayEquals(int[], int[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
int arrays are equal.
- assertArrayEquals(int[], int[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
int arrays are equal.
- assertArrayEquals(long[], long[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
long arrays are equal.
- assertArrayEquals(long[], long[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
long arrays are equal.
- assertArrayEquals(long[], long[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
long arrays are equal.
- assertArrayEquals(float[], float[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
float arrays are equal.
- assertArrayEquals(float[], float[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
float arrays are equal.
- assertArrayEquals(float[], float[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
float arrays are equal.
- assertArrayEquals(float[], float[], float) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
float arrays are equal within the given delta
.
- assertArrayEquals(float[], float[], float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
float arrays are equal within the given delta
.
- assertArrayEquals(float[], float[], float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
float arrays are equal within the given delta
.
- assertArrayEquals(double[], double[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
double arrays are equal.
- assertArrayEquals(double[], double[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
double arrays are equal.
- assertArrayEquals(double[], double[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
double arrays are equal.
- assertArrayEquals(double[], double[], double) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
double arrays are equal within the given delta
.
- assertArrayEquals(double[], double[], double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
double arrays are equal within the given delta
.
- assertArrayEquals(double[], double[], double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
double arrays are equal within the given delta
.
- assertArrayEquals(Object[], Object[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
object arrays are deeply equal.
- assertArrayEquals(Object[], Object[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
object arrays are deeply equal.
- assertArrayEquals(Object[], Object[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
object arrays are deeply equal.
- assertArraysHaveSameLength(int, int, Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertArraysNotNull(Object, Object, Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- assertEmpty() - Method in class org.junit.jupiter.engine.execution.ThrowableCollector
-
Assert that this ThrowableCollector
is empty (i.e.,
has not collected any Throwables
).
- AssertEquals - Class in org.junit.jupiter.api
-
AssertEquals
is a collection of utility methods that support asserting
equality on objects and primitives in tests.
- AssertEquals() - Constructor for class org.junit.jupiter.api.AssertEquals
-
- assertEquals(byte, byte) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(byte, byte, String) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(char, char) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(char, char, String) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(char, char, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(double, double) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(double, double, String) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(double, double, double) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(double, double, double, String) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(double, double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(float, float) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(float, float, String) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(float, float, float) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(float, float, float, String) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(float, float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(short, short) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(short, short, String) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(int, int) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(int, int, String) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(int, int, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(long, long) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(long, long, String) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(Object, Object) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
-
- assertEquals(short, short) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(short, short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(byte, byte) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(int, int) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(int, int, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(int, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(long, long) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(long, long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(char, char) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(char, char, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(char, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(float, float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal within the given delta
.
- assertEquals(float, float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal within the given delta
.
- assertEquals(float, float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal within the given delta
.
- assertEquals(double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(double, double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal within the given delta
.
- assertEquals(double, double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal within the given delta
.
- assertEquals(double, double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal within the given delta
.
- assertEquals(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- AssertFalse - Class in org.junit.jupiter.api
-
AssertFalse
is a collection of utility methods that support asserting
false
in tests.
- AssertFalse() - Constructor for class org.junit.jupiter.api.AssertFalse
-
- assertFalse(boolean) - Static method in class org.junit.jupiter.api.AssertFalse
-
- assertFalse(boolean, String) - Static method in class org.junit.jupiter.api.AssertFalse
-
- assertFalse(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertFalse
-
- assertFalse(BooleanSupplier) - Static method in class org.junit.jupiter.api.AssertFalse
-
- assertFalse(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.AssertFalse
-
- assertFalse(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertFalse
-
- assertFalse(boolean) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied condition
is not true
.
- assertFalse(boolean, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied condition
is not true
.
- assertFalse(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied condition
is not true
.
- assertFalse(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by booleanSupplier
is not true
.
- assertFalse(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by booleanSupplier
is not true
.
- assertFalse(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by booleanSupplier
is not true
.
- 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
-
- AssertionUtils - Class in org.junit.jupiter.api
-
AssertionUtils
is a collection of utility methods that are common to
all assertion implementations.
- AssertionUtils() - Constructor for class org.junit.jupiter.api.AssertionUtils
-
- assertIterableElementsEqual(Object, Object, Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertIterableEquals
-
- assertIterableEquals(Iterable<?>, Iterable<?>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
iterables are deeply equal.
- assertIterableEquals(Iterable<?>, Iterable<?>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
iterables are deeply equal.
- assertIterableEquals(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
iterables are deeply equal.
- AssertIterableEquals - Class in org.junit.jupiter.api
-
AssertIterable
is a collection of utility methods that support asserting
Iterable equality in tests.
- AssertIterableEquals() - Constructor for class org.junit.jupiter.api.AssertIterableEquals
-
- assertIterableEquals(Iterable<?>, Iterable<?>) - Static method in class org.junit.jupiter.api.AssertIterableEquals
-
- assertIterableEquals(Iterable<?>, Iterable<?>, String) - Static method in class org.junit.jupiter.api.AssertIterableEquals
-
- assertIterableEquals(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertIterableEquals
-
- assertIterableEquals(Iterable<?>, Iterable<?>, Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertIterableEquals
-
- assertIterablesNotNull(Object, Object, Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertIterableEquals
-
- assertIteratorsAreEmpty(Iterator<?>, Iterator<?>, int, Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertIterableEquals
-
- assertLinesMatch(List<String>, List<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
list of Strings matches actual
list.
- AssertLinesMatch - Class in org.junit.jupiter.api
-
AssertLinesMatch
is a collection of utility methods that support asserting
lines of String
equality or Pattern
-match in tests.
- AssertLinesMatch() - Constructor for class org.junit.jupiter.api.AssertLinesMatch
-
- assertLinesMatch(List<String>, List<String>) - Static method in class org.junit.jupiter.api.AssertLinesMatch
-
- assertLinesMatchWithFastForward(List<String>, List<String>) - Static method in class org.junit.jupiter.api.AssertLinesMatch
-
- assertNonStatic(Class<? extends Annotation>, Method) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
-
- assertNotEquals(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are not equal.
- assertNotEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are not equal.
- assertNotEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are not equal.
- AssertNotEquals - Class in org.junit.jupiter.api
-
AssertNotEquals
is a collection of utility methods that support asserting
inequality on objects in tests.
- AssertNotEquals() - Constructor for class org.junit.jupiter.api.AssertNotEquals
-
- assertNotEquals(Object, Object) - Static method in class org.junit.jupiter.api.AssertNotEquals
-
- assertNotEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.AssertNotEquals
-
- assertNotEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNotEquals
-
- assertNotNull(Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that actual
is not null
.
- assertNotNull(Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that actual
is not null
.
- assertNotNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that actual
is not null
.
- AssertNotNull - Class in org.junit.jupiter.api
-
AssertNotNull
is a collection of utility methods that support asserting
that there is an object.
- AssertNotNull() - Constructor for class org.junit.jupiter.api.AssertNotNull
-
- assertNotNull(Object) - Static method in class org.junit.jupiter.api.AssertNotNull
-
- assertNotNull(Object, String) - Static method in class org.junit.jupiter.api.AssertNotNull
-
- assertNotNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNotNull
-
- assertNotSame(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
do not refer to the same object.
- assertNotSame(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts 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
-
Asserts that expected
and actual
do not refer to the same object.
- AssertNotSame - Class in org.junit.jupiter.api
-
AssertNotSame
is a collection of utility methods that support asserting
two objects are not the same.
- AssertNotSame() - Constructor for class org.junit.jupiter.api.AssertNotSame
-
- assertNotSame(Object, Object) - Static method in class org.junit.jupiter.api.AssertNotSame
-
- assertNotSame(Object, Object, String) - Static method in class org.junit.jupiter.api.AssertNotSame
-
- assertNotSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNotSame
-
- assertNull(Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that actual
is null
.
- assertNull(Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that actual
is null
.
- assertNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that actual
is null
.
- AssertNull - Class in org.junit.jupiter.api
-
AssertNull
is a collection of utility methods that support asserting
there is no object.
- AssertNull() - Constructor for class org.junit.jupiter.api.AssertNull
-
- assertNull(Object) - Static method in class org.junit.jupiter.api.AssertNull
-
- assertNull(Object, String) - Static method in class org.junit.jupiter.api.AssertNull
-
- assertNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNull
-
- 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
-
Asserts that expected
and actual
refer to the same object.
- assertSame(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
refer to the same object.
- assertSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
refer to the same object.
- AssertSame - Class in org.junit.jupiter.api
-
AssertSame
is a collection of utility methods that support asserting
two objects are the same.
- AssertSame() - Constructor for class org.junit.jupiter.api.AssertSame
-
- assertSame(Object, Object) - Static method in class org.junit.jupiter.api.AssertSame
-
- assertSame(Object, Object, String) - Static method in class org.junit.jupiter.api.AssertSame
-
- assertSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertSame
-
- assertStatic(Class<? extends Annotation>, Method) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
-
- assertThrows(Class<T>, Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts 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
-
Asserts 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
-
Asserts that execution of the supplied executable
throws
an exception of the expectedType
and returns the exception.
- AssertThrows - Class in org.junit.jupiter.api
-
AssertThrows
is a collection of utility methods that support asserting
an exception of an expected type is thrown.
- AssertThrows() - Constructor for class org.junit.jupiter.api.AssertThrows
-
- assertThrows(Class<T>, Executable) - Static method in class org.junit.jupiter.api.AssertThrows
-
- assertThrows(Class<T>, Executable, String) - Static method in class org.junit.jupiter.api.AssertThrows
-
- assertThrows(Class<T>, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertThrows
-
- assertTimeout(Duration, Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts 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
-
Asserts 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
-
Asserts 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
-
Asserts 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
-
Asserts 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
-
Asserts that execution of the supplied supplier
completes before the given timeout
is exceeded.
- AssertTimeout - Class in org.junit.jupiter.api
-
AssertTimeout
is a collection of utility methods that support asserting
the execution of the code under test did not take longer than the timeout duration.
- AssertTimeout() - Constructor for class org.junit.jupiter.api.AssertTimeout
-
- assertTimeout(Duration, Executable) - Static method in class org.junit.jupiter.api.AssertTimeout
-
- assertTimeout(Duration, Executable, String) - Static method in class org.junit.jupiter.api.AssertTimeout
-
- assertTimeout(Duration, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertTimeout
-
- assertTimeout(Duration, ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.AssertTimeout
-
- assertTimeout(Duration, ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.AssertTimeout
-
- assertTimeout(Duration, ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertTimeout
-
- assertTimeoutPreemptively(Duration, Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts 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
-
Asserts 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
-
Asserts 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
-
Asserts 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
-
Asserts 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
-
Asserts that execution of the supplied supplier
completes before the given timeout
is exceeded.
- assertTimeoutPreemptively(Duration, Executable) - Static method in class org.junit.jupiter.api.AssertTimeout
-
- assertTimeoutPreemptively(Duration, Executable, String) - Static method in class org.junit.jupiter.api.AssertTimeout
-
- assertTimeoutPreemptively(Duration, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertTimeout
-
- assertTimeoutPreemptively(Duration, ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.AssertTimeout
-
- assertTimeoutPreemptively(Duration, ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.AssertTimeout
-
- assertTimeoutPreemptively(Duration, ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertTimeout
-
- assertTrue(boolean) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied condition
is true
.
- assertTrue(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied condition
is true
.
- assertTrue(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by booleanSupplier
is true
.
- assertTrue(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by booleanSupplier
is true
.
- assertTrue(boolean, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied condition
is true
.
- assertTrue(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by booleanSupplier
is true
.
- AssertTrue - Class in org.junit.jupiter.api
-
AssertTrue
is a collection of utility methods that support asserting
true
in tests.
- AssertTrue() - Constructor for class org.junit.jupiter.api.AssertTrue
-
- assertTrue(boolean) - Static method in class org.junit.jupiter.api.AssertTrue
-
- assertTrue(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertTrue
-
- assertTrue(BooleanSupplier) - Static method in class org.junit.jupiter.api.AssertTrue
-
- assertTrue(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.AssertTrue
-
- assertTrue(boolean, String) - Static method in class org.junit.jupiter.api.AssertTrue
-
- assertTrue(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertTrue
-
- assertValidDelta(float) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- assertValidDelta(double) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- assertVoid(Class<? extends Annotation>, Method) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
-
- 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
-
- fail(String) - Static method in class org.junit.jupiter.api.Assertions
-
Fails a test with the given failure message
.
- fail(String, Throwable) - Static method in class org.junit.jupiter.api.Assertions
-
Fails a test with the given failure message
as well
as the underlying cause
.
- fail(Throwable) - Static method in class org.junit.jupiter.api.Assertions
-
Fails a test with the given underlying cause
.
- fail(Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Fails a test with the failure message retrieved from the
given messageSupplier
.
- fail(String) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- fail(String, Throwable) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- fail(Throwable) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- fail(Supplier<String>) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- fail(String, Object, Object) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- fail(List<String>, List<String>, String, Object...) - Static method in class org.junit.jupiter.api.AssertLinesMatch
-
- failActualArrayIsNull(Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- failActualIterableIsNull(Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertIterableEquals
-
- failArraysNotEqual(Object, Object, Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- failed(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
-
Obtain a TestExecutionResult
for a failed execution
of a test or container with the supplied throwable
.
- failEqual(Object, String) - Static method in class org.junit.jupiter.api.AssertNotEquals
-
- failExpectedArrayIsNull(Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
-
- failExpectedIterableIsNull(Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertIterableEquals
-
- failIllegalDelta(String) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- failIterablesNotEqual(Object, Object, Deque<Integer>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertIterableEquals
-
- failNotEqual(Object, Object, String) - Static method in class org.junit.jupiter.api.AssertEquals
-
- failNotNull(Object, String) - Static method in class org.junit.jupiter.api.AssertNull
-
- failNotSame(Object, Object, String) - Static method in class org.junit.jupiter.api.AssertSame
-
- failNull(String) - Static method in class org.junit.jupiter.api.AssertNotNull
-
- failSame(Object, String) - Static method in class org.junit.jupiter.api.AssertNotSame
-
- failures - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- fieldName - Variable in class org.junit.vintage.engine.support.UniqueIdReader
-
- fieldSupport - Variable in class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
-
- fieldSupport - Variable in class org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport
-
- fieldSupport - Variable in class org.junit.jupiter.migrationsupport.rules.VerifierSupport
-
- file - Variable in class org.junit.platform.engine.support.descriptor.FileSource
-
- FILE_URI_SCHEME - Static variable in class org.junit.platform.commons.util.CloseablePath
-
- filePosition - Variable in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
- filePosition - Variable in class org.junit.platform.engine.support.descriptor.ClassSource
-
- FilePosition - Class in org.junit.platform.engine.support.descriptor
-
Position inside a file represented by
line and
column numbers.
- FilePosition(int) - Constructor for class org.junit.platform.engine.support.descriptor.FilePosition
-
- FilePosition(int, int) - Constructor for class org.junit.platform.engine.support.descriptor.FilePosition
-
- filePosition - Variable in class org.junit.platform.engine.support.descriptor.FileSource
-
- FileSelector - Class in org.junit.platform.engine.discovery
-
- FileSelector(String) - Constructor for class org.junit.platform.engine.discovery.FileSelector
-
- FileSource - Class in org.junit.platform.engine.support.descriptor
-
- FileSource(File) - Constructor for class org.junit.platform.engine.support.descriptor.FileSource
-
- FileSource(File, FilePosition) - Constructor for class org.junit.platform.engine.support.descriptor.FileSource
-
- FileSystemSource - Interface in org.junit.platform.engine.support.descriptor
-
- 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 - Variable in class org.junit.platform.engine.support.filter.ExclusionReasonConsumingFilter
-
- filter(Filter) - Method in class org.junit.platform.runner.JUnitPlatform
-
- filteredRequests() - Method in class org.junit.vintage.engine.discovery.TestClassCollector
-
- filteredTestClasses - Variable in class org.junit.vintage.engine.discovery.TestClassCollector
-
- FilterResult - Class in org.junit.platform.engine
-
The result of applying a
Filter
.
- FilterResult(boolean, String) - Constructor for class org.junit.platform.engine.FilterResult
-
- filters - Variable in class org.junit.platform.engine.CompositeFilter
-
- filters(Filter<?>...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add all of the supplied filters
to the request.
- filters - Variable in class org.junit.vintage.engine.discovery.OrFilter
-
- filters - Variable in class org.junit.vintage.engine.discovery.TestClassRequest
-
- findAfterAllMethods(Class<?>, boolean) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
-
- findAfterEachMethods(Class<?>) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
-
- findAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes of the supplied root
URI that match the specified classTester
and
classNameFilter
predicates.
- findAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - 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 of the supplied basePackageName
that match the specified classTester
and classNameFilter
predicates.
- findAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findAllMethodsInHierarchy(Class<?>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Find all non-synthetic methods in the superclass and interface hierarchy,
excluding Object.
- 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(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
-
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.util.AnnotationUtils
-
- findAnnotation(AnnotatedElement, Class<A>, Set<Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
- findBeforeAllMethods(Class<?>, boolean) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
-
- findBeforeEachMethods(Class<?>) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
-
- 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.
- findClassesForPath(Path, String, Predicate<Class<?>>, Predicate<String>) - Method in class org.junit.platform.commons.util.ClasspathScanner
-
- findClassesForUri(URI, String, Predicate<Class<?>>, Predicate<String>) - Method in class org.junit.platform.commons.util.ClasspathScanner
-
- findClassesForUris(List<URI>, String, Predicate<Class<?>>, Predicate<String>) - Method in class org.junit.platform.commons.util.ClasspathScanner
-
Recursively scan for classes in all of the supplied source directories.
- findJUnit4Description(TestIdentifier) - Method in class org.junit.platform.runner.JUnitPlatformRunnerListener
-
- findMatchingName(String) - Method in class org.junit.platform.engine.discovery.ExcludePackageNameFilter
-
- findMatchingName(String) - Method in class org.junit.platform.engine.discovery.IncludePackageNameFilter
-
- findMatchingPattern(String) - Method in class org.junit.platform.engine.discovery.AbstractClassNameFilter
-
- findMetaAnnotation(Class<A>, Annotation[], AnnotationUtils.AnnotationCacheKey, Set<Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
- findMethod(UniqueId.Segment, ClassTestDescriptor) - Method in class org.junit.jupiter.engine.discovery.AbstractMethodResolver
-
- findMethod(String, Class<?>) - Method in class org.junit.jupiter.engine.discovery.MethodFinder
-
- 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
-
- findMethod(Class<?>, Predicate<Method>) - 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
-
- findMethodsAndAssertNonStatic(Class<?>, Class<? extends Annotation>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
-
- findMethodsAndAssertStatic(Class<?>, boolean, Class<? extends Annotation>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
-
- findMethodsAndCheckVoidReturnType(Class<?>, Class<? extends Annotation>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
-
- findNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all nested classes of the given class conforming to the given predicate.
- findNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findNestedClasses(Class<?>, Set<Class<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findParent(Description) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
-
- 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 of the specified fieldType
and 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(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
-
- findRepeatableAnnotations(AnnotatedElement, Class<A>, Class<? extends Annotation>, boolean, Set<A>, Set<Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
- findRepeatableAnnotations(Annotation[], Class<A>, Class<? extends Annotation>, boolean, Set<A>, Set<Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
- findRuleAnnotatedMembers(Object) - Method in class org.junit.jupiter.migrationsupport.rules.AbstractTestRuleSupport
-
- findRuleAnnotatedMembers(Object) - Method in class org.junit.jupiter.migrationsupport.rules.TestRuleFieldSupport
-
- findRuleAnnotatedMembers(Object) - Method in class org.junit.jupiter.migrationsupport.rules.TestRuleMethodSupport
-
- findTestDescriptorByUniqueId(UniqueId) - Method in class org.junit.jupiter.engine.discovery.JavaElementsResolver
-
- finishedDescriptors - Variable in class org.junit.vintage.engine.execution.TestRun
-
- fireExecutionFinished(TestDescriptor) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
-
- fireExecutionFinishedIncludingAncestorsWithoutPendingChildren(Optional<TestDescriptor>) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
-
- fireExecutionSkipped(TestDescriptor, String) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
-
- fireExecutionStarted(TestDescriptor) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
-
- fireExecutionStartedIncludingUnstartedAncestors(Optional<TestDescriptor>) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
-
- fireMissingContainerEvents(TestDescriptor) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
-
- fireTestIgnored(TestIdentifier) - Method in class org.junit.platform.runner.JUnitPlatformRunnerListener
-
- floatsAreEqual(float, float, float) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- floatsAreEqual(float, float) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- 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.
- format(Object, Object, String) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- format(int, int) - Method in class org.junit.jupiter.engine.extension.RepeatedTestDisplayNameFormatter
-
- format(int, Object...) - Method in class org.junit.jupiter.params.ParameterizedTestNameFormatter
-
- format(UniqueId) - Method in class org.junit.platform.engine.UniqueIdFormat
-
Format and return the string representation of the supplied UniqueId
.
- formatClassAndValue(Object, String) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- formatExclusionReason(String, Pattern) - Method in class org.junit.platform.engine.discovery.ExcludeClassNameFilter
-
- formatExclusionReason(String, String) - Method in class org.junit.platform.engine.discovery.ExcludePackageNameFilter
-
- formatExclusionReason(String) - Method in class org.junit.platform.engine.discovery.IncludeClassNameFilter
-
- formatExclusionReason(String) - Method in class org.junit.platform.engine.discovery.IncludePackageNameFilter
-
- formatInclusionReason(String) - Method in class org.junit.platform.engine.discovery.ExcludeClassNameFilter
-
- formatInclusionReason(String) - Method in class org.junit.platform.engine.discovery.ExcludePackageNameFilter
-
- formatInclusionReason(String, Pattern) - Method in class org.junit.platform.engine.discovery.IncludeClassNameFilter
-
- formatInclusionReason(String, String) - Method in class org.junit.platform.engine.discovery.IncludePackageNameFilter
-
- formatIndexes(Deque<Integer>) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- formatSafely(String, Object[]) - Method in class org.junit.jupiter.params.ParameterizedTestNameFormatter
-
- formatter - Variable in class org.junit.jupiter.engine.extension.RepeatedTestInvocationContext
-
- formatter - Variable in class org.junit.jupiter.params.ParameterizedTestInvocationContext
-
- formatValues(Object, Object) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- FQCN - Static variable in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
-
- from(Object, Member) - Static method in class org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedMemberFactory
-
- 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(String) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new ClassSource
using the supplied
className.
- from(String, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSource
using the supplied
className and
filePosition
.
- from(Class<?>) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new ClassSource
using the supplied
javaClass
.
- from(Class<?>, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSource
using the supplied
javaClass
and
filePosition
.
- 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 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 and method name.
- from(Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Create a new MethodSource
using the supplied
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(TestDescriptor) - Static method in class org.junit.platform.launcher.TestIdentifier
-
- from(Collection<TestDescriptor>) - Static method in class org.junit.platform.launcher.TestPlan
-
- fromClasspathResource(String) - Static method in class org.junit.platform.launcher.core.LauncherConfigurationParameters
-
- FULLY_QUALIFIED_METHOD_NAME_PATTERN - Static variable in class org.junit.platform.commons.util.ReflectionUtils
-
- fullyQualifiedMethodNamePattern - Static variable in class org.junit.platform.engine.discovery.DiscoverySelectors
-
- FunctionUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with Functions
,
Predicates
, etc.
- FunctionUtils() - Constructor for class org.junit.platform.commons.util.FunctionUtils
-
- generateDefaultDisplayName(Class<?>) - Static method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-
- generateDefaultDisplayName(Method) - Static method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
-
- generateDisplayName(Description) - Static method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
-
- generateSuiteDescription(TestPlan, Class<?>) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
-
- generateTestTree() - Method in class org.junit.platform.runner.JUnitPlatform
-
- 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
-
Gets a result.
- get(ExtensionContext.Namespace, Object) - Method in class org.junit.jupiter.engine.execution.ExtensionValuesStore
-
- get(ExtensionContext.Namespace, Object, Class<T>) - Method in class org.junit.jupiter.engine.execution.ExtensionValuesStore
-
- get() - Method in class org.junit.jupiter.engine.execution.ExtensionValuesStore.MemoizingSupplier
-
- 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() - Method in interface org.junit.jupiter.params.provider.Arguments
-
Get the arguments used for an invocation of the
@ParameterizedTest
method.
- get(String) - Method in interface org.junit.platform.engine.ConfigurationParameters
-
Get the configuration parameter stored under the specified key
.
- get(String) - Method in class org.junit.platform.launcher.core.LauncherConfigurationParameters
-
- getAdditionalExtensions() - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContext
-
Get the additional
extensions for this invocation.
- getAdditionalExtensions() - Method in class org.junit.jupiter.engine.extension.RepeatedTestInvocationContext
-
- getAdditionalExtensions() - Method in class org.junit.jupiter.params.ParameterizedTestInvocationContext
-
- 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.
- getAllAssignmentCompatibleClasses(Class<?>, Set<Class<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- getAllClasspathRootDirectories() - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- getAllDiscoverySelectorResolvers(EngineDiscoveryRequest) - Method in class org.junit.vintage.engine.discovery.VintageDiscoverer
-
- 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(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.launcher.core.LauncherConfigurationParameters
-
- getCanonicalName(Class<?>) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- getChildren() - Method in class org.junit.jupiter.api.DynamicContainer
-
Get the
Stream
of
DynamicNodes
associated
with this container.
- 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
-
- getChildren(String) - Method in class org.junit.platform.launcher.TestPlan
-
Get the children of the supplied unique ID.
- getClassLoader() - Method in class org.junit.platform.commons.util.ClasspathScanner
-
- getClassName(Object) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- getClassName(TestDescriptor, String) - Method in class org.junit.jupiter.engine.discovery.NestedTestsResolver
-
- getClassName(TestDescriptor, String) - Method in class org.junit.jupiter.engine.discovery.TestContainerResolver
-
- 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 declaring Class
name of this source.
- getClassName(TestIdentifier) - Method in class org.junit.platform.surefire.provider.RunListenerAdapter
-
- 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.
- getCompositeTestExecutionListener() - Method in class org.junit.platform.launcher.core.TestExecutionListenerRegistry
-
- getConfigurationParameters() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
-
- getConfigurationParameters() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
- getConfigurationParameters() - Method in class org.junit.platform.engine.ExecutionRequest
-
- getConfigurationParameters() - Method in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
-
- getConfigurationParameters() - Method in class org.junit.platform.surefire.provider.JUnitPlatformProvider
-
- getContainersAbortedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- getContainersAbortedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers aborted.
- getContainersFailedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- getContainersFailedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers that failed.
- getContainersFoundCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- getContainersFoundCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers found.
- getContainersSkippedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- getContainersSkippedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers skipped.
- getContainersStartedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- getContainersStartedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers started.
- getContainersSucceededCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- getContainersSucceededCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers that succeeded.
- getCurrentRepetition() - Method in interface org.junit.jupiter.api.RepetitionInfo
-
Get the current repetition of the corresponding
@RepeatedTest
method.
- getCurrentRepetition() - Method in class org.junit.jupiter.engine.extension.RepetitionInfoParameterResolver.DefaultRepetitionInfo
-
- getDeactivatePatternString(ConfigurationParameters) - Method in class org.junit.jupiter.engine.execution.ConditionEvaluator
-
- getDeclaredConstructor(Class<T>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the sole declared Constructor
for the supplied class.
- getDeclaredMethods(Class<?>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Custom alternative to Class.getDeclaredMethods()
that sorts the
methods and converts them to a mutable list.
- 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.
- getDefault() - Static method in class org.junit.platform.engine.UniqueIdFormat
-
- getDefaultClassLoader() - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
-
- getDefaultMethods(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get a sorted, mutable list of all default methods present in interfaces
implemented by the supplied class which are also visible within
the supplied class.
- getDefaultTestInstanceLifecycle(ConfigurationParameters) - Static method in class org.junit.jupiter.engine.descriptor.TestInstanceLifecycleUtils
-
- getDefaultValue(Annotation, String, Class<T>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
Get the default value of the named attribute from the supplied
Annotation
.
- 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(TestIdentifier) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
-
- 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 DynamicTest
.
- 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.jupiter.engine.descriptor.AbstractExtensionContext
-
- getDisplayName(int) - Method in class org.junit.jupiter.engine.extension.RepeatedTestInvocationContext
-
- getDisplayName() - Method in class org.junit.jupiter.engine.extension.TestInfoParameterResolver.DefaultTestInfo
-
- getDisplayName(int) - Method in class org.junit.jupiter.params.ParameterizedTestInvocationContext
-
- 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.
- getElement() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the AnnotatedElement
corresponding to the current extension
context, if available.
- getElement() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
-
- getElement() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
-
- getElement() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
-
- getElement() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateExtensionContext
-
- getEngineDescriptors() - Method in class org.junit.platform.launcher.core.Root
-
- getEngineExecutionListener() - Method in class org.junit.platform.engine.ExecutionRequest
-
- getEngineFilters() - Method in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
-
- 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 class org.junit.platform.launcher.listeners.MutableTestExecutionSummary.DefaultFailure
-
- getException() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary.Failure
-
Get the Throwable
causing the failure.
- getExcludeClassNamePatterns() - Method in class org.junit.platform.runner.JUnitPlatform
-
- getExcludedEngineIds() - Method in class org.junit.platform.runner.JUnitPlatform
-
- getExcludedPackages() - Method in class org.junit.platform.runner.JUnitPlatform
-
- getExcludedTags() - Method in class org.junit.platform.runner.JUnitPlatform
-
- getExecutable() - Method in class org.junit.jupiter.api.DynamicTest
-
Get the executable
code block associated with this DynamicTest
.
- 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.
- getExecutionException() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
-
- getExecutionException() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
-
- getExecutionException() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
-
- getExecutionException() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateExtensionContext
-
- getExecutionListener() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
-
- 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 class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- 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.
- getFilteredLeaves(Filter) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
-
- getFilters() - Method in class org.junit.vintage.engine.discovery.TestClassRequest
-
- getFiltersByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
- getFiltersByType(Class<T>) - Method in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
-
- 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.
- getGroupsOrTags(Optional<List<String>>, Optional<List<String>>) - Method in class org.junit.platform.surefire.provider.JUnitPlatformProvider
-
- 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
-
- getIncludeAndExcludeFilters() - Method in class org.junit.platform.surefire.provider.JUnitPlatformProvider
-
- getIncludeClassNamePatterns(boolean) - Method in class org.junit.platform.runner.JUnitPlatform
-
- getIncludedEngineIds() - Method in class org.junit.platform.runner.JUnitPlatform
-
- getIncludedPackages() - Method in class org.junit.platform.runner.JUnitPlatform
-
- getIncludedTags() - Method in class org.junit.platform.runner.JUnitPlatform
-
- 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.
- getIndex() - Method in class org.junit.jupiter.engine.execution.DefaultParameterContext
-
- getInterfaceMethods(Class<?>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- 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
.
- 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 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.
- 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.
- getLogger(Class<?>) - Static method in class org.junit.platform.commons.logging.LoggerFactory
-
Get a
Logger
for the specified class.
- getMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the Method
in the specified class with the specified name
and parameter types.
- 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.
- getMethodName(TestIdentifier) - Method in class org.junit.platform.surefire.provider.RunListenerAdapter
-
- 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.
- getMethods(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Custom alternative to Class.getMethods()
that sorts the methods
and converts them to a mutable list.
- 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(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(ExtensionContext.Namespace, K, Function<K, V>) - Method in class org.junit.jupiter.engine.execution.ExtensionValuesStore
-
- getOrComputeIfAbsent(ExtensionContext.Namespace, K, Function<K, V>, Class<V>) - Method in class org.junit.jupiter.engine.execution.ExtensionValuesStore
-
- 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
-
- getOuterInstance(Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- getOutermostInstance(Object, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the outermost instance of the required type, searching recursively
through enclosing instances.
- 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.
- getParameter() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the Parameter
for this context.
- getParameter() - Method in class org.junit.jupiter.engine.execution.DefaultParameterContext
-
- getParent() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the parent extension context, if available.
- getParent() - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
-
- 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
-
- 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.commons.util.CloseablePath
-
- 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
-
- getPosition() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
-
- getPosition() - Method in class org.junit.platform.engine.support.descriptor.FileSource
-
- getPostDiscoveryFilters() - Method in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
-
- getPostDiscoveryFilters() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
-
Get the PostDiscoveryFilters
for this request.
- getPropertiesList(String) - Method in class org.junit.platform.surefire.provider.JUnitPlatformProvider
-
- getProperty(String) - Method in class org.junit.platform.launcher.core.LauncherConfigurationParameters
-
- 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.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 why 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.
- getRequiredTestMethod() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required Method
associated with the current test
or container.
- 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
.
- getRoot() - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
-
- getRoot() - Method in class org.junit.platform.engine.UniqueId
-
- getRoots() - Method in class org.junit.platform.launcher.TestPlan
-
- getRootTestDescriptor() - Method in class org.junit.platform.engine.ExecutionRequest
-
Get the root
TestDescriptor
of the engine that processes this
request.
- getRootUrisForPackage(String) - Method in class org.junit.platform.commons.util.ClasspathScanner
-
- getRuleType() - Method in class org.junit.jupiter.migrationsupport.rules.AbstractTestRuleSupport
-
- getRunner() - Method in class org.junit.vintage.engine.descriptor.RunnerRequest
-
- getRunnerTestDescriptor() - Method in class org.junit.vintage.engine.execution.TestRun
-
- getSegments() - Method in class org.junit.platform.engine.UniqueId
-
Get the immutable list of
segments that make up this
UniqueId
.
- getSegmentType() - Method in class org.junit.jupiter.engine.discovery.NestedTestsResolver
-
- getSegmentType() - Method in class org.junit.jupiter.engine.discovery.TestContainerResolver
-
- getSegmentValue(Class<?>) - Method in class org.junit.jupiter.engine.discovery.NestedTestsResolver
-
- getSegmentValue(Class<?>) - Method in class org.junit.jupiter.engine.discovery.TestContainerResolver
-
- getSelectedClasses() - Method in class org.junit.platform.runner.JUnitPlatform
-
- getSelectedPackageNames() - Method in class org.junit.platform.runner.JUnitPlatform
-
- getSelectorsByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
- getSelectorsByType(Class<T>) - Method in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
-
- getSelectorsFromAnnotations() - Method in class org.junit.platform.runner.JUnitPlatform
-
- 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
-
- getStore(ExtensionContext.Namespace) - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
-
- getStore(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
-
- getStoredResultOrSuccessful(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
-
- getStoredValue(ExtensionValuesStore.CompositeKey) - Method in class org.junit.jupiter.engine.execution.ExtensionValuesStore
-
- getSuiteDescription() - Method in class org.junit.platform.runner.JUnitPlatformTestTree
-
- getSuites() - Method in class org.junit.platform.surefire.provider.JUnitPlatformProvider
-
- getSummary() - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
-
Get the summary generated by this listener.
- getSuperclassMethods(Class<?>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- 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.AbstractExtensionContext
-
- 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.jupiter.engine.extension.TestInfoParameterResolver.DefaultTestInfo
-
- 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.
- getTarget() - Method in class org.junit.jupiter.engine.execution.DefaultParameterContext
-
- getTechnicalName(TestIdentifier) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
-
- 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.TestInfo
-
Get the Class
associated with the current test or container, if available.
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
-
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
-
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
-
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
-
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateExtensionContext
-
- getTestClass() - Method in class org.junit.jupiter.engine.extension.TestInfoParameterResolver.DefaultTestInfo
-
- getTestClass() - Method in class org.junit.vintage.engine.discovery.TestClassRequest
-
- getTestDescriptor() - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
-
- getTestDescriptorFor(TestEngine) - Method in class org.junit.platform.launcher.core.Root
-
- getTestEngines() - Method in class org.junit.platform.launcher.core.Root
-
- getTestExecutionListenerRegistry() - Method in class org.junit.platform.launcher.core.DefaultLauncher
-
- getTestExecutionListeners() - Method in class org.junit.platform.launcher.core.TestExecutionListenerRegistry
-
- getTestIdentifier(TestDescriptor) - Method in class org.junit.platform.launcher.core.ExecutionListenerAdapter
-
- getTestIdentifier() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary.DefaultFailure
-
- 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
-
- getTestInstance() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the test instance associated with the current test or container,
if available.
- getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
-
- getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
-
- getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
-
- getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateExtensionContext
-
- getTestInstance(Optional<ExtensionRegistry>) - Method in interface org.junit.jupiter.engine.execution.TestInstanceProvider
-
- getTestInstanceLifecycle(Class<?>, ConfigurationParameters) - Static method in class org.junit.jupiter.engine.descriptor.TestInstanceLifecycleUtils
-
- getTestInstanceProvider() - 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, if available.
- getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
-
- getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
-
- getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
-
- getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
-
- getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateExtensionContext
-
- getTestMethod() - Method in class org.junit.jupiter.engine.extension.TestInfoParameterResolver.DefaultTestInfo
-
- getTestRule() - Method in class org.junit.jupiter.migrationsupport.rules.member.AbstractTestRuleAnnotatedMember
-
- getTestRule() - Method in interface org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedMember
-
- getTestsAbortedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- getTestsAbortedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests aborted.
- getTestsFailedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- getTestsFailedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests that failed.
- getTestsFoundCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- getTestsFoundCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests found.
- getTestsInSubtree(TestIdentifier) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
-
- getTestsSkippedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- getTestsSkippedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests skipped.
- getTestsStartedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- getTestsStartedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests started.
- getTestsSucceededCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- getTestsSucceededCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests that succeeded.
- getThrowable() - Method in class org.junit.jupiter.engine.execution.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 class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- 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 class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- getTimeStarted() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the timestamp (in milliseconds) when the test plan started.
- getTotalFailureCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
-
- getTotalFailureCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
- getTotalRepetitions() - Method in interface org.junit.jupiter.api.RepetitionInfo
-
Get the total number of repetitions of the corresponding
@RepeatedTest
method.
- getTotalRepetitions() - Method in class org.junit.jupiter.engine.extension.RepetitionInfoParameterResolver.DefaultRepetitionInfo
-
- getType() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-
- getType() - Method in class org.junit.jupiter.engine.descriptor.DynamicContainerTestDescriptor
-
- getType() - Method in class org.junit.jupiter.engine.descriptor.DynamicTestTestDescriptor
-
- 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
-
- 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
-
- getUnderlyingCause(Throwable) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the underlying cause of the supplied Throwable
.
- 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.jupiter.engine.descriptor.AbstractExtensionContext
-
- getUniqueId() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
-
- 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
-
- 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.
- getValueFromAnnotation(Class<A>, Function<A, V>, V) - Method in class org.junit.platform.runner.JUnitPlatform
-
- 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.
- INCLUDE_GROUPS - Static variable in class org.junit.platform.surefire.provider.JUnitPlatformProvider
-
- INCLUDE_TAGS - Static variable in class org.junit.platform.surefire.provider.JUnitPlatformProvider
-
- includeAndExcludeFilters - Variable in class org.junit.platform.surefire.provider.JUnitPlatformProvider
-
- includeAndExcludeFilters - Variable in class org.junit.platform.surefire.provider.TestPlanScannerFilter
-
- includeClass(ClassTestDescriptor, List<ClassNameFilter>) - Method in class org.junit.jupiter.engine.DiscoveryFilterApplier
-
- IncludeClassNameFilter - Class in org.junit.platform.engine.discovery
-
ClassNameFilter
that matches fully qualified class names against
patterns in the form of regular expressions.
- IncludeClassNameFilter(String...) - Constructor for class org.junit.platform.engine.discovery.IncludeClassNameFilter
-
- includeClassNamePatterns(String...) - Static method in interface org.junit.platform.engine.discovery.ClassNameFilter
-
- 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 - Variable in class org.junit.platform.engine.FilterResult
-
- 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
-
- INCLUDED_BY_ALL_FILTERS - Static variable in class org.junit.platform.engine.CompositeFilter
-
- 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.
- includePackage(ClassTestDescriptor, List<PackageNameFilter>) - Method in class org.junit.jupiter.engine.DiscoveryFilterApplier
-
- IncludePackageNameFilter - Class in org.junit.platform.engine.discovery
-
PackageNameFilter
that matches fully qualified package names that
are prefixed by one of the package names provided to the filter.
- IncludePackageNameFilter(String...) - Constructor for class org.junit.platform.engine.discovery.IncludePackageNameFilter
-
- includePackageNames(String...) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
- includePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
- 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 tags
.
- includeTags(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
-
Create an include filter based on the supplied tags
.
- IncludeTags - Annotation Type in org.junit.platform.suite.api
-
@IncludeTags
specifies the
tags to be included
when running a test suite on the JUnit Platform.
- index - Variable in class org.junit.jupiter.engine.execution.DefaultParameterContext
-
- 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.
- info(Supplier<String>) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
-
- info(Throwable, Supplier<String>) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
-
- initialize(AnnotatedElement, T) - Static method in class org.junit.jupiter.params.support.AnnotationConsumerInitializer
-
- initialize(RunnerTestDescriptor) - Method in class org.junit.vintage.engine.discovery.RunnerTestDescriptorAwareFilter
-
- initialize(RunnerTestDescriptor) - Method in class org.junit.vintage.engine.discovery.UniqueIdFilter
-
- initializeAnnotationConsumer(AnnotationConsumer<A>, A) - Static method in class org.junit.jupiter.params.support.AnnotationConsumerInitializer
-
- inputStreamProvider - Variable in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider
-
- INSTANCE - Static variable in class org.junit.jupiter.params.converter.DefaultArgumentConverter
-
- instantiateAndPostProcessTestInstance(JupiterEngineExecutionContext, ExtensionContext, ExtensionRegistry) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-
- instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-
- instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
-
- invalidReturnTypeException(Throwable) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
-
- invocationContext - Variable in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
-
- 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(Object) - Method in class org.junit.platform.surefire.provider.JUnitPlatformProvider
-
- invokeAfterAllCallbacks(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-
- invokeAfterAllMethods(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-
- invokeAfterEachCallbacks(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
-
- invokeAfterEachMethod(ExtensionContext, ExtensionRegistry) - Method in interface org.junit.jupiter.engine.execution.AfterEachMethodAdapter
-
- invokeAfterEachMethods(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
-
- invokeAfterTestExecutionCallbacks(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
-
- invokeAllAfterMethodsOrCallbacks(JupiterEngineExecutionContext, BiFunction<ExtensionContext, T, Executable>, Class<T>) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
-
- invokeAllTests(TestsToRun) - Method in class org.junit.platform.surefire.provider.JUnitPlatformProvider
-
- invokeAppropriateMethodOnRuleAnnotatedMembers(ExtensionContext, Consumer<GenericBeforeAndAfterAdvice>) - Method in class org.junit.jupiter.migrationsupport.rules.AbstractTestRuleSupport
-
- invokeBeforeAllCallbacks(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-
- invokeBeforeAllMethods(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-
- invokeBeforeEachCallbacks(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
-
- invokeBeforeEachMethod(ExtensionContext, ExtensionRegistry) - Method in interface org.junit.jupiter.engine.execution.BeforeEachMethodAdapter
-
- invokeBeforeEachMethods(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
-
- invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(JupiterEngineExecutionContext, BiFunction<ExtensionContext, T, Executable>, Class<T>) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
-
- invokeBeforeTestExecutionCallbacks(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
-
- 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
-
- invokeMethodInExtensionContext(Method, ExtensionContext, ExtensionRegistry) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-
- invokeSingleClass(Class<?>, RunListener) - Method in class org.junit.platform.surefire.provider.JUnitPlatformProvider
-
- invokeTestExecutionExceptionHandlers(ExtensionRegistry, ExtensionContext, Throwable) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
-
- invokeTestExecutionExceptionHandlers(Throwable, List<TestExecutionExceptionHandler>, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
-
- invokeTestInstancePostProcessors(Object, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-
- 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.util.ReflectionUtils
-
- isAbstract(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- isALeaf(Set<TestIdentifier>) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
-
- isAlreadyRegistered(Class<? extends Extension>) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
-
Determine if the supplied type is already registered in this registry or in a
parent registry.
- 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
.
- isAnnotationConsumerAcceptMethod - Static variable in class org.junit.jupiter.params.support.AnnotationConsumerInitializer
-
- 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 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).
- isClassFile(Path) - Static method in class org.junit.platform.commons.util.ClassFileVisitor
-
- 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.
- isDescendantOfRunnerTestDescriptor(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
-
- isDisabled() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Whether the container or test should be disabled.
- isEmpty() - Method in class org.junit.jupiter.engine.execution.ThrowableCollector
-
Determine if this ThrowableCollector
is empty (i.e.,
has not collected any Throwables
).
- isExcluded(TestDescriptor, Filter<TestDescriptor>) - Method in class org.junit.platform.launcher.core.Root
-
- isFastForwardLine(String) - Static method in class org.junit.jupiter.api.AssertLinesMatch
-
- isFinished(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
-
- isFinishedOrSkipped(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
-
- isForVintageEngine(UniqueId) - Method in class org.junit.vintage.engine.discovery.UniqueIdSelectorResolver
-
- isGeneric(Method) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- isGeneric(Type) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- isInJavaLangAnnotationPackage(Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
- isInnerClass - Static variable in class org.junit.jupiter.engine.discovery.JavaElementsResolver
-
- 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 - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsNestedTestClass
-
- isInnerClass(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- 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.
- isMethodShadowedBy(Method, Method) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- isMethodShadowedByLocalMethods(Method, List<Method>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- isNestedTestClass - Static variable in class org.junit.jupiter.engine.discovery.NestedTestsResolver
-
- 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
-
- isNestedTestClass - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
-
- 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.jupiter.engine.execution.ThrowableCollector
-
Determine if this ThrowableCollector
is not empty (i.e.,
has collected at least one Throwable
).
- isNotEngineId(UniqueId) - Method in class org.junit.vintage.engine.discovery.UniqueIdSelectorResolver
-
- isNotFinished(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
-
- isNotModuleInfo(Path) - Static method in class org.junit.platform.commons.util.ClassFileVisitor
-
- isNotPackageInfo(Path) - Static method in class org.junit.platform.commons.util.ClassFileVisitor
-
- isNotSkipped(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
-
- isNotStarted(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
-
- isPotentialCandidate(Class<?>) - Method in class org.junit.jupiter.engine.discovery.NestedTestsResolver
-
- isPotentialCandidate(Class<?>) - Method in class org.junit.jupiter.engine.discovery.TestContainerResolver
-
- IsPotentialJUnit4TestClass - Class in org.junit.vintage.engine.discovery
-
- IsPotentialJUnit4TestClass() - Constructor for class org.junit.vintage.engine.discovery.IsPotentialJUnit4TestClass
-
- isPotentialJUnit4TestClass - Static variable in class org.junit.vintage.engine.discovery.VintageDiscoverer
-
- isPotentialJUnit4TestMethod - Static variable in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder.DefensiveJUnit4Builder
-
- IsPotentialJUnit4TestMethod - Class in org.junit.vintage.engine.discovery
-
- IsPotentialJUnit4TestMethod() - Constructor for class org.junit.vintage.engine.discovery.IsPotentialJUnit4TestMethod
-
- 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
-
- isPotentialTestContainer - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
-
- isPotentialTestContainer - Static variable in class org.junit.jupiter.engine.discovery.TestContainerResolver
-
- 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.util.ReflectionUtils
-
- isPublic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- isRelevantMethod(Method) - Method in class org.junit.jupiter.engine.discovery.AbstractMethodResolver
-
- isRoot() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine if this descriptor is a root descriptor.
- isScannableTestClass - Static variable in class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
-
- IsScannableTestClass - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a class is a JUnit Jupiter test class which should be included in
package and classpath scanning.
- IsScannableTestClass() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsScannableTestClass
-
- isSkipped() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Whether execution of the context should be skipped.
- isSkipped(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
-
- 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.
- IsTestableMethod - Class in org.junit.jupiter.engine.discovery.predicates
-
- IsTestableMethod(Class<? extends Annotation>, boolean) - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestableMethod
-
- isTestClassWithTests - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsScannableTestClass
-
- IsTestClassWithTests - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a class is a JUnit Jupiter test class containing executable tests,
test factories, or nested tests.
- IsTestClassWithTests() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
-
- isTestFactoryMethod - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
-
- IsTestFactoryMethod - Class in org.junit.jupiter.engine.discovery.predicates
-
- IsTestFactoryMethod() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethod
-
- isTestFactoryMethod - Static variable in class org.junit.jupiter.engine.discovery.TestFactoryMethodResolver
-
- isTestMethod - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
-
- 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
-
- isTestMethod - Static variable in class org.junit.jupiter.engine.discovery.TestMethodResolver
-
- isTestOrTestFactoryOrTestTemplateMethod - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
-
- isTestTemplateMethod - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
-
- IsTestTemplateMethod - Class in org.junit.jupiter.engine.discovery.predicates
-
- IsTestTemplateMethod() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod
-
- isTestTemplateMethod - Static variable in class org.junit.jupiter.engine.discovery.TestTemplateMethodResolver
-
- 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.
- objectsAreEqual(Object, Object) - Static method in class org.junit.jupiter.api.AssertionUtils
-
- 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
.
- openInputStream(ExtensionContext, String) - Method in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider
-
- openSegment - Variable in class org.junit.platform.engine.UniqueIdFormat
-
- OrFilter - Class in org.junit.vintage.engine.discovery
-
- OrFilter(Collection<? extends Filter>) - Constructor for class org.junit.vintage.engine.discovery.OrFilter
-
- org.junit.jupiter.api - package org.junit.jupiter.api
-
JUnit Jupiter API for writing tests.
- 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.engine - package org.junit.jupiter.engine
-
Core package for 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.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.converter - package org.junit.jupiter.params.converter
-
- org.junit.jupiter.params.provider - package org.junit.jupiter.params.provider
-
- org.junit.jupiter.params.support - package org.junit.jupiter.params.support
-
- org.junit.platform.commons - package org.junit.platform.commons
-
Internal common library of JUnit.
- org.junit.platform.commons.annotation - package org.junit.platform.commons.annotation
-
Common annotations for the JUnit Platform.
- 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
-
- 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.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
-
- org.junit.platform.launcher.listeners - package org.junit.platform.launcher.listeners
-
- 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.platform.surefire.provider - package org.junit.platform.surefire.provider
-
Maven Surefire provider for 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.
- originalState - Variable in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
-
- scanClasspath() - Method in class org.junit.platform.surefire.provider.JUnitPlatformProvider
-
- scanForClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Method in class org.junit.platform.commons.util.ClasspathScanner
-
- scanForClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Method in class org.junit.platform.commons.util.ClasspathScanner
-
- Segment(String, String) - Constructor for class org.junit.platform.engine.UniqueId.Segment
-
Create a new Segment
using the supplied type
and
value
.
- SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
-
- SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.discovery.NestedTestsResolver
-
- SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.discovery.TestContainerResolver
-
- SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.discovery.TestFactoryMethodResolver
-
- SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.discovery.TestMethodResolver
-
- SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.discovery.TestTemplateMethodResolver
-
- 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
-
- segmentDelimiter - Variable in class org.junit.platform.engine.UniqueIdFormat
-
- segmentPattern - Variable in class org.junit.platform.engine.UniqueIdFormat
-
- segments - Variable in class org.junit.platform.engine.UniqueId
-
- segmentType - Variable in class org.junit.jupiter.engine.discovery.AbstractMethodResolver
-
- select(Enum<?>, Set<String>) - Method in enum org.junit.jupiter.params.provider.EnumSource.Mode
-
- 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
.
- selector - Variable in enum org.junit.jupiter.params.provider.EnumSource.Mode
-
- selectors - Variable in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
-
- selectors - Variable in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
- 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
.
- serialize(Serializable) - Method in class org.junit.vintage.engine.support.UniqueIdStringifier
-
- serialVersionUID - Static variable in exception org.junit.jupiter.api.extension.ExtensionConfigurationException
-
- serialVersionUID - Static variable in exception org.junit.jupiter.api.extension.ExtensionContextException
-
- serialVersionUID - Static variable in exception org.junit.jupiter.api.extension.ParameterResolutionException
-
- serialVersionUID - Static variable in exception org.junit.jupiter.engine.execution.ConditionEvaluationException
-
- serialVersionUID - Static variable in exception org.junit.jupiter.params.converter.ArgumentConversionException
-
- serialVersionUID - Static variable in exception org.junit.platform.commons.JUnitException
-
- serialVersionUID - Static variable in exception org.junit.platform.commons.util.PreconditionViolationException
-
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.ClassSource
-
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.CompositeTestSource
-
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.DirectorySource
-
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.FilePosition
-
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.FileSource
-
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.MethodSource
-
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.PackageSource
-
- serialVersionUID - Static variable in class org.junit.platform.engine.TestTag
-
- serialVersionUID - Static variable in class org.junit.platform.engine.UniqueId.Segment
-
- serialVersionUID - Static variable in class org.junit.platform.engine.UniqueId
-
- serialVersionUID - Static variable in class org.junit.platform.engine.UniqueIdFormat
-
- serialVersionUID - Static variable in class org.junit.platform.launcher.TestIdentifier
-
- ServiceLoaderTestEngineRegistry - Class in org.junit.platform.launcher.core
-
- ServiceLoaderTestEngineRegistry() - Constructor for class org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry
-
- ServiceLoaderTestExecutionListenerRegistry - Class in org.junit.platform.launcher.core
-
- ServiceLoaderTestExecutionListenerRegistry() - Constructor for class org.junit.platform.launcher.core.ServiceLoaderTestExecutionListenerRegistry
-
- 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.
- setTestInstance(Object) - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
-
- settings - Variable in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider
-
- 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.DynamicContainerTestDescriptor
-
- shouldBeSkipped(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.DynamicTestTestDescriptor
-
- 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.
- shouldRun(Description) - Method in class org.junit.vintage.engine.discovery.OrFilter
-
- shouldRun(Description) - Method in class org.junit.vintage.engine.discovery.UniqueIdFilter
-
- 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 - Static variable in class org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor
-
- SingleTestExecutor - Class in org.junit.platform.engine.support.hierarchical
-
- SingleTestExecutor() - Constructor for class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
-
- SingleTestExecutor.Executable - Interface in org.junit.platform.engine.support.hierarchical
-
- 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.launcher.core.LauncherConfigurationParameters
-
- skip(String) - Static method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Factory for creating skipped results.
- skipped - Variable in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
- skippedDescriptors - Variable in class org.junit.vintage.engine.execution.TestRun
-
- SkipResult(boolean, String) - Constructor for class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
- snippet(String) - Static method in class org.junit.jupiter.api.AssertLinesMatch
-
- source - Variable in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
- source - Variable in class org.junit.platform.launcher.TestIdentifier
-
- SOURCE_CODE_SYNTAX_ARRAY_PATTERN - Static variable in class org.junit.platform.commons.util.ReflectionUtils
-
- sourceLegacyReportingName(TestIdentifier) - Method in class org.junit.platform.surefire.provider.RunListenerAdapter
-
- sources - Variable in class org.junit.platform.engine.support.descriptor.CompositeTestSource
-
- 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:
"^.*Tests?$" which matches against class names
ending in Test
or Tests
(in any package).
- startedDescriptors - Variable in class org.junit.vintage.engine.execution.TestRun
-
- state - Variable in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
-
- State(EngineExecutionListener, ConfigurationParameters) - Constructor for class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.State
-
- status - Variable in class org.junit.platform.engine.TestExecutionResult
-
- Status() - Constructor for enum org.junit.platform.engine.TestExecutionResult.Status
-
- storedValues - Variable in class org.junit.jupiter.engine.execution.ExtensionValuesStore
-
- storeFilter(Filter<?>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
- storeResult(TestDescriptor, TestExecutionResult) - Method in class org.junit.vintage.engine.execution.TestRun
-
- 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.
- streamLocal(Class<E>) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
-
Stream all Extensions
of the specified type that are present
in this registry.
- StringToEnumConverter() - Constructor for class org.junit.jupiter.params.converter.DefaultArgumentConverter.StringToEnumConverter
-
- StringToJavaTimeConverter() - Constructor for class org.junit.jupiter.params.converter.DefaultArgumentConverter.StringToJavaTimeConverter
-
- stringToObjectConverters - Static variable in class org.junit.jupiter.params.converter.DefaultArgumentConverter
-
- StringToPrimitiveConverter() - Constructor for class org.junit.jupiter.params.converter.DefaultArgumentConverter.StringToPrimitiveConverter
-
- StringUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with Strings
,
CharSequences
, etc.
- StringUtils() - Constructor for class org.junit.platform.commons.util.StringUtils
-
- successful() - Static method in class org.junit.platform.engine.TestExecutionResult
-
Obtain a TestExecutionResult
for a successful execution
of a test or container.
- SUCCESSFUL_RESULT - Static variable in class org.junit.platform.engine.TestExecutionResult
-
- suiteDescription - Variable in class org.junit.platform.runner.JUnitPlatformTestTree
-
- summary - Variable in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
-
- SummaryGeneratingListener - Class in org.junit.platform.launcher.listeners
-
- SummaryGeneratingListener() - Constructor for class org.junit.platform.launcher.listeners.SummaryGeneratingListener
-
- supportsParameter(ParameterContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ParameterResolver
-
- supportsParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.RepetitionInfoParameterResolver
-
- supportsParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TestInfoParameterResolver
-
- supportsParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TestReporterParameterResolver
-
- supportsParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.params.ParameterizedTestParameterResolver
-
- 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
.
- supportsTestTemplate(ExtensionContext) - Method in class org.junit.jupiter.engine.extension.RepeatedTestExtension
-
- supportsTestTemplate(ExtensionContext) - Method in class org.junit.jupiter.params.ParameterizedTestExtension
-
- synthesizeAfterEachMethodAdapter(Method) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-
- synthesizeBeforeEachMethodAdapter(Method) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-