- generateDefaultDisplayName(Method) - Static method in class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
-
- GenericBeforeAndAfterAdvice - Interface in org.junit.jupiter.migrationsupport.rules.adapter
-
- 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
-
- getAnnotationType() - Method in class org.junit.jupiter.migrationsupport.rules.AbstractTestRuleSupport
-
- 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.
- 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.
- 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 (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
-
- 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.
- 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
-
- getDefaultClassLoader() - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- getDescendants() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the 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
-
- getDirectory() - Method in class org.junit.platform.engine.discovery.DirectorySelector
-
Get the selected directory as a
File
.
- 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.
- getException() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary.Failure
-
- getExcludedEngines() - Method in class org.junit.platform.console.options.CommandLineOptions
-
- getExcludedPackages() - 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
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 a 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
-
- getFile() - Method in class org.junit.platform.engine.support.descriptor.FileSource
-
- 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
-
- 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
-
- 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
-
- getJavaClass() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the
Class
in which the selected
method is declared, or a subclass thereof.
- getJavaClass() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
-
- getJavaMethod() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
- 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
-
- 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 atomic 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.
- 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.PackageSource
-
Get the package name of this test source.
- getParameter() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
- 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.
- 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
-
- getPosition() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
-
- 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.
- 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 why execution of the context should be skipped,
if available.
- getReportsDir() - Method in class org.junit.platform.console.options.CommandLineOptions
-
- 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.
- 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.
- getRuleType() - Method in class org.junit.jupiter.migrationsupport.rules.AbstractTestRuleSupport
-
- 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
.
- 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
-
- 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
-
- 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) - Static 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() - 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
-
- 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
-
- getTestRuleInstance() - Method in class org.junit.jupiter.migrationsupport.rules.member.AbstractRuleAnnotatedMember
-
- getTestRuleInstance() - Method in interface org.junit.jupiter.migrationsupport.rules.member.RuleAnnotatedMember
-
- 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.
- getTotalFailureCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
- 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.discovery.UriSelector
-
- 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.
- getWrapperType(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the wrapper type for the supplied primitive type.