Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes|All Packages|Constant Field Values|Deprecated API|Serialized Form

R

Random() - Constructor for class org.junit.jupiter.api.ClassOrderer.Random
 
Random() - Constructor for class org.junit.jupiter.api.MethodOrderer.Random
 
RANDOM_SEED_PROPERTY_NAME - Static variable in class org.junit.jupiter.api.ClassOrderer.Random
Property name used to set the random seed used by this ClassOrderer: "junit.jupiter.execution.order.random.seed"
RANDOM_SEED_PROPERTY_NAME - Static variable in class org.junit.jupiter.api.MethodOrderer.Random
Property name used to set the random seed used by this MethodOrderer: "junit.jupiter.execution.order.random.seed"
READ - Enum constant in enum class org.junit.jupiter.api.parallel.ResourceAccessMode
Require only read access to the resource.
READ - Enum constant in enum class org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
Require only read access to the resource.
READ_WRITE - Enum constant in enum class org.junit.jupiter.api.parallel.ResourceAccessMode
Require read and write access to the resource.
READ_WRITE - Enum constant in enum class org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
Require read and write access to the resource.
readFieldValue(Class<T>, String, T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
readFieldValue(Field) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Deprecated.
readFieldValue(Field, Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
readFieldValues(List<Field>, Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Read the values of the supplied fields, making each field accessible if necessary and masking any checked exception as an unchecked exception.
readFieldValues(List<Field>, Object, Predicate<Field>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Read the values of the supplied fields, making each field accessible if necessary, masking any checked exception as an unchecked exception, and filtering out fields that do not pass the supplied predicate.
readStackTrace(Throwable) - Static method in class org.junit.platform.commons.util.ExceptionUtils
Read the stacktrace of the supplied Throwable into a String.
reason(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's payload is an instance of String that is equal to the supplied value.
reason(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's payload is an instance of String that matches the supplied Predicate.
ReflectionSupport - Class in org.junit.platform.commons.support
ReflectionSupport provides static utility methods for common reflection tasks — for example, scanning for classes in the class-path or module-path, loading classes, finding methods, invoking methods, etc.
ReflectionUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with the Java reflection APIs.
ReflectionUtils.HierarchyTraversalMode - Enum Class 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.
ReflectiveInvocationContext<T extends Executable> - Interface in org.junit.jupiter.api.extension
ReflectiveInvocationContext encapsulates the context of a reflective invocation of an executable (method or constructor).
registerExtension(Class<? extends Extension>) - Method in interface org.junit.jupiter.engine.extension.ExtensionRegistrar
Instantiate an extension of the given type using its default constructor and register it in the registry.
registerExtension(Class<? extends Extension>) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
 
registerExtension(Extension, Object) - Method in interface org.junit.jupiter.engine.extension.ExtensionRegistrar
Register the supplied Extension, without checking if an extension of that type has already been registered.
registerExtension(Extension, Object) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
 
RegisterExtension - Annotation Interface in org.junit.jupiter.api.extension
@RegisterExtension is used to register an Extension via a field in a test class.
registerLauncherDiscoveryListeners(LauncherDiscoveryListener...) - Method in interface org.junit.platform.launcher.Launcher
Register one or more listeners for test discovery.
registerSyntheticExtension(Extension, Object) - Method in interface org.junit.jupiter.engine.extension.ExtensionRegistrar
Register the supplied Extension as a synthetic extension, without checking if an extension of that type has already been registered.
registerSyntheticExtension(Extension, Object) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
 
registerTestExecutionListeners(TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
Register one or more listeners for test execution.
release() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
Release this resource lock.
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.
removeEldestEntry(Map.Entry<K, V>) - Method in class org.junit.platform.commons.util.LruCache
 
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
 
removeLastSegment() - Method in class org.junit.platform.engine.UniqueId
Construct a new UniqueId and removing the last UniqueId.Segment of this UniqueId.
removeListener(LogRecordListener) - Static method in class org.junit.platform.commons.logging.LoggerFactory
Remove the supplied LogRecordListener from the set of registered listeners.
RepeatedTest - Annotation Interface 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.
replaceIsoControlCharacters(String, String) - Static method in class org.junit.platform.commons.util.StringUtils
Replace all ISO control characters in the supplied String.
ReplaceUnderscores() - Constructor for class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
 
replaceWhitespaceCharacters(String, String) - Static method in class org.junit.platform.commons.util.StringUtils
Replace all whitespace characters in the supplied String.
reportEntry(Map<String, String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's payload is an instance of ReportEntry that contains the supplied key-value pairs.
ReportEntry - Class in org.junit.platform.engine.reporting
ReportEntry encapsulates a time-stamped map of String-based key-value pairs to be published to the reporting infrastructure.
ReportEntry() - Constructor for class org.junit.platform.engine.reporting.ReportEntry
REPORTING_ENTRY_PUBLISHED - Enum constant in enum class org.junit.platform.testkit.engine.EventType
Signals that a TestDescriptor published a reporting entry.
reportingEntryPublished() - Method in class org.junit.platform.testkit.engine.Events
Get the reporting entry publication Events contained in this Events object.
reportingEntryPublished(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
Specify the number of expected reporting entry publication events.
reportingEntryPublished(TestDescriptor, ReportEntry) - Method in interface org.junit.platform.engine.EngineExecutionListener
Can be called for any TestDescriptor in order to publish additional information to the reporting infrastructure — for example: Output that would otherwise go to System.out Information about test context or test data
reportingEntryPublished(TestDescriptor, ReportEntry) - Static method in class org.junit.platform.testkit.engine.Event
Create an Event for a reporting entry published for the supplied TestDescriptor and ReportEntry.
reportingEntryPublished(TestDescriptor, ReportEntry) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
Record an Event for a published ReportEntry.
reportingEntryPublished(TestIdentifier, ReportEntry) - Method in class org.junit.platform.jfr.FlightRecordingExecutionListener
 
reportingEntryPublished(TestIdentifier, ReportEntry) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when additional test reporting data has been published for the supplied TestIdentifier.
reportingEntryPublished(TestIdentifier, ReportEntry) - Method in class org.junit.platform.reporting.legacy.xml.LegacyXmlReportGeneratingListener
 
request() - Static method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Create a new LauncherDiscoveryRequestBuilder.
request() - Static method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
 
RESERVED_CHARACTERS - Static variable in class org.junit.platform.engine.TestTag
Reserved characters that are not permissible as part of a tag name.
resolve(ClasspathResourceSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied ClasspathResourceSelector using the supplied Context.
resolve(ClasspathRootSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied ClasspathRootSelector using the supplied Context.
resolve(ClassSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied ClassSelector using the supplied Context.
resolve(DirectorySelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied DirectorySelector using the supplied Context.
resolve(FileSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied FileSelector using the supplied Context.
resolve(MethodSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied MethodSelector using the supplied Context.
resolve(ModuleSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied ModuleSelector using the supplied Context.
resolve(NestedClassSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied NestedClassSelector using the supplied Context.
resolve(NestedMethodSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied NestedMethodSelector using the supplied Context.
resolve(PackageSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied PackageSelector using the supplied Context.
resolve(UniqueIdSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied UniqueIdSelector using the supplied Context.
resolve(UriSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied UriSelector using the supplied Context.
resolve(DiscoverySelector) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver.Context
Resolve the supplied TestDescriptor, if possible.
resolve(DiscoverySelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied DiscoverySelector using the supplied Context.
resolve(EngineDiscoveryRequest, T) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
Resolve the supplied EngineDiscoveryRequest and collect the results into the supplied TestDescriptor.
resolved() - Static method in class org.junit.platform.engine.SelectorResolutionResult
Create a SelectorResolutionResult for a resolved selector.
RESOLVED - Enum constant in enum class org.junit.platform.engine.SelectorResolutionResult.Status
Indicates that the TestEngine has successfully resolved the selector.
resolveParameter(ParameterContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ParameterResolver
Resolve an argument for the Parameter in the supplied ParameterContext for the supplied ExtensionContext.
resolveParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.api.extension.support.TypeBasedParameterResolver
 
resolveSelectors(EngineDiscoveryRequest, JupiterEngineDescriptor) - Method in class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
 
ResourceAccessMode - Enum Class in org.junit.jupiter.api.parallel
The access mode required by a test class or method for a given resource.
ResourceLock - Interface in org.junit.platform.engine.support.hierarchical
A lock for a one or more resources.
ResourceLock - Annotation Interface in org.junit.jupiter.api.parallel
@ResourceLock is used to declare that the annotated test class or test method requires access to a shared resource identified by a key.
ResourceLocks - Annotation Interface in org.junit.jupiter.api.parallel
@ResourceLocks is a container for one or more @ResourceLock declarations.
resources() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
The CSV classpath resources to use as the sources of arguments; must not be empty unless CsvFileSource.files() is non-empty.
Resources - Class in org.junit.jupiter.api.parallel
Common resource names for synchronizing test execution.
result(Condition<TestExecutionResult>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's payload is an instance of TestExecutionResult that matches the supplied Condition.
rethrowIfBlacklisted(Throwable) - Static method in class org.junit.platform.commons.util.BlacklistedExceptions
rethrowIfUnrecoverable(Throwable) - Static method in class org.junit.platform.commons.util.UnrecoverableExceptions
Rethrow the supplied exception if it is unrecoverable.
returnsVoid(Method) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
root() - Method in enum class 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 and value using the default format.
run(PrintWriter, PrintWriter, String...) - Method in class org.junit.platform.console.ConsoleLauncherToolProvider
 
run(RunNotifier) - Method in class org.junit.platform.runner.JUnitPlatform
Deprecated.
 
RunnerDecorator - Interface in org.junit.vintage.engine.descriptor
 
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
 
RuntimeUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with Runtime, RuntimeMXBean, etc.
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes|All Packages|Constant Field Values|Deprecated API|Serialized Form