A B C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
I
- ifFailure(Consumer<Exception>) - Method in class org.junit.platform.commons.function.Try
-
If this
Try
is a failure, call the suppliedConsumer
with the contained exception; otherwise, do nothing. - ifSuccess(Consumer<V>) - Method in class org.junit.platform.commons.function.Try
-
If this
Try
is a success, call the suppliedConsumer
with the contained value; otherwise, do nothing. - IgnoreCondition - Class in org.junit.jupiter.migrationsupport.conditions
-
ExecutionCondition
that supports JUnit 4's@Ignore
annotation. - IgnoreCondition() - Constructor for class org.junit.jupiter.migrationsupport.conditions.IgnoreCondition
- INCLUDE - org.junit.jupiter.params.provider.EnumSource.Mode
-
Select only those enum constants whose names are supplied via the
EnumSource.names()
attribute. - includeClassNamePatterns(String...) - Static method in interface org.junit.platform.engine.discovery.ClassNameFilter
-
Create a new include
ClassNameFilter
based on the supplied patterns. - IncludeClassNamePatterns - Annotation Type in org.junit.platform.suite.api
-
@IncludeClassNamePatterns
specifies regular expressions that are used to match against fully qualified class names when running a test suite on the JUnit Platform. - included() - Method in class org.junit.platform.engine.FilterResult
- included(String) - Static method in class org.junit.platform.engine.FilterResult
-
Factory for creating included results.
- 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 ofTestEngines
to be included when running a test suite on the JUnit Platform. - includePackageNames(String...) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new include
PackageNameFilter
based on the supplied package names. - includePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new include
PackageNameFilter
based on the supplied package names. - IncludePackages - Annotation Type in org.junit.platform.suite.api
-
@IncludePackages
specifies the packages to be included when running a test suite on the JUnit Platform. - includeTags(String...) - Static method in class org.junit.platform.launcher.TagFilter
-
Create an include filter based on the supplied tag expressions.
- includeTags(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
-
Create an include filter based on the supplied tag expressions.
- IncludeTags - Annotation Type in org.junit.platform.suite.api
-
@IncludeTags
specifies the tags or tag expressions to be included when running a test suite on the JUnit Platform. - INDEX_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
-
Placeholder for the current invocation index of a
@ParameterizedTest
method (1-based):{index}
- IndicativeSentences() - Constructor for class org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences
- IndicativeSentencesGeneration - Annotation Type in org.junit.jupiter.api
-
@IndicativeSentencesGeneration
is used to declare a custom parameters byIndicativeSentences
, if this notation has some not declared parameters, it will use the default values instead. - info(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwable
and message from the providedmessageSupplier
at info level. - info(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplier
at info level. - initialize(AnnotatedElement, T) - Static method in class org.junit.jupiter.params.support.AnnotationConsumerInitializer
- INSTANCE - Static variable in class org.junit.jupiter.params.converter.DefaultArgumentConverter
- instanceOf(Class<? extends Throwable>) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
-
Create a new
Condition
that matches if and only if aThrowable
is an instance of the suppliedClass
. - instantiateTestClass(Optional<TestInstances>, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionRegistrar, ExtensionContext, ThrowableCollector) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionRegistrar, ExtensionContext, ThrowableCollector) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionRegistrar, ExtensionContext, ThrowableCollector) - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
- interceptAfterAllMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of an
@AfterAll
method. - interceptAfterEachMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of an
@AfterEach
method. - interceptBeforeAllMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
@BeforeAll
method. - interceptBeforeEachMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
@BeforeEach
method. - interceptDynamicTest(InvocationInterceptor.Invocation<Void>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
DynamicTest
. - interceptTestClassConstructor(InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<Constructor<T>>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a test class constructor.
- interceptTestFactoryMethod(InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
@TestFactory
method. - interceptTestMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
@Test
method. - interceptTestTemplateMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
@TestTemplate
method. - ints() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
int
values to use as sources of arguments; must not be empty. - InvocationInterceptor - Interface in org.junit.jupiter.api.extension
-
InvocationInterceptor
defines the API forExtensions
that wish to intercept calls to test code. - InvocationInterceptor.Invocation<T> - Interface in org.junit.jupiter.api.extension
-
An invocation that returns a result and may throw a
Throwable
. - InvocationInterceptorChain - Class in org.junit.jupiter.engine.execution
- InvocationInterceptorChain() - Constructor for class org.junit.jupiter.engine.execution.InvocationInterceptorChain
- InvocationInterceptorChain.InterceptorCall<T> - Interface in org.junit.jupiter.engine.execution
- InvocationInterceptorChain.VoidInterceptorCall - Interface in org.junit.jupiter.engine.execution
- invoke(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node.Invocation
-
Invoke this invocation with the supplied context.
- invoke(Constructor<T>, Optional<Object>, ExtensionContext, ExtensionRegistry, ExecutableInvoker.ReflectiveInterceptorCall<Constructor<T>, T>) - Method in class org.junit.jupiter.engine.execution.ExecutableInvoker
-
Invoke the supplied constructor with the supplied outer instance and dynamic parameter resolution.
- invoke(Method, Object, ExtensionContext, ExtensionRegistry, ExecutableInvoker.ReflectiveInterceptorCall<Method, T>) - Method in class org.junit.jupiter.engine.execution.ExecutableInvoker
-
Invoke the supplied
static
method with dynamic parameter resolution. - invoke(InvocationInterceptor.Invocation<T>, ExtensionRegistry, InvocationInterceptorChain.InterceptorCall<T>) - Method in class org.junit.jupiter.engine.execution.InvocationInterceptorChain
- invokeAfterEachMethod(ExtensionContext, ExtensionRegistry) - Method in interface org.junit.jupiter.engine.execution.AfterEachMethodAdapter
- invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
-
Invoke all supplied test tasks and block until their execution has finished.
- invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
- invokeBeforeEachMethod(ExtensionContext, ExtensionRegistry) - Method in interface org.junit.jupiter.engine.execution.BeforeEachMethodAdapter
- invokeMethod(Method, Object, Object...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Invoke the supplied method, making it accessible if necessary and masking any checked exception as an unchecked exception.
- invokeMethod(Method, Object, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- invokeTestMethod(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- invokeTestMethod(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- invokeTestWatchers(JupiterEngineExecutionContext, boolean, Consumer<TestWatcher>) - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- isAbstract(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is
abstract
. - isAbstract(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isAbstract(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is
abstract
. - isAbstract(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isAnnotated(Class<? extends Annotation>) - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Determine if an annotation of
annotationType
is either present or meta-present on theParameter
for this context. - isAnnotated(Class<? extends Annotation>) - Method in interface org.junit.jupiter.api.MethodDescriptor
-
Determine if an annotation of
annotationType
is either present or meta-present on theMethod
for this descriptor. - 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 suppliedelement
. - 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 suppliedelement
. - isAnnotated(Optional<? extends AnnotatedElement>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Determine if an annotation of
annotationType
is either present or meta-present on the supplied optionalelement
. - 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 optionalelement
. - isAnsiColorOutputDisabled() - Method in class org.junit.platform.console.options.CommandLineOptions
- isArray(Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine if the supplied object is an array.
- isAssignableTo(Object, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine if the supplied object can be assigned to the supplied target type for the purpose of reflective method invocations.
- isBannerDisabled() - Method in class org.junit.platform.console.options.CommandLineOptions
- isBlank(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
String
is blank (i.e.,null
or consisting only of whitespace characters). - isContainer() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine if this descriptor describes a container.
- isContainer() - Method in enum org.junit.platform.engine.TestDescriptor.Type
- isContainer() - Method in class org.junit.platform.launcher.TestIdentifier
-
Determine if this identifier represents a container.
- isCurrentOs() - Method in enum org.junit.jupiter.api.condition.OS
- isCurrentVersion() - Method in enum org.junit.jupiter.api.condition.JRE
- isDebugMode() - Static method in class org.junit.platform.commons.util.RuntimeUtils
-
Try to determine whether the VM was started in debug mode or not.
- isDisabled() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Whether the container or test should be disabled.
- isDisplayHelp() - Method in class org.junit.platform.console.options.CommandLineOptions
- isEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Determine if this
ThrowableCollector
is empty (i.e., has not collected anyThrowables
). - isExact() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Whether this match is exact.
- isExtensionAutoDetectionEnabled() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- isExtensionAutoDetectionEnabled() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- isExtensionAutoDetectionEnabled() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- isFailIfNoTests() - Method in class org.junit.platform.console.options.CommandLineOptions
- isFinal(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is
final
. - isFinal(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isFinal(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is
final
. - isFinal(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isInnerClass(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine if the supplied class is an inner class (i.e., a non-static member class).
- 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
- isJavaPlatformModuleSystemAvailable() - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Determine if the current Java runtime supports the Java Platform Module System.
- isMethodPresent(Class<?>, Predicate<Method>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isMultidimensionalArray(Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine if the supplied object is a multidimensional array.
- IsNestedTestClass - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a class is a JUnit Jupiter
@Nested
test class. - IsNestedTestClass() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsNestedTestClass
- isNotBlank(String) - Static method in class org.junit.platform.commons.util.StringUtils
- isNotEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Determine if this
ThrowableCollector
is not empty (i.e., has collected at least oneThrowable
). - isNotFinal(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is not
final
. - isNotFinal(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isNotFinal(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is not
final
. - isNotFinal(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isNotPrivate(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is not
private
. - isNotPrivate(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isNotPrivate(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is not
private
. - isNotPrivate(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isNotStatic(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is not
static
. - isNotStatic(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isNotStatic(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is not
static
. - isNotStatic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- Isolated - Annotation Type in org.junit.jupiter.api.parallel
-
@Isolated
is used to declare that the annotated test class should be executed in isolation from other test classes. - isParallelExecutionEnabled() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- isParallelExecutionEnabled() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- isParallelExecutionEnabled() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- isPostDiscoveryFilterAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Determine if post discovery filters should be discovered at runtime using the
ServiceLoader
mechanism and automatically registered. - IsPotentialTestContainer - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a class is a potential top-level JUnit Jupiter test container, even if it does not contain tests.
- IsPotentialTestContainer() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsPotentialTestContainer
- isPrivate(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is
private
. - isPrivate(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isPrivate(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is
private
. - isPrivate(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isPublic(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is
public
. - isPublic(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isPublic(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is
public
. - isPublic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isResolved() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Whether this resolution contains matches or selectors.
- isRoot() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine if this descriptor is a root descriptor.
- isScanClasspath() - Method in class org.junit.platform.console.options.CommandLineOptions
- isScanModulepath() - Method in class org.junit.platform.console.options.CommandLineOptions
- isSkipped() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Whether execution of the context should be skipped.
- isStatic(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is
static
. - isStatic(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isStatic(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is
static
. - isStatic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isTest() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine if this descriptor describes a test.
- isTest() - Method in enum org.junit.platform.engine.TestDescriptor.Type
- isTest() - Method in class org.junit.platform.launcher.TestIdentifier
-
Determine if this identifier represents a test.
- IsTestClassWithTests - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a class is a JUnit Jupiter test class containing executable tests, test factories, test templates, or nested tests.
- IsTestClassWithTests() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
- isTestEngineAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Determine if test engines should be discovered at runtime using the
ServiceLoader
mechanism and automatically registered. - isTestExecutionListenerAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Determine if test execution listeners should be discovered at runtime using the
ServiceLoader
mechanism and automatically registered. - IsTestFactoryMethod - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a method is a JUnit Jupiter
@TestFactory
method. - IsTestFactoryMethod() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethod
- IsTestMethod - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a method is a JUnit Jupiter
@Test
method. - IsTestMethod() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestMethod
- isTestOrTestFactoryOrTestTemplateMethod - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
- IsTestTemplateMethod - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a method is a JUnit Jupiter
@TestTemplate
method. - IsTestTemplateMethod() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod
- isValid(String) - Static method in class org.junit.platform.engine.TestTag
-
Determine if the supplied tag name is valid with regard to the supported syntax for tags.
All Classes All Packages