- generateDefaultDisplayName(Method) - Static method in class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
-
- get(Object) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value that is stored under the supplied key
.
- get(Object, Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value of the specified required type that is stored under
the supplied key
.
- get(Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
-
- get(Object, Class<T>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
-
- get(String) - Method in interface org.junit.platform.engine.ConfigurationParameters
-
Get the configuration property stored under the specified key
.
- getAdditionalClasspathEntries() - Method in class org.junit.platform.console.options.CommandLineOptions
-
- 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
-
- getAllDescendants() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the set of all descendants of this descriptor.
- getArguments() - Method in class org.junit.platform.console.options.CommandLineOptions
-
- getChildren() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
- getChildren() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the set of children of this descriptor.
- getChildren(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
-
- getChildren(String) - Method in class org.junit.platform.launcher.TestPlan
-
Get the children of the supplied unique ID.
- getClasspathRoot() - Method in class org.junit.platform.engine.discovery.ClasspathSelector
-
Get the selected classpath root directory.
- getColumn() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Get the column (1-based) of this position.
- getConfigurationParameters() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
-
- getConfigurationParameters() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
- getConfigurationParameters() - Method in class org.junit.platform.engine.ExecutionRequest
-
- 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
-
Get the Executable
(i.e., the Method
or
Constructor
) that declares the Parameter
for this context.
- getDefaultClassLoader() - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- 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
-
- getDiscoveryFiltersByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
- getDisplayName() - Method in class org.junit.jupiter.api.DynamicTest
-
Get the display name of this DynamicTest
.
- getDisplayName() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the display name for the current test or container.
- getDisplayName() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the display name of the current test or container.
- getDisplayName() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedContainerExtensionContext
-
- getDisplayName() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestExtensionContext
-
- getDisplayName() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
- getDisplayName() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the display name for this descriptor.
- getDisplayName() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the display name of the represented test or container.
- getElement() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the AnnotatedElement
corresponding to the current extension
context, if available.
- getElement() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedContainerExtensionContext
-
- getElement() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestExtensionContext
-
- getEngineExecutionListener() - Method in class org.junit.platform.engine.ExecutionRequest
-
- 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.
- getExcludedEngines() - Method in class org.junit.platform.console.options.CommandLineOptions
-
- getExcludedTags() - Method in class org.junit.platform.console.options.CommandLineOptions
-
- getExecutable() - Method in class org.junit.jupiter.api.DynamicTest
-
Get the executable
code block associated with this DynamicTest
.
- getExecutionListener() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
-
- getExtensionContext() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
-
- getExtensionRegistry() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
-
- getExtensions(Class<E>) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
-
Get all Extensions
in this registry or one of its ancestors of
the specified type.
- 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.
- 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
-
- getIncludeClassNamePattern() - Method in class org.junit.platform.console.options.CommandLineOptions
-
- getIncludedEngines() - Method in class org.junit.platform.console.options.CommandLineOptions
-
- getIncludedTags() - 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 the
Executable
that
declares the parameter.
- getJavaClass() - Method in class org.junit.platform.engine.discovery.ClassSelector
-
Get the selected Java Class
.
- getJavaClass() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the Java
Class
in which the selected
method is declared, or a subclass thereof.
- getJavaClass() - Method in class org.junit.platform.engine.support.descriptor.JavaClassSource
-
Get the Java class of this source.
- getJavaClass() - Method in class org.junit.platform.engine.support.descriptor.JavaMethodSource
-
Get the declaring class of this source.
- getJavaMethod() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the selected Java Method
.
- getJavaMethodName() - Method in class org.junit.platform.engine.support.descriptor.JavaMethodSource
-
Get the method name of this source.
- getJavaMethodParameterTypes() - Method in class org.junit.platform.engine.support.descriptor.JavaMethodSource
-
Get the method parameter types of this source.
- getKeyValuePairs() - Method in class org.junit.platform.engine.reporting.ReportEntry
-
Get an unmodifiable copy of the map of key-value pairs to be published.
- getLine() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Get the line (1-based) of this position.
- getMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- getName() - Method in class org.junit.platform.engine.TestTag
-
Get the name of this tag.
- getOnlyElement(Collection<T>) - Static method in class org.junit.platform.commons.util.CollectionUtils
-
Read the only element of a collection of size 1.
- getOrComputeIfAbsent(K, Function<K, V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value that is stored under the supplied key
.
- getOrComputeIfAbsent(K, Function<K, V>, Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value of the specified required type that is stored under the
supplied key
.
- getOrComputeIfAbsent(K, Function<K, V>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
-
- getOrComputeIfAbsent(K, Function<K, V>, Class<V>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
-
- getOuterInstance(Object, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- 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.JavaPackageSource
-
Get the package name of this test source.
- 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
-
- getParentId() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the unique ID of this identifier's parent, if available.
- getPosition() - Method in class org.junit.platform.engine.support.descriptor.FileSource
-
- getPostDiscoveryFilters() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
-
Get the PostDiscoveryFilters
for this request.
- getReason() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Get the reason why the container or test should be enabled or disabled,
if available.
- getReason() - Method in class org.junit.platform.engine.FilterResult
-
Get the reason why the filtered object should be included or excluded,
if available.
- getReason() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Get the reason why execution of the context should be skipped,
if available.
- getReversedExtensions(Class<E>) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
-
Get all Extensions
in this registry or one of its ancestors of
the specified type, in reverse order.
- getRoots() - Method in class org.junit.platform.launcher.TestPlan
-
- getRootTestDescriptor() - Method in class org.junit.platform.engine.ExecutionRequest
-
Get the root
TestDescriptor
of the engine that processes this
request.
- getRunner() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
-
- getSegments() - Method in class org.junit.platform.engine.UniqueId
-
Get a copy of the list of
segments that make up this
UniqueId
.
- getSelectorsByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
- 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() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
- getStore(ExtensionContext.Namespace) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
- 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(AnnotatedElement) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
-
- getTags() - Method in class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
-
- 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 the
Parameter
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.ClassBasedContainerExtensionContext
-
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
-
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestExtensionContext
-
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
-
- getTestClass() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
-
- getTestException() - Method in interface org.junit.jupiter.api.extension.TestExtensionContext
-
Get the exception that was thrown during execution of the test associated
with this TestExtensionContext
, if available.
- getTestException() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestExtensionContext
-
- getTestIdentifier(String) - Method in class org.junit.platform.launcher.TestPlan
-
- getTestInstance() - Method in interface org.junit.jupiter.api.extension.TestExtensionContext
-
Get the test instance associated with this TestExtensionContext
.
- getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestExtensionContext
-
- getTestInstance() - Method in interface org.junit.jupiter.engine.execution.TestInstanceProvider
-
- getTestInstanceProvider() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
-
- getTestMethod() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the Method
associated with the current test, if available.
- getTestMethod() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the Method
associated with the current test, if available.
- getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedContainerExtensionContext
-
- getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestExtensionContext
-
- getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
-
- 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.
- 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.
- getThrowable() - Method in class org.junit.jupiter.engine.execution.ThrowableCollector
-
Get the first Throwable
collected by this
ThrowableCollector
.
- getThrowable() - Method in class org.junit.platform.engine.TestExecutionResult
-
Get the throwable that caused this result, if available.
- getThrowableCollector() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
-
- getTimeFinished() - Method in 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.
- getType() - Method in class org.junit.platform.engine.UniqueId.Segment
-
Get the type of this segment.
- getUniqueId() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the unique ID of the current test or container.
- getUniqueId() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedContainerExtensionContext
-
- getUniqueId() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestExtensionContext
-
- getUniqueId() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
-
- getUniqueId() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
- getUniqueId() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the unique identifier (UID) for this descriptor.
- getUniqueId() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the unique ID of the represented test or container.
- getUri() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
-
- getUri() - Method in class org.junit.platform.engine.support.descriptor.FileSource
-
Get the
URI
for the source
file.
- getUri() - Method in interface org.junit.platform.engine.support.descriptor.UriSource
-
Get the URI
that represents this source.
- getValue() - Method in class org.junit.platform.engine.UniqueId.Segment
-
Get the value of this segment.
- getWrapperType(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the wrapper type for the supplied primitive type.
- getXmlReportsDir() - Method in class org.junit.platform.console.options.CommandLineOptions
-