A B C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
R
- Random() - Constructor for class org.junit.jupiter.api.MethodOrderer.Random
- 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 - org.junit.jupiter.api.parallel.ResourceAccessMode
-
Require only read access to the resource.
- READ - org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
-
Require only read access to the resource.
- READ_WRITE - org.junit.jupiter.api.parallel.ResourceAccessMode
-
Require read and write access to the resource.
- READ_WRITE - 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
-
Deprecated.Please use
ReflectionUtils.tryToReadFieldValue(Class, String, Object)instead. - readFieldValue(Field) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Deprecated.Please use
ReflectionUtils.tryToReadFieldValue(Field)instead. - readFieldValue(Field, Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Deprecated.Please use
ReflectionUtils.tryToReadFieldValue(Field, Object)instead. - 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
Throwableinto a String. - reason() - Method in annotation type org.junit.jupiter.api.condition.DisabledIf
-
Deprecated.The reason this annotated test class or test method is enabled or disabled.
- reason() - Method in annotation type org.junit.jupiter.api.condition.EnabledIf
-
Deprecated.The reason this annotated test class or test method is enabled or disabled.
- reason(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
- reason(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
- ReflectionSupport - Class in org.junit.platform.commons.support
-
ReflectionSupportprovides 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 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
-
ReflectiveInvocationContextencapsulates the context of a reflective invocation of an executable (method or constructor). - registerExtension(Extension, Object) - Method in interface org.junit.jupiter.engine.extension.ExtensionRegistrar
-
Register the supplied
Extension, without checking if an extension of that type already exists. - registerExtension(Extension, Object) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- RegisterExtension - Annotation Type in org.junit.jupiter.api.extension
-
@RegisterExtensionis used to register anExtensionvia a field in a test class. - 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.
- 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
- removeListener(LogRecordListener) - Static method in class org.junit.platform.commons.logging.LoggerFactory
-
Remove the supplied
LogRecordListenerfrom the set of registered listeners. - RepeatedTest - Annotation Type in org.junit.jupiter.api
-
@RepeatedTestis 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
-
RepetitionInfois used to inject information about the current repetition of a repeated test into@RepeatedTest,@BeforeEach, and@AfterEachmethods. - 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 - Class in org.junit.platform.engine.reporting
-
ReportEntryencapsulates 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
- REPORTING_ENTRY_PUBLISHED - org.junit.platform.testkit.engine.EventType
-
Signals that a
TestDescriptorpublished a reporting entry. - reportingEntryPublished() - Method in class org.junit.platform.testkit.engine.Events
-
Get the reporting entry publication
Eventscontained in thisEventsobject. - 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
TestDescriptorin order to publish additional information to the reporting infrastructure — for example: Output that would otherwise go toSystem.outInformation about test context or test data - reportingEntryPublished(TestDescriptor, ReportEntry) - Static method in class org.junit.platform.testkit.engine.Event
- 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. - 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
ClasspathResourceSelectorusing the suppliedContext. - resolve(ClasspathRootSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
ClasspathRootSelectorusing the suppliedContext. - resolve(ClassSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
ClassSelectorusing the suppliedContext. - resolve(DirectorySelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
DirectorySelectorusing the suppliedContext. - resolve(FileSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
FileSelectorusing the suppliedContext. - resolve(MethodSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
MethodSelectorusing the suppliedContext. - resolve(ModuleSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
ModuleSelectorusing the suppliedContext. - resolve(PackageSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
PackageSelectorusing the suppliedContext. - resolve(UniqueIdSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
UniqueIdSelectorusing the suppliedContext. - resolve(UriSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
UriSelectorusing the suppliedContext. - 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
DiscoverySelectorusing the suppliedContext. - resolve(EngineDiscoveryRequest, T) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
-
Resolve the supplied
EngineDiscoveryRequestand collect the results into the suppliedTestDescriptor. - resolveParameter(ParameterContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ParameterResolver
-
Resolve an argument for the
Parameterin the suppliedParameterContextfor the suppliedExtensionContext. - resolveSelectors(EngineDiscoveryRequest, JupiterEngineDescriptor) - Method in class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
- ResourceAccessMode - Enum 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 Type in org.junit.jupiter.api.parallel
-
@ResourceLockis used to declare that the annotated test class or test method requires access to a shared resource identified by a key. - ResourceLocks - Annotation Type in org.junit.jupiter.api.parallel
-
@ResourceLocksis a container for one or more@ResourceLockdeclarations. - 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.
- 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
Conditionthat matches if and only if anEvent's payload is an instance ofTestExecutionResultthat matches the suppliedCondition. - rethrowIfBlacklisted(Throwable) - Static method in class org.junit.platform.commons.util.BlacklistedExceptions
-
Rethrow the supplied
exceptionif 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
segmentTypeandvalueusing the default format. - run(RunNotifier) - Method in class org.junit.platform.runner.JUnitPlatform
- 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
All Classes All Packages