Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- SAME_THREAD - Enum constant in enum class org.junit.jupiter.api.parallel.ExecutionMode
-
Force execution in same thread as the parent node.
- SAME_THREAD - Enum constant in enum class org.junit.jupiter.api.Timeout.ThreadMode
-
The test code is executed in the thread of the calling code.
- SAME_THREAD - Enum constant in enum class 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
- scanForClassesInClasspathRoot(URI, ClassFilter) - Method in interface org.junit.platform.commons.support.scanning.ClasspathScanner
- scanForClassesInClasspathRoot(URI, ClassFilter) - Method in class org.junit.platform.commons.support.scanning.DefaultClasspathScanner
- scanForClassesInPackage(String, ClassFilter) - Method in interface org.junit.platform.commons.support.scanning.ClasspathScanner
- scanForClassesInPackage(String, ClassFilter) - Method in class org.junit.platform.commons.support.scanning.DefaultClasspathScanner
- scanForResourcesInClasspathRoot(URI, Predicate<Resource>) - Method in interface org.junit.platform.commons.support.scanning.ClasspathScanner
-
Find all resources in the supplied classpath
rootthat match the specifiedresourceFilterpredicate. - scanForResourcesInClasspathRoot(URI, Predicate<Resource>) - Method in class org.junit.platform.commons.support.scanning.DefaultClasspathScanner
- scanForResourcesInPackage(String, Predicate<Resource>) - Method in interface org.junit.platform.commons.support.scanning.ClasspathScanner
-
Find all resources in the supplied classpath
rootthat match the specifiedresourceFilterpredicate. - scanForResourcesInPackage(String, Predicate<Resource>) - Method in class org.junit.platform.commons.support.scanning.DefaultClasspathScanner
- Scope - Search tag in annotation interface org.junit.jupiter.api.io.TempDir
- Section
- Scope and Lifecycle - Search tag in annotation interface org.junit.jupiter.api.AutoClose
- Section
- Search Algorithm - Search tag in org.junit.platform.commons.support.conversion.ConversionSupport.convert(String, Class<T>, ClassLoader)
- Section
- SearchOption - Enum Class in org.junit.platform.commons.support
-
Deprecated.because there is only a single non-deprecated search option left
- SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
- SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
- SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- 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
- Select - Annotation Interface in org.junit.platform.suite.api
-
@Selectis a repeatable annotation that specifies which tests to select based on prefixed selector identifiers. - selectClass(ClassLoader, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClassSelectorfor the supplied class name and class loader. - selectClass(Class<?>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClassSelectorfor the suppliedClass. - selectClass(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClassSelectorfor the supplied class name. - SelectClasses - Annotation Interface in org.junit.platform.suite.api
-
@SelectClassesspecifies 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
ClasspathResourceSelectorfor the supplied classpath resource name. - selectClasspathResource(String, FilePosition) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClasspathResourceSelectorfor the supplied classpath resource name. - selectClasspathResource(Set<Resource>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClasspathResourceSelectorfor the supplied classpath resources. - SelectClasspathResource - Annotation Interface in org.junit.platform.suite.api
-
@SelectClasspathResourceis a repeatable annotation that specifies a classpath resource to select when running a test suite on the JUnit Platform. - SelectClasspathResources - Annotation Interface in org.junit.platform.suite.api
-
@SelectClasspathResourcesis a container for one or more@SelectClasspathResourcedeclarations. - selectClasspathRoots(Set<Path>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a list of
ClasspathRootSelectorsfor the supplied classpath roots (directories or JAR files). - SelectDirectories - Annotation Interface in org.junit.platform.suite.api
-
@SelectDirectoriesspecifies the directories to select when running a test suite on the JUnit Platform. - selectDirectory(File) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
DirectorySelectorfor the supplied directory. - selectDirectory(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
DirectorySelectorfor the supplied directory path. - selectFile(File) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelectorfor the supplied file. - selectFile(File, FilePosition) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelectorfor the supplied file. - selectFile(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelectorfor the supplied file path. - selectFile(String, FilePosition) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelectorfor the supplied file path. - SelectFile - Annotation Interface in org.junit.platform.suite.api
-
@SelectFileis a repeatable annotation that specifies a file to select when running a test suite on the JUnit Platform. - SelectFiles - Annotation Interface in org.junit.platform.suite.api
-
@SelectFilesis a container for one or more@SelectFiledeclarations. - selectIteration(DiscoverySelector, int...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create an
IterationSelectorfor the supplied parent selector and iteration indices. - selectMethod(ClassLoader, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the supplied fully qualified method name and class loader. - selectMethod(ClassLoader, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the supplied class name, method name, and class loader. - selectMethod(ClassLoader, String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the supplied class name, method name, parameter type names, and class loader. - 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
MethodSelectorfor the suppliedClassand method name. - selectMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the suppliedClass, method name, and parameter types. - selectMethod(Class<?>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the suppliedClass, method name, and parameter type names. - selectMethod(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the supplied fully qualified method name. - selectMethod(String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the supplied class name and method name using the default class loader. - selectMethod(String, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the supplied class name, method name, and parameter types. - selectMethod(String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the supplied class name, method name, and parameter type names. - SelectMethod - Annotation Interface in org.junit.platform.suite.api
-
@SelectMethodis a repeatable annotation that specifies a method to select when running a test suite on the JUnit Platform. - SelectMethods - Annotation Interface in org.junit.platform.suite.api
-
@SelectMethodsis a container for one or more@SelectMethoddeclarations. - selectModule(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ModuleSelectorfor the supplied module name. - selectModules(Set<String>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a list of
ModuleSelectorsfor the supplied module names. - SelectModules - Annotation Interface in org.junit.platform.suite.api
-
@SelectModulesspecifies the modules to select when running a test suite on the JUnit Platform. - selectNestedClass(ClassLoader, List<String>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedClassSelectorfor the supplied class name, its enclosing classes' names, and class loader. - selectNestedClass(List<Class<?>>, Class<?>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedClassSelectorfor the supplied nestedClassand its enclosing classes. - selectNestedClass(List<String>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedClassSelectorfor the supplied class name and its enclosing classes' names. - selectNestedMethod(ClassLoader, List<String>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied nested class name, method name, and class loader. - selectNestedMethod(ClassLoader, List<String>, String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied nested class name, method name, parameter type names, and class loader. - selectNestedMethod(List<Class<?>>, Class<?>, Method) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
- selectNestedMethod(List<Class<?>>, Class<?>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied nestedClassand method name. - selectNestedMethod(List<Class<?>>, Class<?>, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied enclosing classes, nested class, method name, and parameter types. - selectNestedMethod(List<Class<?>>, Class<?>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the suppliedClass, method name, and parameter type names. - selectNestedMethod(List<String>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied nested class name and method name. - selectNestedMethod(List<String>, String, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied enclosing class names, nested class name, method name, and parameter types. - selectNestedMethod(List<String>, String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied nested class name, method name, and parameter type names. - selectorProcessed(UniqueId, DiscoverySelector, SelectorResolutionResult) - Method in interface org.junit.platform.engine.EngineDiscoveryListener
-
Must be called after a discovery selector has been processed by a test engine.
- SelectorResolutionResult - Class in org.junit.platform.engine
- SelectorResolutionResult.Status - Enum Class in org.junit.platform.engine
-
Status of resolving a
DiscoverySelector. - SelectorResolver - Interface in org.junit.platform.engine.support.discovery
-
A resolver that supports resolving one or multiple types of
DiscoverySelectors. - SelectorResolver.Context - Interface in org.junit.platform.engine.support.discovery
-
The context for resolving a
DiscoverySelectorand adding it to the test tree. - SelectorResolver.Match - Class in org.junit.platform.engine.support.discovery
-
An exact or partial match for resolving a
DiscoverySelectorinto aTestDescriptor. - SelectorResolver.Resolution - Class in org.junit.platform.engine.support.discovery
-
The result of an attempt to resolve a
DiscoverySelector. - selectors(List<? extends DiscoverySelector>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add all supplied
selectorsto the request. - selectors(Set<? extends DiscoverySelector>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Factory for creating a resolution that contains the supplied
DiscoverySelectors. - selectors(DiscoverySelector...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add all supplied
selectorsto 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
PackageSelectorfor the supplied package name. - SelectPackages - Annotation Interface in org.junit.platform.suite.api
-
@SelectPackagesspecifies the names of packages to select when running a test suite on the JUnit Platform. - Selects - Annotation Interface in org.junit.platform.suite.api
-
@Selectsis a container for one or more@Selectdeclarations. - selectUniqueId(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UniqueIdSelectorfor the supplied unique ID. - selectUniqueId(UniqueId) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UniqueIdSelectorfor the suppliedUniqueId. - selectUri(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UriSelectorfor the supplied URI. - selectUri(URI) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UriSelectorfor the suppliedURI. - SelectUris - Annotation Interface in org.junit.platform.suite.api
-
@SelectUrisspecifies the URIs to select when running a test suite on the JUnit Platform. - SELF - Enum constant in enum class org.junit.jupiter.api.parallel.ResourceLockTarget
-
Add a shared resource to the current node.
- Semantics for Source - Search tag in org.junit.jupiter.engine.extension.ExtensionRegistrar.registerExtension(Extension, Object)
- Section
- Semantics for Source - Search tag in org.junit.jupiter.engine.extension.ExtensionRegistrar.registerExtension(Extension, Object)
- Section
- SEPARATE_THREAD - Enum constant in enum class org.junit.jupiter.api.Timeout.ThreadMode
-
The test code is executed in a different thread than that of the calling code.
- separator() - Element in annotation interface org.junit.jupiter.api.IndicativeSentencesGeneration
-
Custom separator for sentence fragments.
- ServiceLoaderTestEngineRegistry - Class in org.junit.platform.launcher.core
- ServiceLoaderTestEngineRegistry() - Constructor for class org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry
- ServiceLoaderUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
ServiceLoader. - setAdditionalClasspathEntries(List<Path>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setAnsiColorOutputDisabled(boolean) - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
- setColorPalettePath(Path) - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
- setConfigurationParameters(Map<String, String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setConfigurationParametersResources(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setDefaultChildExecutionMode(Node.ExecutionMode) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- setDetails(Details) - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
- setExcludedClassNamePatterns(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setExcludedEngines(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setExcludedMethodNamePatterns(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setExcludedPackages(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setExcludedTagExpressions(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setExecutorService(ExecutorService) - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- setIncludedClassNamePatterns(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setIncludedEngines(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setIncludedMethodNamePatterns(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setIncludedPackages(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setIncludedTagExpressions(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- 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.
- setScanClasspath(boolean) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setScanModulepath(boolean) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedClasses(List<ClassSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedClasspathEntries(List<Path>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedClasspathResources(List<ClasspathResourceSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedDirectories(List<DirectorySelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedFiles(List<FileSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedIterations(List<IterationSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedMethods(List<MethodSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedModules(List<ModuleSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedPackages(List<PackageSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedUniqueId(List<UniqueIdSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedUris(List<UriSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectorIdentifiers(List<DiscoverySelectorIdentifier>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSingleColorPalette(boolean) - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
- setStderrPath(Path) - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
- setStdoutPath(Path) - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
- setTheme(Theme) - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
- severity() - Method in interface org.junit.platform.engine.DiscoveryIssue
-
Returns the severity of this issue.
- SHORT_DISPLAY_NAME - Static variable in annotation interface org.junit.jupiter.api.RepeatedTest
-
Short display name pattern for a repeated test: "repetition {currentRepetition} of {totalRepetitions}"
- shorts() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
shortvalues 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
contextshould be skipped. - shouldBeSkipped(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
- shouldBeSkipped(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- Simple() - Constructor for class org.junit.jupiter.api.DisplayNameGenerator.Simple
- SimpleArgumentConverter - Class in org.junit.jupiter.params.converter
-
SimpleArgumentConverteris an abstract base class forArgumentConverterimplementations that only need to know the target type and do not need access to theParameterContextto perform the conversion. - SimpleArgumentConverter() - Constructor for class org.junit.jupiter.params.converter.SimpleArgumentConverter
- SimpleArgumentsAggregator - Class in org.junit.jupiter.params.aggregator
-
SimpleArgumentsAggregatoris an abstract base class forArgumentsAggregatorimplementations that do not need to distinguish between fields and method/constructor parameters. - SimpleArgumentsAggregator() - Constructor for class org.junit.jupiter.params.aggregator.SimpleArgumentsAggregator
- 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
- skip() - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor.Invocation
-
Explicitly skip this invocation.
- skip(String) - Static method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Factory for creating skipped results.
- skipped() - Method in enum class org.junit.platform.console.options.Theme
- skipped() - Method in class org.junit.platform.testkit.engine.Events
-
Get the skipped
Eventscontained in thisEventsobject. - skipped() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the skipped
Executionscontained in thisExecutionsobject. - skipped() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Determine if this
TerminationInforepresents 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
TerminationInfoinstance 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
Executionthat was skipped with the providedskipReason. - SKIPPED - Enum constant in enum class org.junit.platform.testkit.engine.EventType
-
Signals that the execution of a
TestDescriptorhas 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 - Enum constant in enum class org.junit.jupiter.api.condition.OS
-
Oracle Solaris operating system.
- source() - Method in interface org.junit.platform.engine.DiscoveryIssue
-
Returns the source of this issue.
- source(Optional<TestSource>) - Method in interface org.junit.platform.engine.DiscoveryIssue.Builder
-
Set the
TestSourcefor theDiscoveryIssue. - source(TestSource) - Method in interface org.junit.platform.engine.DiscoveryIssue.Builder
-
Set the
TestSourcefor theDiscoveryIssue. - splitIntoTwo(char, String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Split the supplied
Stringinto up to two parts using the supplied separator character. - splitIntoTwo(String, String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Split the supplied
Stringinto up to two parts using the supplied separator string. - STACKTRACE_PRUNING_ENABLED_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Property name used to enable or disable stack trace pruning.
- STANDALONE_CLASS_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
- Standard() - Constructor for class org.junit.jupiter.api.DisplayNameGenerator.Standard
- Standard() - Constructor for class org.junit.jupiter.api.io.TempDirFactory.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
Eventscontained in thisEventsobject. - started() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the started
Executionscontained in thisExecutionsobject. - started(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected started events.
- STARTED - Enum constant in enum class org.junit.platform.testkit.engine.EventType
-
Signals that the execution of a
TestDescriptorhas started. - Static Fields - Search tag in annotation interface org.junit.jupiter.api.extension.RegisterExtension
- Section
- status(TestExecutionResult) - Method in enum class org.junit.platform.console.options.Theme
- status(TestExecutionResult.Status) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
-
Create a new
Conditionthat 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.erras 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.outas part of aReportEntry: "stdout" - stream() - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Get a stream of
log recordsthat 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 recordsthat 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 recordsthat 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 interface org.junit.jupiter.engine.extension.ExtensionRegistry
-
Stream all
Extensionsof the specified type that are present in this registry or one of its ancestors. - stream(Class<E>) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- stream(Iterator<? extends Named<T>>, ThrowingConsumer<? super T>) - Static method in class org.junit.jupiter.api.DynamicTest
-
Generate a stream of dynamic tests based on the given generator and test executor.
- stream(Iterator<? extends T>) - Static method in class org.junit.jupiter.api.DynamicTest
-
Generate a stream of dynamic tests based on the given iterator.
- 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 given generator and test executor.
- stream(Level) - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Get a stream of
log recordsthat have been submitted to this listener by the current thread at the given log level. - stream(Stream<? extends Named<T>>, ThrowingConsumer<? super T>) - Static method in class org.junit.jupiter.api.DynamicTest
-
Generate a stream of dynamic tests based on the given input stream and test executor.
- stream(Stream<? extends T>) - Static method in class org.junit.jupiter.api.DynamicTest
-
Generate a stream of dynamic tests based on the given input stream.
- stream(Stream<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 given input stream and test executor.
- streamAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes in the supplied classpath
rootthat match the specifiedclassFilterandclassNameFilterpredicates. - streamAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamAllClassesInClasspathRoot(URI, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamAllClassesInModule(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes in the supplied
moduleNamethat match the specifiedclassFilterandclassNameFilterpredicates. - streamAllClassesInModule(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamAllClassesInModule(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes in the supplied
basePackageNamethat match the specifiedclassFilterandclassNameFilterpredicates. - streamAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
since 1.10
- streamAllClassesInPackage(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamAllResourcesInClasspathRoot(URI, Predicate<Resource>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all resources in the supplied classpath
rootthat match the specifiedresourceFilterpredicate. - streamAllResourcesInClasspathRoot(URI, Predicate<Resource>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamAllResourcesInModule(String, Predicate<Resource>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
- streamAllResourcesInModule(String, Predicate<Resource>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamAllResourcesInPackage(String, Predicate<Resource>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all resources in the supplied
basePackageNamethat match the specifiedresourceFilterpredicate. - streamAllResourcesInPackage(String, Predicate<Resource>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamFields(Class<?>, Predicate<Field>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all distinct fields of the supplied class or interface that match the specified
predicate. - streamFields(Class<?>, Predicate<Field>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamMethods(Class<?>, Predicate<Method>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all distinct methods of the supplied class or interface that match the specified
predicate. - streamMethods(Class<?>, Predicate<Method>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all nested classes within the supplied class, or inherited by the supplied class, that conform to the supplied predicate.
- streamNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
since 1.10
- streamNestedClasses(Class<?>, Predicate<Class<?>>, ReflectionUtils.CycleErrorHandling) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- STRICT - Enum constant in enum class org.junit.jupiter.params.ArgumentCountValidationMode
-
Use the strict argument count validation mode.
- strings() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
Stringvalues 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. - StringUtils.TwoPartSplitResult - Interface in org.junit.platform.commons.util
-
The result of splitting a string into up to two parts.
- stripQueryComponent(URI) - Static method in class org.junit.platform.commons.util.ResourceUtils
- 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
Eventscontained in thisEventsobject. - succeeded() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the succeeded
Executionscontained in thisExecutionsobject. - succeeded(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected succeeded events.
- success() - Static method in class org.junit.platform.console.options.CommandResult
- success(V) - Static method in class org.junit.platform.commons.function.Try
-
Convert the supplied value into a succeeded
Try. - SUCCESS - Static variable in class org.junit.platform.console.options.CommandResult
-
Exit code indicating successful execution.
- successful() - Method in enum class org.junit.platform.console.options.Theme
- successful() - Static method in class org.junit.platform.engine.TestExecutionResult
-
Create a
TestExecutionResultfor a successful execution of a test or container. - successful() - Static method in class org.junit.platform.launcher.EngineDiscoveryResult
-
Create a
EngineDiscoveryResultfor a successful test discovery. - SUCCESSFUL - Enum constant in enum class org.junit.platform.engine.TestExecutionResult.Status
-
Indicates that the execution of a test or container was successful.
- SUCCESSFUL - Enum constant in enum class org.junit.platform.launcher.EngineDiscoveryResult.Status
-
Indicates that test discovery was successful.
- Suite - Annotation Interface in org.junit.platform.suite.api
-
@Suitemarks a class as a test suite on the JUnit Platform. - SuiteDisplayName - Annotation Interface in org.junit.platform.suite.api
-
@SuiteDisplayNameis used to declare a custom display name for the annotated test class that is executed as a test suite on the JUnit Platform. - SuiteTestEngine - Class in org.junit.platform.suite.engine
-
The JUnit Platform Suite
TestEngine. - SuiteTestEngine() - Constructor for class org.junit.platform.suite.engine.SuiteTestEngine
- SUMMARY - Enum constant in enum class org.junit.platform.console.options.Details
-
Print summary table of counts only.
- SummaryGeneratingListener - Class in org.junit.platform.launcher.listeners
-
Simple
TestExecutionListenerthat generates a summary of the test execution. - SummaryGeneratingListener() - Constructor for class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- Supported Extension APIs - Search tag in annotation interface org.junit.jupiter.api.extension.ExtendWith
- Section
- Supported Extension APIs - Search tag in annotation interface org.junit.jupiter.api.extension.RegisterExtension
- Section
- Supported Parameter Types - Search tag in annotation interface org.junit.jupiter.params.provider.EmptySource
- Section
- Supported placeholders - Search tag in org.junit.jupiter.api.RepeatedTest.name()
- Section
- Supported placeholders - Search tag in org.junit.jupiter.params.ParameterizedClass.name()
- Section
- Supported placeholders - Search tag in org.junit.jupiter.params.ParameterizedTest.name()
- Section
- Supported Target Elements - Search tag in annotation interface org.junit.platform.commons.annotation.Testable
- Section
- Supported timeout mode values (case insensitive): - Search tag in org.junit.jupiter.api.Timeout.TIMEOUT_MODE_PROPERTY_NAME
- Section
- Supported Values - Search tag in annotation interface org.junit.jupiter.api.Timeout
- Section
- Supported Values - Search tag in org.junit.jupiter.api.ClassOrderer.DEFAULT_ORDER_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.ClassOrderer.Random.RANDOM_SEED_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.DisplayNameGenerator.DEFAULT_GENERATOR_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.MethodOrderer.DEFAULT_ORDER_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.MethodOrderer.Random.RANDOM_SEED_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.TestInstance.Lifecycle.DEFAULT_LIFECYCLE_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.extension.TestInstantiationAwareExtension.ExtensionContextScope.DEFAULT_SCOPE_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.io.TempDir.DEFAULT_FACTORY_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.parallel.Execution.DEFAULT_CLASSES_EXECUTION_MODE_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.parallel.Execution.DEFAULT_EXECUTION_MODE_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.platform.launcher.LauncherConstants.CRITICAL_DISCOVERY_ISSUE_SEVERITY_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.platform.launcher.LauncherConstants.DISCOVERY_ISSUE_FAILURE_PHASE_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder.DEFAULT_DISCOVERY_LISTENER_CONFIGURATION_PROPERTY_NAME
- Section
- supportsClassTemplate(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ClassTemplateInvocationContextProvider
-
Determine if this provider supports providing invocation contexts for the class template represented by the supplied
context. - supportsParameter(ParameterContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ParameterResolver
-
Determine if this resolver supports resolution of an argument for the
Parameterin the suppliedParameterContextfor the suppliedExtensionContext. - supportsParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.api.extension.support.TypeBasedParameterResolver
- 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
Conditionthat matches if and only if aThrowable's suppressed throwable at the supplied index matches all supplied conditions. - Syntax Rules for Tags - Search tag in annotation interface org.junit.jupiter.api.Tag
- Section
- Syntax Rules for Tags - Search tag in annotation interface org.junit.platform.suite.api.ExcludeTags
- Section
- Syntax Rules for Tags - Search tag in annotation interface org.junit.platform.suite.api.IncludeTags
- Section
- Syntax Rules for Tags - Search tag in org.junit.platform.engine.TestTag.isValid(String)
- Section
- SYSTEM_ERR - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents the standard error stream of the current process: "java.lang.System.err"
- SYSTEM_OUT - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents the standard output stream of the current process: "java.lang.System.out"
- SYSTEM_PROPERTIES - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents Java's system properties: "java.lang.System.properties"
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form