- 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 supplied Class
.
- 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
-
Create a MethodSelector
for the supplied Class
and Method
.
- selectMethod(Class<?>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a MethodSelector
for the supplied Class
and method name.
- selectMethod(Class<?>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a MethodSelector
for the supplied Class
, 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 supplied
UniqueId
.
- 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 supplied URI
.
- 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
-
- setExcludedTags(List<String>) - 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
-
- setIncludedTags(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}"
- 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 for
ArgumentConverter
implementations.
- SimpleArgumentConverter() - Constructor for class org.junit.jupiter.params.converter.SimpleArgumentConverter
-
- SingleTestExecutor - Class in org.junit.platform.engine.support.hierarchical
-
- SingleTestExecutor() - Constructor for class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
-
- SingleTestExecutor.Executable - Interface in org.junit.platform.engine.support.hierarchical
-
- size() - Method in interface org.junit.platform.engine.ConfigurationParameters
-
Get the number of configuration parameters stored directly in this
ConfigurationParameters
.
- 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
-
- 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:
"^.*Tests?$"
which matches against class names ending in Test
or
Tests
(in any package).
- status(TestExecutionResult) - Method in enum org.junit.platform.console.options.Theme
-
- stream() - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Get a stream of
log records
that have been
submitted to this listener.
- 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.
- 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.
- 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.
- StringUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with Strings
,
CharSequences
, etc.
- 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.
- SummaryGeneratingListener - Class in org.junit.platform.launcher.listeners
-
- SummaryGeneratingListener() - Constructor for class org.junit.platform.launcher.listeners.SummaryGeneratingListener
-
- supportsParameter(ParameterContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ParameterResolver
-
- 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
.