A B C D E F G H I J L M N O P R S T U V W
R
- readFieldValue(Class<T>, String, T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Read the value of a potentially inaccessible or nonexistent field.
- readFieldValue(Field) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Read the value of a potentially inaccessible static field.
- readFieldValue(Field, T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Read the value of a potentially inaccessible field.
- readStackTrace(Throwable) - Static method in class org.junit.platform.commons.util.ExceptionUtils
-
Read the stacktrace of the supplied
Throwable
into a String. - reason() - Method in annotation type org.junit.jupiter.api.condition.DisabledIf
-
The reason this annotated test class or test method is enabled or disabled.
- reason() - Method in annotation type org.junit.jupiter.api.condition.EnabledIf
-
The reason this annotated test class or test method is enabled or disabled.
- ReflectionSupport - Class in org.junit.platform.commons.support
-
Common reflection and classpath scanning support.
- ReflectionUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with the Java reflection APIs.
- ReflectionUtils.HierarchyTraversalMode - Enum in org.junit.platform.commons.util
-
Modes in which a hierarchy can be traversed — for example, when searching for methods or fields within a class hierarchy.
- registerExtension(Extension, Object) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
-
Register the supplied
Extension
in this registry, without checking if an extension of that type already exists in this registry. - RegisterExtension - Annotation Type in org.junit.jupiter.api.extension
-
@RegisterExtension
is used to register anExtension
via a field in a test class. - registerTestExecutionListeners(TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
-
Register one or more listeners for test execution.
- remove(Object) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Remove the value that was previously stored under the supplied
key
. - remove(Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- remove(Object, Class<T>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- remove(Object, Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Remove the value of the specified required type that was previously stored under the supplied
key
. - removeChild(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- removeChild(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
-
Remove a child from this descriptor.
- removeFromHierarchy() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- removeFromHierarchy() - Method in interface org.junit.platform.engine.TestDescriptor
-
Remove this non-root descriptor from its parent and remove all the children from this descriptor.
- removeFromHierarchy() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- removeListener(LogRecordListener) - Static method in class org.junit.platform.commons.logging.LoggerFactory
-
Remove the supplied
LogRecordListener
from the set of registered listeners. - RepeatedTest - Annotation Type in org.junit.jupiter.api
-
@RepeatedTest
is used to signal that the annotated method is a test template method that should be repeated a specified number of times with a configurable display name. - RepetitionInfo - Interface in org.junit.jupiter.api
-
RepetitionInfo
is used to inject information about the current repetition of a repeated test into@RepeatedTest
,@BeforeEach
, and@AfterEach
methods. - ReportEntry - Class in org.junit.platform.engine.reporting
-
ReportEntry
encapsulates a time-stamped map ofString
-based key-value pairs to be published to the reporting infrastructure. - ReportEntry() - Constructor for class org.junit.platform.engine.reporting.ReportEntry
- reportingEntryPublished(TestDescriptor, ReportEntry) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Can be called for any
testDescriptor
in order to publish additional information, e.g.: Output that would otherwise go toSystem.out
Information about test context or test data - reportingEntryPublished(TestIdentifier, ReportEntry) - Method in interface org.junit.platform.launcher.TestExecutionListener
-
Called when additional test reporting data has been published for the supplied
TestIdentifier
. - request() - Static method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Create a new
LauncherDiscoveryRequestBuilder
. - RESERVED_CHARACTERS - Static variable in class org.junit.platform.engine.TestTag
-
Reserved characters that are not permissible as part of a tag name.
- resolveParameter(ParameterContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ParameterResolver
-
Resolve an argument for the
Parameter
in the suppliedParameterContext
for the suppliedExtensionContext
. - resolveSelectors(EngineDiscoveryRequest, TestDescriptor) - Method in class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
- resources() - Method in annotation type org.junit.jupiter.params.provider.CsvFileSource
-
The CSV classpath resources to use as the sources of arguments; must not be empty.
- rethrowIfBlacklisted(Throwable) - Static method in class org.junit.platform.commons.util.BlacklistedExceptions
-
Rethrow the supplied
exception
if it is blacklisted. - returnsVoid(Method) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- root() - Method in enum org.junit.platform.console.options.Theme
- root(String, String) - Static method in class org.junit.platform.engine.UniqueId
-
Create a root unique ID from the supplied
segmentType
andvalue
using the default format. - run(RunNotifier) - Method in class org.junit.platform.runner.JUnitPlatform
- RunnerDecorator - Interface in org.junit.vintage.engine.discovery
- RunnerExecutor - Class in org.junit.vintage.engine.execution
- RunnerExecutor(EngineExecutionListener) - Constructor for class org.junit.vintage.engine.execution.RunnerExecutor
- RunnerTestDescriptor - Class in org.junit.vintage.engine.descriptor
- RunnerTestDescriptor(UniqueId, Class<?>, Runner) - Constructor for class org.junit.vintage.engine.descriptor.RunnerTestDescriptor