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}
- 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.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
- ints() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
int
values to use as sources of arguments; must not be empty. - invoke(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node.Invocation
-
Invoke this invocation with the supplied context.
- 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(Constructor<T>, ExtensionContext, ExtensionRegistry) - Method in class org.junit.jupiter.engine.execution.ExecutableInvoker
-
Invoke the supplied constructor 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(Method, ExtensionContext, ExtensionRegistry) - Method in class org.junit.jupiter.engine.execution.ExecutableInvoker
-
Invoke the supplied
static
method with dynamic parameter resolution. - invokeAfterEachMethod(ExtensionContext, ExtensionRegistry) - Method in interface org.junit.jupiter.engine.execution.AfterEachMethodAdapter
- invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
-
Invoke all supplied test tasks and block until their execution has finished.
- invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
- invokeBeforeEachMethod(ExtensionContext, ExtensionRegistry) - Method in interface org.junit.jupiter.engine.execution.BeforeEachMethodAdapter
- invokeMethod(Method, Object, Object...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Invoke the supplied method, making it accessible if necessary and masking any checked exception as an unchecked exception.
- invokeMethod(Method, Object, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- invokeTestMethod(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- invokeTestMethod(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- isAbstract(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is
abstract
. - isAbstract(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
- 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
). - 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
- 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
). - 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
- isParallelExecutionEnabled() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- isParallelExecutionEnabled() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- isParallelExecutionEnabled() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- IsPotentialTestContainer - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a class is a potential top-level JUnit Jupiter test container, even if it does not contain tests.
- IsPotentialTestContainer() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsPotentialTestContainer
- isPrivate(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is
private
. - isPrivate(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
- 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
- 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