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
S
- SAME_THREAD - org.junit.jupiter.api.parallel.ExecutionMode
-
Force execution in same thread as the parent node.
- SAME_THREAD - org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
-
Force execution in same thread as the parent node.
- SameThreadHierarchicalTestExecutorService - Class in org.junit.platform.engine.support.hierarchical
-
A simple executor service that executes all test tasks in the caller's thread.
- SameThreadHierarchicalTestExecutorService() - Constructor for class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
- Script - Class in org.junit.jupiter.engine.script
-
Script data class.
- Script(Annotation, String, String, String) - Constructor for class org.junit.jupiter.engine.script.Script
- Script(Class<? extends Annotation>, String, String, String, String) - Constructor for class org.junit.jupiter.engine.script.Script
- ScriptAccessor - Interface in org.junit.jupiter.engine.script
-
Used to access named properties without exposing direct access to the underlying source.
- ScriptAccessor.ConfigurationParameterAccessor - Class in org.junit.jupiter.engine.script
- ScriptAccessor.EnvironmentVariableAccessor - Class in org.junit.jupiter.engine.script
- ScriptAccessor.SystemPropertyAccessor - Class in org.junit.jupiter.engine.script
- ScriptEvaluationException - Exception in org.junit.jupiter.api.extension
-
Thrown if an error is encountered while evaluating a script-based
ExecutionCondition
. - ScriptEvaluationException(String) - Constructor for exception org.junit.jupiter.api.extension.ScriptEvaluationException
- ScriptEvaluationException(String, Throwable) - Constructor for exception org.junit.jupiter.api.extension.ScriptEvaluationException
- ScriptExecutionManager - Class in org.junit.jupiter.engine.script
-
Entry point for script execution support.
- ScriptExecutionManager() - Constructor for class org.junit.jupiter.engine.script.ScriptExecutionManager
- SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- SEGMENT_TYPE_DYNAMIC - Static variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- SEGMENT_TYPE_RUNNER - Static variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- SEGMENT_TYPE_TEST - Static variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- selectClass(Class<?>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClassSelector
for the suppliedClass
. - selectClass(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClassSelector
for the supplied class name. - SelectClasses - Annotation Type in org.junit.platform.suite.api
-
@SelectClasses
specifies the classes to select when running a test suite on the JUnit Platform. - selectClasspathResource(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClasspathResourceSelector
for the supplied classpath resource name. - selectClasspathRoots(Set<Path>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a list of
ClasspathRootSelectors
for the supplied classpath roots (directories or JAR files). - selectDirectory(File) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
DirectorySelector
for the supplied directory. - selectDirectory(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
DirectorySelector
for the supplied directory path. - selectFile(File) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelector
for the supplied file. - selectFile(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelector
for the supplied file path. - selectMethod(Class<?>, Method) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
- selectMethod(Class<?>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelector
for the suppliedClass
and method name. - selectMethod(Class<?>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelector
for the suppliedClass
, method name, and method parameter types. - selectMethod(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelector
for the supplied fully qualified method name. - selectMethod(String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelector
for the supplied class name and method name. - selectMethod(String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelector
for the supplied class name, method name, and method parameter types. - selectModule(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ModuleSelector
for the supplied module name. - selectModules(Set<String>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a list of
ModuleSelectors
for the supplied module names. - selectors(List<? extends DiscoverySelector>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add all of the supplied
selectors
to the request. - selectors(DiscoverySelector...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add all of the supplied
selectors
to the request. - selectors(DiscoverySelector...) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Add all of the supplied discovery selectors.
- selectPackage(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
PackageSelector
for the supplied package name. - SelectPackages - Annotation Type in org.junit.platform.suite.api
-
@SelectPackages
specifies the names of packages to select when running a test suite on the JUnit Platform. - selectUniqueId(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UniqueIdSelector
for the supplied unique ID. - selectUniqueId(UniqueId) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UniqueIdSelector
for the suppliedUniqueId
. - selectUri(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UriSelector
for the supplied URI. - selectUri(URI) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UriSelector
for the suppliedURI
. - setAdditionalClasspathEntries(List<Path>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setAnsiColorOutputDisabled(boolean) - Method in class org.junit.platform.console.options.CommandLineOptions
- setBannerDisabled(boolean) - Method in class org.junit.platform.console.options.CommandLineOptions
- setConfigurationParameters(Map<String, String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setDefaultChildExecutionMode(Node.ExecutionMode) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- setDetails(Details) - Method in class org.junit.platform.console.options.CommandLineOptions
- setDisplayHelp(boolean) - Method in class org.junit.platform.console.options.CommandLineOptions
- setExcludedClassNamePatterns(List<String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setExcludedEngines(List<String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setExcludedPackages(List<String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setExcludedTagExpressions(List<String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setFailIfNoTests(boolean) - Method in class org.junit.platform.console.options.CommandLineOptions
- setIncludedClassNamePatterns(List<String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setIncludedEngines(List<String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setIncludedPackages(List<String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setIncludedTagExpressions(List<String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setParent(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- setParent(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
-
Set the parent of this descriptor.
- setReportsDir(Path) - Method in class org.junit.platform.console.options.CommandLineOptions
- setScanClasspath(boolean) - Method in class org.junit.platform.console.options.CommandLineOptions
- setScanModulepath(boolean) - Method in class org.junit.platform.console.options.CommandLineOptions
- setSelectedClasses(List<String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setSelectedClasspathEntries(List<Path>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setSelectedClasspathResources(List<String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setSelectedDirectories(List<String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setSelectedFiles(List<String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setSelectedMethods(List<String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setSelectedModules(List<String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setSelectedPackages(List<String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setSelectedUris(List<URI>) - Method in class org.junit.platform.console.options.CommandLineOptions
- setTheme(Theme) - Method in class org.junit.platform.console.options.CommandLineOptions
- SHORT_DISPLAY_NAME - Static variable in annotation type org.junit.jupiter.api.RepeatedTest
-
Short display name pattern for a repeated test: "repetition {currentRepetition} of {totalRepetitions}"
- shorts() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
short
values to use as sources of arguments; must not be empty. - shouldBeSkipped(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Determine if the execution of the supplied
context
should be skipped. - shouldBeSkipped(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- SimpleArgumentConverter - Class in org.junit.jupiter.params.converter
-
SimpleArgumentConverter
is an abstract base class forArgumentConverter
implementations. - SimpleArgumentConverter() - Constructor for class org.junit.jupiter.params.converter.SimpleArgumentConverter
- SingleTestExecutor - Class in org.junit.platform.engine.support.hierarchical
-
Deprecated.
- SingleTestExecutor() - Constructor for class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
-
Deprecated.
- SingleTestExecutor.Executable - Interface in org.junit.platform.engine.support.hierarchical
-
Deprecated.Functional interface for a single test to be executed by
SingleTestExecutor
. - size() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the number of arguments in this accessor.
- size() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- size() - Method in interface org.junit.platform.engine.ConfigurationParameters
-
Get the number of configuration parameters stored directly in this
ConfigurationParameters
. - size() - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
- skip(String) - Static method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Factory for creating skipped results.
- skipped() - Method in enum org.junit.platform.console.options.Theme
- skipped() - Method in class org.junit.platform.testkit.engine.Events
-
Get the skipped
Events
contained in thisEvents
object. - skipped() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the skipped
Executions
contained in thisExecutions
object. - skipped() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Determine if this
TerminationInfo
represents a skipped execution. - skipped(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected skipped events.
- skipped(String) - Static method in class org.junit.platform.testkit.engine.TerminationInfo
-
Create a skipped
TerminationInfo
instance for the supplied reason. - skipped(TestDescriptor, Instant, Instant, String) - Static method in class org.junit.platform.testkit.engine.Execution
-
Create a new instance of an
Execution
that was skipped with the providedskipReason
. - SKIPPED - org.junit.platform.testkit.engine.EventType
-
Signals that the execution of a
TestDescriptor
has been skipped. - skippedWithReason(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
- skippedWithReason(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
- SOLARIS - org.junit.jupiter.api.condition.OS
-
Oracle Solaris operating system.
- Standard() - Constructor for class org.junit.jupiter.api.DisplayNameGenerator.Standard
- STANDARD_INCLUDE_PATTERN - Static variable in interface org.junit.platform.engine.discovery.ClassNameFilter
-
Standard include pattern in the form of a regular expression that is used to match against fully qualified class names: "^(Test.*|.+[.$]Test.*|.*Tests?)$"
- started() - Static method in class org.junit.platform.testkit.engine.EventConditions
- started() - Method in class org.junit.platform.testkit.engine.Events
-
Get the started
Events
contained in thisEvents
object. - started() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the started
Executions
contained in thisExecutions
object. - started(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected started events.
- STARTED - org.junit.platform.testkit.engine.EventType
-
Signals that the execution of a
TestDescriptor
has started. - status(TestExecutionResult) - Method in enum org.junit.platform.console.options.Theme
- status(TestExecutionResult.Status) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
-
Create a new
Condition
that matches if and only if aTestExecutionResult
's status is equal to the suppliedStatus
. - STDERR_REPORT_ENTRY_KEY - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Key used to publish captured output to
System.err
as part of aReportEntry
: "stderr" - STDOUT_REPORT_ENTRY_KEY - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Key used to publish captured output to
System.out
as part of aReportEntry
: "stdout" - stream() - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Get a stream of
log records
that have been submitted to this listener by the current thread. - stream() - Method in class org.junit.platform.testkit.engine.Events
- stream() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the executions as a
Stream
. - stream(Class<?>) - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Get a stream of
log records
that have been submitted to this listener by the current thread for the logger name equal to the name of the given class. - stream(Class<?>, Level) - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Get a stream of
log records
that have been submitted to this listener by the current thread for the logger name equal to the name of the given class at the given log level. - stream(Class<E>) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
-
Stream all
Extensions
of the specified type that are present in this registry or one of its ancestors. - stream(Iterator<T>, Function<? super T, String>, ThrowingConsumer<? super T>) - Static method in class org.junit.jupiter.api.DynamicTest
-
Generate a stream of dynamic tests based on the supplied generators and test executor.
- stream(Level) - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Get a stream of
log records
that have been submitted to this listener by the current thread at the given log level. - strings() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
String
values to use as sources of arguments; must not be empty. - StringUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
Strings
,CharSequences
, etc. - submit(HierarchicalTestExecutorService.TestTask) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- submit(HierarchicalTestExecutorService.TestTask) - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
-
Submit the supplied test task to be executed by this service.
- submit(HierarchicalTestExecutorService.TestTask) - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
- succeeded() - Method in class org.junit.platform.testkit.engine.Events
-
Get the succeeded
Events
contained in thisEvents
object. - succeeded() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the succeeded
Executions
contained in thisExecutions
object. - succeeded(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected succeeded events.
- success(V) - Static method in class org.junit.platform.commons.function.Try
-
Convert the supplied value into a succeeded
Try
. - successful() - Method in enum org.junit.platform.console.options.Theme
- successful() - Static method in class org.junit.platform.engine.TestExecutionResult
-
Create a
TestExecutionResult
for a successful execution of a test or container. - SUCCESSFUL - org.junit.platform.engine.TestExecutionResult.Status
-
Indicates that the execution of a test or container was successful.
- SuiteDisplayName - Annotation Type in org.junit.platform.suite.api
-
@SuiteDisplayName
is used to declare a custom display name for the annotated test class that is executed as a test suite on the JUnit Platform. - SUMMARY - org.junit.platform.console.options.Details
-
Print summary table of counts only.
- SummaryGeneratingListener - Class in org.junit.platform.launcher.listeners
-
Simple
TestExecutionListener
that generates a summary of the test execution. - SummaryGeneratingListener() - Constructor for class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- supportsParameter(ParameterContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ParameterResolver
-
Determine if this resolver supports resolution of an argument for the
Parameter
in the suppliedParameterContext
for the suppliedExtensionContext
. - supportsTestTemplate(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
-
Determine if this provider supports providing invocation contexts for the test template method represented by the supplied
context
. - suppressed(int, Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
-
Create a new
Condition
that matches if and only if aThrowable
's suppressed throwable at the supplied index matches all supplied conditions. - SYSTEM_ERR - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents the standard error stream of the current process.
- SYSTEM_OUT - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents the standard output stream of the current process.
- SYSTEM_PROPERTIES - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents Java's system properties.
- SystemPropertyAccessor() - Constructor for class org.junit.jupiter.engine.script.ScriptAccessor.SystemPropertyAccessor
All Classes All Packages