Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- generateDisplayNameForClass(Class<?>) - Method in interface org.junit.jupiter.api.DisplayNameGenerator
-
Generate a display name for the given top-level or
static
nested test class. - generateDisplayNameForClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences
- generateDisplayNameForClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
- generateDisplayNameForClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.Standard
- generateDisplayNameForMethod(Class<?>, Method) - Method in interface org.junit.jupiter.api.DisplayNameGenerator
-
Generate a display name for the given method.
- generateDisplayNameForMethod(Class<?>, Method) - Method in class org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences
- generateDisplayNameForMethod(Class<?>, Method) - Method in class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
- generateDisplayNameForMethod(Class<?>, Method) - Method in class org.junit.jupiter.api.DisplayNameGenerator.Simple
- generateDisplayNameForMethod(Class<?>, Method) - Method in class org.junit.jupiter.api.DisplayNameGenerator.Standard
- generateDisplayNameForNestedClass(Class<?>) - Method in interface org.junit.jupiter.api.DisplayNameGenerator
-
Generate a display name for the given
@Nested
inner test class. - generateDisplayNameForNestedClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences
- generateDisplayNameForNestedClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
- generateDisplayNameForNestedClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.Standard
- generator() - Element in annotation interface org.junit.jupiter.api.IndicativeSentencesGeneration
-
Custom display name generator to use for sentence fragments.
- GenericBeforeAndAfterAdvice - Interface in org.junit.jupiter.migrationsupport.rules.adapter
- get() - Method in interface org.junit.jupiter.api.function.ThrowingSupplier
-
Get a result, potentially throwing an exception.
- get() - Method in class org.junit.jupiter.params.provider.Arguments.ArgumentSet
- get() - Method in interface org.junit.jupiter.params.provider.Arguments
-
Get the arguments used for an invocation of the
@ParameterizedTest
method. - get() - Method in class org.junit.platform.commons.function.Try
-
If this
Try
is a success, get the contained value; if thisTry
is a failure, throw the contained exception. - get(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as an
Object
. - get(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- get(int, Class<T>) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as an instance of the required type.
- get(int, Class<T>) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- get(Object) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value that is stored under the supplied
key
. - 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(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(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.engine.support.config.PrefixedConfigurationParameters
- get(String, Function<String, Optional<String>>, E) - Method in class org.junit.jupiter.engine.config.EnumConfigurationParameterConverter
- get(String, Function<String, T>) - Method in interface org.junit.platform.engine.ConfigurationParameters
-
Get and transform the configuration parameter stored under the specified
key
using the specifiedtransformer
. - get(String, Function<String, T>) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
- get(N, Object) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Get the value stored for the supplied namespace and key in this store or the parent store, if present.
- get(N, Object, Class<T>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Get the value stored for the supplied namespace and key in this store or the parent store, if present, and cast it to the supplied required type.
- getAdditionalClasspathEntries() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getAdditionalExtensions() - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContext
-
Get the additional extensions for this invocation.
- getAdditionalLauncherDiscoveryListeners() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Get the collection of additional launcher discovery listeners that should be added to the
Launcher
. - getAdditionalLauncherSessionListeners() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Get the collection of additional launcher session listeners that should be added to the
Launcher
. - getAdditionalPostDiscoveryFilters() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Get the collection of additional post discovery filters that should be added to the
Launcher
. - getAdditionalTestEngines() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Get the collection of additional test engines that should be added to the
Launcher
. - getAdditionalTestExecutionListeners() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Get the collection of additional test execution listeners that should be added to the
Launcher
. - getAllAssignmentCompatibleClasses(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Return all classes and interfaces that can be used as assignment types for instances of the specified
Class
, including itself. - getAllClasspathRootDirectories() - Static method in class org.junit.platform.commons.util.ReflectionUtils
- getAllInstances() - Method in interface org.junit.jupiter.api.extension.TestInstances
-
Get all test instances, ordered from outermost to innermost.
- getAllInstances() - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
- getAncestors() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the immutable set of all ancestors of this descriptor.
- getAnnotatedElement() - Method in interface org.junit.jupiter.api.extension.AnnotatedElementContext
-
Get the
AnnotatedElement
for this context. - getAnnotatedElement() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the
AnnotatedElement
for this context. - getArguments() - Method in interface org.junit.jupiter.api.extension.ReflectiveInvocationContext
-
Get the arguments of the executable in this invocation context.
- 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.platform.suite.engine.SuiteTestEngine
-
Returns
junit-platform-suite-engine
as the artifact ID. - getArtifactId() - Method in class org.junit.vintage.engine.VintageTestEngine
-
Returns
junit-vintage-engine
as the artifact ID. - 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. - 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 suppliedfunction
. - getBoolean(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Boolean
, performing automatic type conversion as necessary. - getBoolean(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getBoolean(String) - Method in interface org.junit.platform.engine.ConfigurationParameters
-
Get the boolean configuration parameter stored under the specified
key
. - getBoolean(String) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
- getByte(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Byte
, performing automatic type conversion as necessary. - getByte(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getCharacter(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Character
, performing automatic type conversion as necessary. - getCharacter(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getChildren() - Method in class org.junit.jupiter.api.DynamicContainer
- 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(String) - Method in class org.junit.platform.launcher.TestPlan
-
Deprecated.
- getChildren(UniqueId) - Method in class org.junit.platform.launcher.TestPlan
-
Get the children of the supplied unique ID.
- getChildren(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
-
Get the children of the supplied
TestIdentifier
. - getClassDescriptors() - Method in interface org.junit.jupiter.api.ClassOrdererContext
-
Get the list of class descriptors to order.
- getClassLoader() - Method in class org.junit.platform.engine.discovery.ClassSelector
-
Get the
ClassLoader
used to load the selected class. - getClassLoader() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the
ClassLoader
used to load the specified class. - getClassLoader() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
-
Get the
ClassLoader
used to load the selected nested class. - getClassLoader() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the
ClassLoader
used to load the nested class. - getClassLoader(Class<?>) - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
-
Get the
ClassLoader
for the suppliedClass
, falling back to thedefault class loader
if the class loader for the supplied class isnull
. - getClassName() - Method in class org.junit.platform.engine.discovery.ClassSelector
-
Get the selected class name.
- getClassName() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the selected class name.
- getClassName() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Get the class name of this source.
- getClassName() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the class name of this source.
- getClassName(TestPlan, TestIdentifier) - Static method in class org.junit.platform.launcher.listeners.LegacyReportingUtils
-
Deprecated.Get the class name for the supplied
TestIdentifier
using the suppliedTestPlan
. - getClassName(TestPlan, TestIdentifier) - Static method in class org.junit.platform.reporting.legacy.LegacyReportingUtils
-
Get the class name for the supplied
TestIdentifier
using the suppliedTestPlan
. - getClassNameFilter() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
-
Get the class name filter built from the
ClassNameFilters
andPackageNameFilters
in theEngineDiscoveryRequest
that is about to be resolved. - 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
. - getColorPalettePath() - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
- getColumn() - Method in class org.junit.platform.engine.discovery.FilePosition
-
Get the column number of this
FilePosition
, if available. - getColumn() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Get the column number of this
FilePosition
, if available. - getConfiguration() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
- getConfiguration() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getConfigurationParameter(String) - Method in interface org.junit.jupiter.api.ClassOrdererContext
-
Get the configuration parameter stored under the specified
key
. - getConfigurationParameter(String) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the configuration parameter stored under the specified
key
. - getConfigurationParameter(String) - Method in interface org.junit.jupiter.api.MethodOrdererContext
-
Get the configuration parameter stored under the specified
key
. - getConfigurationParameter(String, Function<String, T>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get and transform the configuration parameter stored under the specified
key
using the specifiedtransformer
. - getConfigurationParameters() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getConfigurationParameters() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
ConfigurationParameters
for this request. - getConfigurationParameters() - Method in class org.junit.platform.engine.ExecutionRequest
-
Get the
ConfigurationParameters
that the engine may use to influence test execution. - getConfigurationParameters() - Method in class org.junit.platform.launcher.TestPlan
-
Get the
ConfigurationParameters
for this test plan. - getConfigurationParametersResources() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getContainersAbortedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers aborted.
- getContainersFailedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers that failed.
- getContainersFoundCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers found.
- getContainersSkippedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers skipped.
- getContainersStartedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers started.
- getContainersSucceededCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers that succeeded.
- getCorePoolSize() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the core thread pool size to be used.
- getCurrentRepetition() - Method in interface org.junit.jupiter.api.RepetitionInfo
-
Get the current repetition of the corresponding
@RepeatedTest
method. - getDeclaredConstructor(Class<T>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the sole declared, non-synthetic
Constructor
for the supplied class. - getDeclaringExecutable() - Method in interface org.junit.jupiter.api.extension.ParameterContext
- getDecoratedRunner() - Method in interface org.junit.vintage.engine.descriptor.RunnerDecorator
- getDefaultChildExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- getDefaultClassesExecutionMode() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- getDefaultClassesExecutionMode() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- getDefaultClassesExecutionMode() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- getDefaultClassLoader() - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
- getDefaultDisplayNameGenerator() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- getDefaultDisplayNameGenerator() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- getDefaultDisplayNameGenerator() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- getDefaultExecutionMode() - Method in interface org.junit.jupiter.api.MethodOrderer
-
Get the default
ExecutionMode
for the test class configured with thisMethodOrderer
. - getDefaultExecutionMode() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- getDefaultExecutionMode() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- getDefaultExecutionMode() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- getDefaultTempDirCleanupMode() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- getDefaultTempDirCleanupMode() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- getDefaultTempDirCleanupMode() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- getDefaultTempDirFactorySupplier() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- getDefaultTempDirFactorySupplier() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- getDefaultTempDirFactorySupplier() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- getDefaultTestClassOrderer() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- getDefaultTestClassOrderer() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- getDefaultTestClassOrderer() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- getDefaultTestInstanceLifecycle() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- getDefaultTestInstanceLifecycle() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- getDefaultTestInstanceLifecycle() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- getDefaultTestMethodOrderer() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- getDefaultTestMethodOrderer() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- getDefaultTestMethodOrderer() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- getDescendants() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the immutable set of all descendants of this descriptor.
- getDescendants(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
-
Get all descendants of the supplied
TestIdentifier
(i.e., all of its children and their children, recursively). - getDescription() - Method in class org.junit.platform.runner.JUnitPlatform
-
Deprecated.
- getDescription() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- getDetails() - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
- getDirectory() - Method in class org.junit.platform.engine.discovery.DirectorySelector
-
Get the selected directory as a
File
. - getDiscoveryListener() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
EngineDiscoveryListener
for this request. - getDiscoveryListener() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
-
Get the
LauncherDiscoveryListener
for this request. - getDiscoveryRequest() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
-
Get the
EngineDiscoveryRequest
that is about to be resolved. - getDisplayName() - Method in interface org.junit.jupiter.api.ClassDescriptor
-
Get the display name for this descriptor's
class
. - getDisplayName() - Method in class org.junit.jupiter.api.DynamicNode
-
Get the display name of this
DynamicNode
. - getDisplayName() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the display name for the current test or container.
- getDisplayName() - Method in interface org.junit.jupiter.api.MethodDescriptor
-
Get the display name for this descriptor's
method
. - getDisplayName() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the display name of the current test or container.
- getDisplayName() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getDisplayName() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the display name for this descriptor.
- getDisplayName() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the display name of the represented test or container.
- getDisplayName(int) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContext
-
Get the display name for this invocation.
- getDisplayNameGenerator(Class<?>) - Static method in interface org.junit.jupiter.api.DisplayNameGenerator
-
Return the
DisplayNameGenerator
instance corresponding to the givenClass
. - getDouble(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Double
, performing automatic type conversion as necessary. - getDouble(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getDuration() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the
Duration
of thisExecution
. - getDynamicDescendantFilter() - Method in interface org.junit.jupiter.engine.descriptor.Filterable
- getDynamicDescendantFilter() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- getDynamicDescendantFilter() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- getElement() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
AnnotatedElement
corresponding to the current extension context, if available. - getEnclosingClasses() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
- getEnclosingClasses() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
- getEnclosingClassNames() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
-
Get the names of the classes enclosing the selected nested class.
- getEnclosingClassNames() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the names of the classes enclosing the nested class containing the selected method.
- getEnclosingInstances() - Method in interface org.junit.jupiter.api.extension.TestInstances
-
Get the enclosing test instances, excluding the innermost test instance, ordered from outermost to innermost.
- getEnclosingInstances() - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
- getEnclosingTestClasses() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- getEnclosingTestClasses() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- getEnclosingTestClasses() - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
- getEndInstant() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the end
Instant
of thisExecution
. - getEngineDescriptor() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
-
Get the engine's
TestDescriptor
that will be used to collect the results. - getEngineExecutionListener() - Method in class org.junit.platform.engine.ExecutionRequest
-
Get the
EngineExecutionListener
to be notified of test execution events. - getEngineFilters() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
-
Get the
EngineFilters
for this request. - getEngineId() - Method in class org.junit.platform.engine.UniqueId
-
Get the engine ID stored in this
UniqueId
, if available. - getEngineIds() - Method in class org.junit.platform.launcher.EngineFilter
- getEngineTestDescriptor(TestEngine) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryResult
- getException() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary.Failure
-
Get the
Throwable
causing the failure. - getExcludedClassNamePatterns() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getExcludedEngines() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getExcludedPackages() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getExcludedTagExpressions() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- getExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- getExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- getExclusiveResources() - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Get the set of exclusive resources required to execute this node.
- getExecutable() - Method in class org.junit.jupiter.api.DynamicTest
-
Get the
executable
code block associated with thisDynamicTest
. - getExecutable() - Method in interface org.junit.jupiter.api.extension.DynamicTestInvocationContext
-
Get the
Executable
of this dynamic test invocation context. - getExecutable() - Method in interface org.junit.jupiter.api.extension.ReflectiveInvocationContext
-
Get the method or constructor of this invocation context.
- getExecutableInvoker() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get an
ExecutableInvoker
to invoke methods and constructors with support for dynamic resolution of parameters. - getExecutionConditionFilter() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- getExecutionConditionFilter() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- getExecutionConditionFilter() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- getExecutionException() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the exception that was thrown during execution of the test or container associated with this
ExtensionContext
, if available. - getExecutionListener() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getExecutionMode() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
ExecutionMode
associated with the current test or container. - getExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- getExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
- getExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- getExecutionMode() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
-
Get the execution mode of this task.
- getExecutionMode() - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Get the preferred of execution mode for parallel execution of this node.
- getExecutionResult() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Get the
TestExecutionResult
for the completed execution. - getExecutionResults() - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Get the state of the engine's execution in the form of
EngineExecutionResults
. - getExistingAdditionalClasspathEntries() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getExitCode() - Method in class org.junit.platform.console.options.CommandResult
- getExplicitExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- getExplicitExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- getExplicitSelectors() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- 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 interface org.junit.jupiter.engine.extension.ExtensionRegistry
-
Get all
Extensions
of the specified type that are present in this registry or one of its ancestors. - getFailureCount() - Method in interface org.junit.jupiter.api.RepetitionInfo
-
Get the current number of repetitions of the corresponding
@RepeatedTest
method that have ended in a failure. - getFailures() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get an immutable list of the failures of the test plan execution.
- getFailureThreshold() - Method in interface org.junit.jupiter.api.RepetitionInfo
-
Get the configured failure threshold of the corresponding
@RepeatedTest
method. - 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.
- getFilters() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- getFiltersByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
DiscoveryFilters
for this request, filtered by a particular type. - getFirstElement(Collection<T>) - Static method in class org.junit.platform.commons.util.CollectionUtils
-
Get the first element of the supplied collection unless it's empty.
- getFloat(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Float
, performing automatic type conversion as necessary. - getFloat(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getFullyQualifiedMethodName(Class<?>, Method) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Build the fully qualified method name for the method described by the supplied class and method.
- getFullyQualifiedMethodName(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Build the fully qualified method name for the method described by the supplied class, method name, and parameter types.
- getFullyQualifiedMethodName(String, String, String) - 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.platform.suite.engine.SuiteTestEngine
-
Returns
org.junit.platform
as the group ID. - getGroupId() - Method in class org.junit.vintage.engine.VintageTestEngine
-
Returns
org.junit.vintage
as the group ID. - getId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
- getId() - Method in interface org.junit.platform.engine.TestEngine
-
Get the ID that uniquely identifies this test engine.
- getId() - Method in class org.junit.platform.suite.engine.SuiteTestEngine
- getId() - Method in class org.junit.vintage.engine.VintageTestEngine
- getIncludedClassNamePatterns() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getIncludedEngines() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getIncludedPackages() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getIncludedTagExpressions() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getIndex() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the index of the
Parameter
for this context within the parameter list of theExecutable
that declares the parameter. - getInnermostInstance() - Method in interface org.junit.jupiter.api.extension.TestInstances
-
Get the innermost test instance.
- getInnermostInstance() - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
- getInputStream() - Method in interface org.junit.platform.commons.support.Resource
-
Returns an input stream for reading this resource.
- getInteger(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Integer
, performing automatic type conversion as necessary. - getInteger(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getInterfaceMethodIfPossible(Method, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine a corresponding interface method for the given method handle, if possible.
- getInvocationIndex() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the index of the current test invocation.
- getInvocationIndex() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getIterationIndices() - Method in class org.junit.platform.engine.discovery.IterationSelector
-
Get the selected iteration indices.
- getJavaClass() - Method in class org.junit.platform.engine.discovery.ClassSelector
-
Get the selected
Class
. - getJavaClass() - Method in class org.junit.platform.engine.discovery.MethodSelector
- getJavaClass() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Get the Java class of this source.
- getJavaClass() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the Java class of this source.
- getJavaMethod() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the selected
Method
. - getJavaMethod() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the Java method of this source.
- getKeepAliveSeconds() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the number of seconds for which inactive threads should be kept alive before terminating them and shrinking the thread pool.
- getKey() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
-
Get the key of this resource.
- getKeyValuePairs() - Method in class org.junit.platform.engine.reporting.ReportEntry
-
Get an unmodifiable copy of the map of key-value pairs to be published.
- getLastSegment() - Method in class org.junit.platform.engine.UniqueId
-
Get the last
UniqueId.Segment
of thisUniqueId
. - getLauncher() - Method in interface org.junit.platform.launcher.LauncherSession
-
Get the
Launcher
associated with this session. - getLegacyReportingName() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- getLegacyReportingName() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- getLegacyReportingName() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- getLegacyReportingName() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the name of this descriptor in a format that is suitable for legacy reporting infrastructure — for example, for reporting systems built on the Ant-based XML reporting format for JUnit 4.
- getLegacyReportingName() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the name of this identifier in a format that is suitable for legacy reporting infrastructure — for example, for reporting systems built on the Ant-based XML reporting format for JUnit 4.
- getLegacyReportingName() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- getLegacyReportingName() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- getLine() - Method in class org.junit.platform.engine.discovery.FilePosition
-
Get the line number of this
FilePosition
. - getLine() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Get the line number of this
FilePosition
. - getLocation(Object) - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
-
Get the location from which the supplied object's class was loaded.
- getLockMode() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
-
Get the lock mode of this resource.
- getLogger(Class<?>) - Static method in class org.junit.platform.commons.logging.LoggerFactory
-
Get a
Logger
for the specified class. - getLong(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Long
, performing automatic type conversion as necessary. - getLong(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getMatches() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Returns the matches contained by this resolution.
- getMaxPoolSize() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the maximum thread pool size to be used.
- getMethod() - Method in interface org.junit.jupiter.api.MethodDescriptor
-
Get the method for this descriptor.
- getMethod() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the selected
Method
. - getMethodDescriptors() - Method in interface org.junit.jupiter.api.MethodOrdererContext
-
Get the list of method descriptors to order.
- getMethodName() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the selected method name.
- getMethodName() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the name of the selected method.
- getMethodName() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the method name of this source.
- getMethodName(Description) - Static method in class org.junit.vintage.engine.descriptor.DescriptionUtils
- getMethodParameterTypes() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Deprecated.since 1.10 in favor of
MethodSelector.getParameterTypeNames()
- getMethodParameterTypes() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Deprecated.since 1.10 in favor or
NestedMethodSelector.getParameterTypeNames()
- getMethodParameterTypes() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the method parameter types of this source.
- getMinimumRunnable() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the minimum number of runnable threads to be used.
- getModifiableChildren() - Method in class org.junit.vintage.engine.descriptor.VintageEngineDescriptor
- getModuleName() - Method in class org.junit.platform.engine.discovery.ModuleSelector
-
Get the selected module name.
- getModuleName(Class<?>) - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Return the name of the module that the class or interface is a member of.
- getModuleOrImplementationVersion(Class<?>) - Static method in class org.junit.platform.commons.util.PackageUtils
-
Get the module or implementation version for the supplied
type
. - getModuleVersion(Class<?>) - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Return the raw version of the module that the class or interface is a member of.
- getName() - Method in interface org.junit.jupiter.api.Named
-
Get the name of the payload.
- getName() - Method in interface org.junit.jupiter.api.NamedExecutable
- getName() - Method in class org.junit.jupiter.params.provider.Arguments.ArgumentSet
-
Get the name of this
ArgumentSet
. - getName() - Method in interface org.junit.platform.commons.support.Resource
-
Get the resource name.
- getName() - Method in class org.junit.platform.engine.TestTag
-
Get the name of this tag.
- getNestedClass() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
-
Get the selected nested
Class
. - getNestedClass() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
- getNestedClassName() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
-
Get the name of the selected nested class.
- getNestedClassName() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the name of the nested class containing the selected method.
- getOnlyElement(Collection<T>) - Static method in class org.junit.platform.commons.util.CollectionUtils
-
Get the only element of a collection of size 1.
- getOrComputeIfAbsent(Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the object of type
type
that is present in thisStore
(keyed bytype
); and otherwise invoke the default constructor fortype
to generate the object, store it, and return it. - getOrComputeIfAbsent(K, Function<K, V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value that is stored under the supplied
key
. - getOrComputeIfAbsent(K, Function<K, V>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- getOrComputeIfAbsent(K, Function<K, V>, Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value of the specified required type that is stored under the supplied
key
. - getOrComputeIfAbsent(K, Function<K, V>, Class<V>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- getOrComputeIfAbsent(N, K, Function<K, V>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Get the value stored for the supplied namespace and key in this store or the parent store, if present, or call the supplied function to compute it.
- getOrComputeIfAbsent(N, K, Function<K, V>, Class<V>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Get the value stored for the supplied namespace and key in this store or the parent store, if present, or call the supplied function to compute it and, finally, cast it to the supplied required type.
- getOrDefault(Object, Class<V>, 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
, or the supplieddefaultValue
if no value is found for the suppliedkey
in this store or in an ancestor. - getOrThrow(Function<? super Exception, E>) - Method in class org.junit.platform.commons.function.Try
- getOuterInstance() - Method in interface org.junit.jupiter.api.extension.TestInstanceFactoryContext
-
Get the instance of the outer class, if available.
- getPackageName() - Method in class org.junit.platform.engine.discovery.PackageSelector
-
Get the selected package name.
- getPackageName() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
-
Get the package name of this test source.
- getParallelism() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the parallelism to be used.
- getParameter() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the
Parameter
for this context. - getParameterTypeNames() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the names of parameter types for the selected method as a
String
, typically a comma-separated list of primitive types, fully qualified class names, or array types. - getParameterTypeNames() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the names of parameter types for the selected method as a
String
. - getParameterTypes() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the parameter types for the selected method.
- getParameterTypes() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the parameter types for the selected method.
- getParent() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the parent extension context, if available.
- getParent() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getParent() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the parent of this descriptor, if available.
- getParent(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
-
Get the parent of the supplied
TestIdentifier
. - getParentId() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the unique ID of this identifier's parent as a
String
, if available. - getParentIdObject() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the unique ID of this identifier's parent as a
UniqueId
, if available. - getParentSelector() - Method in class org.junit.platform.engine.discovery.IterationSelector
-
Get the selected parent
DiscoverySelector
. - getPath() - Method in class org.junit.platform.engine.discovery.DirectorySelector
- getPath() - Method in class org.junit.platform.engine.discovery.FileSelector
- getPayload() - Method in interface org.junit.jupiter.api.Named
-
Get the payload.
- getPayload() - Method in interface org.junit.jupiter.api.NamedExecutable
- getPayload() - Method in class org.junit.platform.testkit.engine.Event
-
Get the payload, if available.
- getPayload(Class<T>) - Method in class org.junit.platform.testkit.engine.Event
-
Get the payload of the expected type, if available.
- getPosition() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
-
Get the selected
FilePosition
within the classpath resource. - getPosition() - Method in class org.junit.platform.engine.discovery.FileSelector
-
Get the selected position within the file as a
FilePosition
. - getPosition() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Get the
FilePosition
, if available. - getPosition() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
- getPosition() - Method in class org.junit.platform.engine.support.descriptor.FileSource
-
Get the
FilePosition
, if available. - getPostDiscoveryFilters() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
-
Get the
PostDiscoveryFilters
for this request. - getPrefix() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.ClassSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.DirectorySelector.IdentifierParser
- getPrefix() - Method in interface org.junit.platform.engine.discovery.DiscoverySelectorIdentifierParser
-
Get the prefix that this parser can handle.
- getPrefix() - Method in class org.junit.platform.engine.discovery.FileSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.IterationSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.MethodSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.ModuleSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.NestedClassSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.PackageSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.discovery.UriSelector.IdentifierParser
- getPrefix() - Method in class org.junit.platform.engine.DiscoverySelectorIdentifier
-
Get the prefix of this identifier.
- getRawConfigurationParameter(String) - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- getRawConfigurationParameter(String) - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- getRawConfigurationParameter(String) - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- getRawConfigurationParameter(String, Function<String, T>) - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- getRawConfigurationParameter(String, Function<String, T>) - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- getRawConfigurationParameter(String, Function<String, T>) - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- getRawPath() - Method in class org.junit.platform.engine.discovery.DirectorySelector
-
Get the selected directory as a raw path.
- getRawPath() - Method in class org.junit.platform.engine.discovery.FileSelector
-
Get the selected file as a raw path.
- getReason() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Get the reason why the container or test should be enabled or disabled, if available.
- getReason() - Method in class org.junit.platform.engine.FilterResult
-
Get the reason why the filtered object should be included or excluded, if available.
- getReason() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Get the reason that execution of the context should be skipped, if available.
- getRequiredMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
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. - getRequiredPayload(Class<T>) - Method in class org.junit.platform.testkit.engine.Event
-
Get the payload of the required type.
- getRequiredTestClass() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required
Class
associated with the current test or container. - getRequiredTestInstance() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required test instance associated with the current test or container.
- getRequiredTestInstances() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required test instances associated with the current test or container.
- getRequiredTestMethod() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required
Method
associated with the current test or container. - getResourceLock() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
-
Get the resource lock of this task.
- getRoot() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the root
ExtensionContext
. - getRoots() - Method in class org.junit.platform.launcher.TestPlan
-
Get the root
TestIdentifiers
for this test plan. - getRootTestDescriptor() - Method in class org.junit.platform.engine.ExecutionRequest
-
Get the root
TestDescriptor
of the engine that processes this request. - getSaturatePredicate() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the saturate predicate to be used for the execution's
ForkJoinPool
. - getSegments() - Method in class org.junit.platform.engine.UniqueId
-
Get the immutable list of segments that make up this
UniqueId
. - getSelectedClasses() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getSelectedClasspathEntries() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getSelectedClasspathResources() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getSelectedDirectories() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getSelectedFiles() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getSelectedIterations() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getSelectedMethods() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getSelectedModules() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getSelectedPackages() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getSelectedUris() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getSelectorIdentifiers() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- getSelectors() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Returns the selectors contained by this resolution.
- getSelectorsByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
DiscoverySelectors
for this request, filtered by a particular type. - getShort(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Short
, performing automatic type conversion as necessary. - getShort(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getSkipReason() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Get the reason the execution was skipped.
- 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
. - getStartInstant() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the start
Instant
of thisExecution
. - getStatus() - Method in class org.junit.platform.engine.SelectorResolutionResult
-
Get the status of this result.
- getStatus() - Method in class org.junit.platform.engine.TestExecutionResult
-
Get the status of this result.
- getStatus() - Method in class org.junit.platform.launcher.EngineDiscoveryResult
-
Get the status of this result.
- getStore(ExtensionContext.Namespace) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
ExtensionContext.Store
for the suppliedExtensionContext.Namespace
. - getString(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
String
, performing automatic type conversion as necessary. - getString(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getSummary() - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
-
Get the summary generated by this listener.
- getTags() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the set of all tags for the current test or container.
- getTags() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the set of all tags for the current test or container.
- getTags() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- getTags() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- getTags() - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
- getTags() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getTags() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the set of tags associated with this descriptor.
- getTags() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the set of tags associated with the represented test or container.
- getTags() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- getTarget() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the target on which the
Executable
that declares theParameter
for this context will be invoked, if available. - getTarget() - Method in interface org.junit.jupiter.api.extension.ReflectiveInvocationContext
-
Get the target object of this invocation context, if available.
- getTargetClass() - Method in interface org.junit.jupiter.api.extension.ReflectiveInvocationContext
-
Get the target class of this invocation context.
- getTerminationInfo() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the
TerminationInfo
for thisExecution
. - getTestClass() - Method in interface org.junit.jupiter.api.ClassDescriptor
-
Get the class for this descriptor.
- getTestClass() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
Class
associated with the current test or container, if available. - getTestClass() - Method in interface org.junit.jupiter.api.extension.TestInstanceFactoryContext
-
Get the test class for this context.
- getTestClass() - Method in interface org.junit.jupiter.api.MethodOrdererContext
-
Get the test class for this context.
- getTestClass() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the
Class
associated with the current test or container, if available. - getTestClass() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- getTestDescriptor() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Get the contained
TestDescriptor
. - getTestDescriptor() - Method in class org.junit.platform.testkit.engine.Event
-
Get the
TestDescriptor
associated with thisEvent
. - getTestDescriptor() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the
TestDescriptor
for thisExecution
. - getTestEngines() - Method in class org.junit.platform.launcher.core.LauncherDiscoveryResult
- 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
-
Deprecated.
- getTestIdentifier(UniqueId) - Method in class org.junit.platform.launcher.TestPlan
-
Get the
TestIdentifier
with the supplied unique ID. - getTestInstance() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the test instance associated with the current test or container, if available.
- getTestInstanceLifecycle() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
TestInstance.Lifecycle
of the test instance associated with the current test or container, if available. - getTestInstances() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the test instances associated with the current test or container, if available.
- getTestInstances(ExtensionRegistry, ExtensionRegistrar, ThrowableCollector) - Method in interface org.junit.jupiter.engine.execution.TestInstancesProvider
- getTestInstances(MutableExtensionRegistry, ThrowableCollector) - Method in interface org.junit.jupiter.engine.execution.TestInstancesProvider
- getTestInstancesProvider() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getTestMethod() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
Method
associated with the current test, if available. - getTestMethod() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the
Method
associated with the current test or container, if available. - getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- getTestRule() - Method in class org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedField
- getTestRule() - Method in class org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedMethod
- getTestRule() - Method in interface org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedMember
- getTestsAbortedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests aborted.
- getTestsFailedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests that failed.
- getTestsFoundCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests found.
- getTestSourceUri() - Method in class org.junit.jupiter.api.DynamicNode
-
Get the custom test source
URI
of thisDynamicNode
. - getTestsSkippedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests skipped.
- getTestsStartedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests started.
- getTestsSucceededCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests that succeeded.
- getTheme() - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
- getThrowable() - Method in class org.junit.platform.engine.SelectorResolutionResult
-
Get the throwable that caused this result, if available.
- getThrowable() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Get the first
Throwable
collected by thisThrowableCollector
. - getThrowable() - Method in class org.junit.platform.engine.TestExecutionResult
-
Get the throwable that caused this result, if available.
- getThrowable() - Method in class org.junit.platform.launcher.EngineDiscoveryResult
-
Get the throwable that caused this result, if available.
- getThrowableCollector() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getTimeFinished() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the timestamp (in milliseconds) when the test plan finished.
- getTimestamp() - Method in class org.junit.platform.engine.reporting.ReportEntry
-
Get the timestamp for when this
ReportEntry
was created. - getTimestamp() - Method in class org.junit.platform.testkit.engine.Event
-
Get the
Instant
when thisEvent
occurred. - getTimeStarted() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the timestamp (in milliseconds) when the test plan started.
- getTotalFailureCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the total number of failed containers and failed tests.
- getTotalRepetitions() - Method in interface org.junit.jupiter.api.RepetitionInfo
-
Get the total number of repetitions of the corresponding
@RepeatedTest
method. - getType() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- 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
-
Returns
TestDescriptor.Type.CONTAINER
. - getType() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine the
TestDescriptor.Type
of this descriptor. - getType() - Method in class org.junit.platform.engine.UniqueId.Segment
-
Get the type of this segment.
- getType() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the underlying descriptor type.
- getType() - Method in class org.junit.platform.testkit.engine.Event
-
Get the type of this
Event
. - getType() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- getUniqueId() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the unique ID of the current test or container.
- getUniqueId() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
-
Get the selected
UniqueId
. - getUniqueId() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getUniqueId() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the unique identifier (UID) for this descriptor.
- getUniqueId() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the unique ID of the represented test or container as a
String
. - getUniqueIdObject() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the unique ID of the represented test or container as a
UniqueId
. - getUri() - Method in interface org.junit.platform.commons.support.Resource
-
Get URI to a resource.
- 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
- 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.console.options.CommandResult
- getValue() - Method in class org.junit.platform.engine.DiscoverySelectorIdentifier
-
Get the value of this identifier.
- getValue() - Method in class org.junit.platform.engine.UniqueId.Segment
-
Get the value of this segment.
- getVersion() - Method in interface org.junit.platform.engine.TestEngine
-
Get the version of this test engine.
- getWrapperType(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the wrapper type for the supplied primitive type.
- GLOBAL - Static variable in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
-
The default, global namespace which allows access to stored data from all extensions.
- GLOBAL - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents the global resource lock: "org.junit.platform.engine.support.hierarchical.ExclusiveResource.GLOBAL_KEY"
- GLOBAL_KEY - Static variable in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
-
Key of the global resource lock that all direct children of the engine descriptor acquire in read mode by default: "org.junit.platform.engine.support.hierarchical.ExclusiveResource.GLOBAL_KEY"
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
TestPlan.getChildren(UniqueId)