A B C D E F G H I J L M N O P R S T U V W
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. - 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
- setConfigurationParameters(Map<String, String>) - Method in class org.junit.platform.console.options.CommandLineOptions
- 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
-
SingleTestExecutor
encapsulates the execution of a single test wrapped in anSingleTestExecutor.Executable
. - SingleTestExecutor() - Constructor for class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
- SingleTestExecutor.Executable - Interface in org.junit.platform.engine.support.hierarchical
-
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
- SOLARIS - org.junit.jupiter.api.condition.OS
-
Oracle Solaris operating system.
- 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?)$"
- status(TestExecutionResult) - Method in enum org.junit.platform.console.options.Theme
- 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(Class<?>) - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Get a stream of
log records
that have been submitted to this listener for the logger name equal to the name of the given class by the current thread. - 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 for the logger name equal to the name of the given class at the given log level by the current thread. - 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.
- 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
- successful() - Method in enum org.junit.platform.console.options.Theme
- successful() - Static method in class org.junit.platform.engine.TestExecutionResult
-
Obtain 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
. - SYSTEM_ERR - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents standard error stream of the current process.
- SYSTEM_OUT - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents 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