A B C D E F G H I J L M N O P R S T U V W
G
- 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 interface org.junit.jupiter.params.provider.Arguments
-
Get the arguments used for an invocation of the
@ParameterizedTest
method. - 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 class org.junit.jupiter.engine.script.ScriptAccessor.ConfigurationParameterAccessor
- get(String) - Method in class org.junit.jupiter.engine.script.ScriptAccessor.EnvironmentVariableAccessor
- get(String) - Method in interface org.junit.jupiter.engine.script.ScriptAccessor
-
Get the value of the property with the supplied name.
- get(String) - Method in class org.junit.jupiter.engine.script.ScriptAccessor.SystemPropertyAccessor
- get(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, 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
- getAdditionalClasspathEntries() - Method in class org.junit.platform.console.options.CommandLineOptions
- getAdditionalExtensions() - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContext
-
Get the additional extensions for this invocation.
- 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
- getAnnotationAsString() - Method in class org.junit.jupiter.engine.script.Script
- getAnnotationType() - Method in class org.junit.jupiter.engine.script.Script
- getArtifactId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
-
Returns
junit-jupiter-engine
as the artifact ID. - getArtifactId() - Method in interface org.junit.platform.engine.TestEngine
-
Get the Artifact ID of the JAR in which this test engine is packaged.
- getArtifactId() - Method in class org.junit.vintage.engine.VintageTestEngine
-
Returns
junit-vintage-engine
as the artifact ID. - getAttribute(Class<?>, 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
-
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
. - getClassName() - Method in class org.junit.platform.engine.discovery.ClassSelector
-
Get the selected class name.
- getClassName() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the selected class name.
- getClassName() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Get the class name of this source.
- getClassName() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the declaring
Class
name of this source. - getClassName(TestPlan, TestIdentifier) - Static method in class org.junit.platform.launcher.listeners.LegacyReportingUtils
-
Get the class name for the supplied
TestIdentifier
using the suppliedTestPlan
. - getClasspathResourceName() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
-
Get the name of the selected classpath resource.
- getClasspathResourceName() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Get the name of the source classpath resource.
- getClasspathRoot() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
-
Get the selected classpath root directory as an
URI
. - getColumn() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Get the column number of this
FilePosition
, if available. - getConfigurationParameter(String) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the configuration parameter stored under the specified
key
. - getConfigurationParameters() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getConfigurationParameters() - Method in class org.junit.platform.console.options.CommandLineOptions
- getConfigurationParameters() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
ConfigurationParameters
for this request. - getConfigurationParameters() - Method in class org.junit.platform.engine.ExecutionRequest
-
Get the
ConfigurationParameters
that the engine may use to influence test execution. - getContainersAbortedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers aborted.
- getContainersFailedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers that failed.
- getContainersFoundCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers found.
- getContainersSkippedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers skipped.
- getContainersStartedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers started.
- getContainersSucceededCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers that succeeded.
- getCorePoolSize() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the thread pool size to be used.
- getCurrentRepetition() - Method in interface org.junit.jupiter.api.RepetitionInfo
-
Get the current repetition of the corresponding
@RepeatedTest
method. - getDeclaredConstructor(Class<T>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the sole declared
Constructor
for the supplied class. - getDeclaringExecutable() - Method in interface org.junit.jupiter.api.extension.ParameterContext
- getDecoratedRunner() - Method in interface org.junit.vintage.engine.discovery.RunnerDecorator
- getDefaultClassLoader() - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
- getDescendants() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the immutable set of all descendants of this descriptor.
- getDescendants(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
-
Get all descendants of the supplied
TestIdentifier
(i.e., all of its children and their children, recursively). - getDescription() - Method in class org.junit.platform.runner.JUnitPlatform
- getDescription() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- getDetails() - Method in class org.junit.platform.console.options.CommandLineOptions
- getDirectory() - Method in class org.junit.platform.engine.discovery.DirectorySelector
-
Get the selected directory as a
File
. - getDisplayName() - Method in class org.junit.jupiter.api.DynamicNode
-
Get the display name of this
DynamicNode
. - getDisplayName() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the display name for the current test or container.
- getDisplayName() - 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.
- getDouble(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Double
, performing automatic type conversion as necessary. - getDouble(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getDynamicDescendantFilter() - Method in interface org.junit.jupiter.engine.descriptor.Filterable
- getDynamicDescendantFilter() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- getDynamicDescendantFilter() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- getElement() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
AnnotatedElement
corresponding to the current extension context, if available. - getElement() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- getElement() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
- getElement() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- getEngine() - Method in class org.junit.jupiter.engine.script.Script
- getEngineExecutionListener() - Method in class org.junit.platform.engine.ExecutionRequest
-
Get the
EngineExecutionListener
to be notified of test execution events. - getEngineFilters() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
-
Get the
EngineFilters
for this request. - getEngineId() - Method in class org.junit.platform.engine.UniqueId
-
Get the engine ID stored in this
UniqueId
, if available. - getException() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary.Failure
-
Get the
Throwable
causing the failure. - getExcludedClassNamePatterns() - Method in class org.junit.platform.console.options.CommandLineOptions
- getExcludedEngines() - Method in class org.junit.platform.console.options.CommandLineOptions
- getExcludedPackages() - Method in class org.junit.platform.console.options.CommandLineOptions
- getExcludedTagExpressions() - Method in class org.junit.platform.console.options.CommandLineOptions
- getExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- getExclusiveResources() - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Get the set of resources required to execute this node.
- getExclusiveResources(AnnotatedElement) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- getExecutable() - Method in class org.junit.jupiter.api.DynamicTest
-
Get the
executable
code block associated with thisDynamicTest
. - getExecutionException() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the exception that was thrown during execution of the test or container associated with this
ExtensionContext
, if available. - getExecutionException() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- getExecutionException() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
- getExecutionException() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- getExecutionListener() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- 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.
- getExecutionMode(AnnotatedElement) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- getExitCode() - Method in class org.junit.platform.console.ConsoleLauncherExecutionResult
- getExtensionContext() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getExtensionRegistry() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getExtensions(Class<E>) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
-
Get all
Extensions
of the specified type that are present in this registry or one of its ancestors. - getFailures() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get an immutable list of the failures of the test plan execution.
- getFile() - Method in class org.junit.platform.engine.discovery.FileSelector
-
Get the selected file as a
File
. - getFile() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
-
Get the source directory.
- getFile() - Method in class org.junit.platform.engine.support.descriptor.FileSource
-
Get the source file.
- getFile() - Method in interface org.junit.platform.engine.support.descriptor.FileSystemSource
-
Get the source file or directory.
- getFiltersByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
DiscoveryFilters
for this request, filtered by a particular type. - getFloat(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Float
, performing automatic type conversion as necessary. - getFloat(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getFullyQualifiedMethodName(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Build the fully qualified method name for the method described by the supplied class, method name, and parameter types.
- getGroupId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
-
Returns
org.junit.jupiter
as the group ID. - getGroupId() - Method in interface org.junit.platform.engine.TestEngine
-
Get the Group ID of the JAR in which this test engine is packaged.
- getGroupId() - Method in class org.junit.vintage.engine.VintageTestEngine
-
Returns
org.junit.vintage
as the group ID. - getId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
- getId() - Method in interface org.junit.platform.engine.TestEngine
-
Get the ID that uniquely identifies this test engine.
- getId() - Method in class org.junit.vintage.engine.VintageTestEngine
- getIncludedClassNamePatterns() - Method in class org.junit.platform.console.options.CommandLineOptions
- getIncludedEngines() - Method in class org.junit.platform.console.options.CommandLineOptions
- getIncludedPackages() - Method in class org.junit.platform.console.options.CommandLineOptions
- getIncludedTagExpressions() - Method in class org.junit.platform.console.options.CommandLineOptions
- 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. - getInteger(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Integer
, performing automatic type conversion as necessary. - getInteger(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getJavaClass() - Method in class org.junit.platform.engine.discovery.ClassSelector
-
Get the selected
Class
. - getJavaClass() - Method in class org.junit.platform.engine.discovery.MethodSelector
- getJavaClass() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Get the Java class of this source.
- getJavaMethod() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the selected
Method
. - getKeepAlive() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the number of milliseconds for which inactive threads should be kept alive before terminating them and shrinking the thread pool.
- getKey() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
-
Get the key of this resource.
- getKeyValuePairs() - Method in class org.junit.platform.engine.reporting.ReportEntry
-
Get an unmodifiable copy of the map of key-value pairs to be published.
- getLegacyReportingName() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- getLegacyReportingName() - Method in class org.junit.jupiter.engine.descriptor.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.
- getLine() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Get the line number of this
FilePosition
. - getLocation(Object) - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
-
Get the location from which the supplied object's class was loaded.
- getLockMode() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
-
Get the lock mode of this resource.
- getLogger(Class<?>) - Static method in class org.junit.platform.commons.logging.LoggerFactory
-
Get a
Logger
for the specified class. - getLong(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Long
, performing automatic type conversion as necessary. - getLong(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getMaxPoolSize() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the maximum thread pool size to be used.
- getMethodName() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the selected method name.
- getMethodName() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the
Method
name of this source. - getMethodParameterTypes() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the parameter types for the selected method as a
String
, typically a comma-separated list of primitive types, fully qualified class names, or array types. - getMethodParameterTypes() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the
Method
parameter types of this source. - getMinimumRunnable() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the minimum number of runnable threads to be used.
- getModuleName() - 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.
- getModuleVersion(Class<?>) - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Return the raw version of the module that the class or interface is a member of.
- getName() - Method in class org.junit.platform.engine.TestTag
-
Get the name of this tag.
- getOnlyElement(Collection<T>) - Static method in class org.junit.platform.commons.util.CollectionUtils
-
Read the only element of a collection of size 1.
- getOrComputeIfAbsent(Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the object of type
type
that is present in 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
- getOutermostInstance(Object, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the outermost instance of the required type, searching recursively through enclosing instances.
- getPackageName() - Method in class org.junit.platform.engine.discovery.PackageSelector
-
Get the selected package name.
- getPackageName() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
-
Get the package name of this test source.
- getParallelism() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the parallelism to be used.
- getParameter() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the
Parameter
for this context. - getParent() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the parent extension context, if available.
- getParent() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getParent() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the parent of this descriptor, if available.
- getParent(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
-
Get the parent of the supplied
TestIdentifier
. - getParentId() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the unique ID of this identifier's parent, if available.
- getPath() - Method in class org.junit.platform.engine.discovery.DirectorySelector
- getPath() - Method in class org.junit.platform.engine.discovery.FileSelector
- getPosition() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Get the
FilePosition
, if available. - getPosition() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Get the position in the Java source file for the associated Java class, if available.
- getPosition() - Method in class org.junit.platform.engine.support.descriptor.FileSource
-
Get the
FilePosition
, if available. - getPostDiscoveryFilters() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
-
Get the
PostDiscoveryFilters
for this request. - getRawPath() - Method in class org.junit.platform.engine.discovery.DirectorySelector
-
Get the selected directory as a raw path.
- getRawPath() - Method in class org.junit.platform.engine.discovery.FileSelector
-
Get the selected file as a raw path.
- getReason() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Get the reason why the container or test should be enabled or disabled, if available.
- getReason() - Method in class org.junit.jupiter.engine.script.Script
- getReason() - Method in class org.junit.platform.engine.FilterResult
-
Get the reason why the filtered object should be included or excluded, if available.
- getReason() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Get the reason why execution of the context should be skipped, if available.
- getReportsDir() - Method in class org.junit.platform.console.options.CommandLineOptions
- getRequiredTestClass() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required
Class
associated with the current test or container. - getRequiredTestInstance() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required test instance associated with the current test or container.
- getRequiredTestMethod() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required
Method
associated with the current test or container. - getResourceLock() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
-
Get the resource lock of this task.
- getReversedExtensions(Class<E>) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
-
Get all
Extensions
of the specified type that are present in this registry or one of its ancestors, in reverse order. - getRoot() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the root
ExtensionContext
. - getRoots() - Method in class org.junit.platform.launcher.TestPlan
-
Get the root
TestIdentifiers
for this test plan. - getRootTestDescriptor() - Method in class org.junit.platform.engine.ExecutionRequest
-
Get the root
TestDescriptor
of the engine that processes this request. - getSegments() - Method in class org.junit.platform.engine.UniqueId
-
Get the immutable list of segments that make up this
UniqueId
. - getSelectedClasses() - Method in class org.junit.platform.console.options.CommandLineOptions
- getSelectedClasspathEntries() - Method in class org.junit.platform.console.options.CommandLineOptions
- getSelectedClasspathResources() - Method in class org.junit.platform.console.options.CommandLineOptions
- getSelectedDirectories() - Method in class org.junit.platform.console.options.CommandLineOptions
- getSelectedFiles() - Method in class org.junit.platform.console.options.CommandLineOptions
- getSelectedMethods() - Method in class org.junit.platform.console.options.CommandLineOptions
- getSelectedModules() - Method in class org.junit.platform.console.options.CommandLineOptions
- getSelectedPackages() - Method in class org.junit.platform.console.options.CommandLineOptions
- getSelectedUris() - Method in class org.junit.platform.console.options.CommandLineOptions
- getSelectorsByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
DiscoverySelectors
for this request, filtered by a particular type. - getShort(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Short
, performing automatic type conversion as necessary. - getShort(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getSource() - Method in class org.junit.jupiter.engine.script.Script
- getSource() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getSource() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the source of the test or container described by this descriptor, if available.
- getSource() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the source of the represented test or container, if available.
- getSources() - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
-
Get an immutable list of the sources stored in this
CompositeTestSource
. - getStatus() - Method in class org.junit.platform.engine.TestExecutionResult
-
Get the status of this result.
- getStore(ExtensionContext.Namespace) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
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
- getSuites() - Method in class org.junit.platform.surefire.provider.JUnitPlatformProvider
- getSummary() - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
-
Get the summary generated by this listener.
- 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.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
- getTags(AnnotatedElement) - Static method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- 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. - getTestClass() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
Class
associated with the current test or container, if available. - getTestClass() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the
Class
associated with the current test or container, if available. - getTestClass() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- getTestExecutionSummary() - Method in class org.junit.platform.console.ConsoleLauncherExecutionResult
- getTestIdentifier() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary.Failure
-
Get the identifier of the failed test or container.
- getTestIdentifier(String) - Method in class org.junit.platform.launcher.TestPlan
-
Get the
TestIdentifier
with the supplied unique ID. - getTestInstance() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the test instance associated with the current test or container, if available.
- getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
- getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- getTestInstance(Optional<ExtensionRegistry>) - Method in interface org.junit.jupiter.engine.execution.TestInstanceProvider
- 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. - getTestInstanceLifecycle() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- getTestInstanceLifecycle() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
- getTestInstanceLifecycle() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- getTestInstanceProvider() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getTestMethod() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
Method
associated with the current test, if available. - getTestMethod() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the
Method
associated with the current test or container, if available. - getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
- getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- 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.CommandLineOptions
- getThrowable() - Method in class org.junit.jupiter.engine.execution.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.
- getThrowableCollector() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getTimeFinished() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the timestamp (in milliseconds) when the test plan finished.
- getTimestamp() - Method in class org.junit.platform.engine.reporting.ReportEntry
-
Get the timestamp for when this
ReportEntry
was created. - getTimeStarted() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the timestamp (in milliseconds) when the test plan started.
- getTotalFailureCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the total number of failed containers and failed tests.
- getTotalRepetitions() - Method in interface org.junit.jupiter.api.RepetitionInfo
-
Get the total number of repetitions of the corresponding
@RepeatedTest
method. - getType() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- getType() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- getType() - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- getType() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- getType() - Method in class org.junit.platform.engine.support.descriptor.EngineDescriptor
-
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.vintage.engine.descriptor.VintageTestDescriptor
- getUniqueId() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the unique ID of the current test or container.
- getUniqueId() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
-
Get the selected
UniqueId
. - getUniqueId() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getUniqueId() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the unique identifier (UID) for this descriptor.
- getUniqueId() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the unique ID of the represented test or container.
- getUri() - Method in class org.junit.platform.engine.discovery.UriSelector
-
Get the selected
URI
. - getUri() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
- 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.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.