A B C D E F G H I J L M N O P R S T U V W
C
- canBeRemovedFromHierarchy() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- canBeRemovedFromHierarchy() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- CAPTURE_MAX_BUFFER_DEFAULT - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Default maximum number of bytes for buffering to use per thread and output type if output capturing is enabled.
- CAPTURE_MAX_BUFFER_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Property name used to configure the maximum number of bytes for buffering to use per thread and output type if output capturing is enabled: "junit.platform.output.capture.maxBuffer"
- CAPTURE_STDERR_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Property name used to enable capturing output to
System.err: "junit.platform.output.capture.stderr" - CAPTURE_STDOUT_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Property name used to enable capturing output to
System.out: "junit.platform.output.capture.stdout" - chars() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
charvalues to use as sources of arguments; must not be empty. - children - Variable in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
The synchronized set of children associated with this
TestDescriptor. - classes() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
Classvalues to use as sources of arguments; must not be empty. - ClassExtensionContext - Class in org.junit.jupiter.engine.descriptor
- ClassExtensionContext(ExtensionContext, EngineExecutionListener, ClassTestDescriptor, TestInstance.Lifecycle, ConfigurationParameters, ThrowableCollector) - Constructor for class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- ClassExtensionContext(ExtensionContext, EngineExecutionListener, ClassTestDescriptor, ConfigurationParameters, ThrowableCollector) - Constructor for class org.junit.jupiter.engine.descriptor.ClassExtensionContext
-
Create a new
ClassExtensionContextwithTestInstance.Lifecycle.PER_METHOD. - ClassFilter - Class in org.junit.platform.commons.util
-
Class-related predicate holder used by reflection utilities.
- ClassLoaderUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with ClassLoader and associated tasks.
- ClassNameFilter - Interface in org.junit.platform.engine.discovery
-
DiscoveryFilterthat is applied to the name of aClass. - ClasspathResourceSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects the name of a classpath resource so thatTestEnginescan load resources from the classpath — for example, to load XML or JSON files from the classpath, potentially within JARs. - ClasspathResourceSource - Class in org.junit.platform.engine.support.descriptor
-
Classpath resource based
TestSourcewith an optional position. - ClasspathRootSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects a classpath root so thatTestEnginescan search for class files or resources within the physical classpath — for example, to scan for test classes. - ClasspathScanningSupport - Class in org.junit.platform.engine.support.filter
-
Support utility methods for classpath scanning.
- ClassSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects aClassor class name so thatTestEnginescan discover tests or containers based on classes. - ClassSource - Class in org.junit.platform.engine.support.descriptor
-
Java class based
TestSourcewith an optional position. - ClassSupport - Class in org.junit.platform.commons.support
-
Common class support.
- ClassTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptorfor tests based on Java classes. - ClassTestDescriptor(UniqueId, Class<?>) - Constructor for class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- ClassTestDescriptor(UniqueId, Function<Class<?>, String>, Class<?>) - Constructor for class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- ClassUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
classes. - cleanUp(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Cleanup the supplied
contextafter execution. - cleanUp(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
- cleanUp(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- clear() - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Clear all existing
log recordsthat have been submitted to this listener by the current thread. - clone() - Method in class org.junit.platform.engine.UniqueId
- close() - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store.CloseableResource
-
Close underlying resources.
- close() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- close() - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- close() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
-
Close this service and let it perform any required cleanup work.
- close() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
- close() - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
- closeAllStoredCloseableValues() - Method in class org.junit.jupiter.engine.execution.ExtensionValuesStore
-
Close all values that implement
ExtensionContext.Store.CloseableResource. - CollectionUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
Collections. - CommandLineOptions - Class in org.junit.platform.console.options
- CommandLineOptions() - Constructor for class org.junit.platform.console.options.CommandLineOptions
- CommandLineOptionsParser - Interface in org.junit.platform.console.options
- composeFilters(Collection<? extends Filter<T>>) - Static method in interface org.junit.platform.engine.Filter
-
Return a filter that will include elements if and only if all of the filters in the supplied collection of
filtersinclude it. - composeFilters(Filter<T>...) - Static method in interface org.junit.platform.engine.Filter
-
Return a filter that will include elements if and only if all of the filters in the supplied array of
filtersinclude it. - CompositeTestSource - Class in org.junit.platform.engine.support.descriptor
-
A
CompositeTestSourcecontains one or moreTestSources. - computeExitCode(TestExecutionSummary, CommandLineOptions) - Static method in class org.junit.platform.console.ConsoleLauncherExecutionResult
- CONCURRENT - org.junit.jupiter.api.parallel.ExecutionMode
-
Allow concurrent execution with any other node.
- CONCURRENT - org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
-
Allow concurrent execution with any other node.
- condition(boolean, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
predicateistrue. - condition(boolean, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
predicateistrue. - ConditionEvaluationResult - Class in org.junit.jupiter.api.extension
-
The result of evaluating an ExecutionCondition.
- ConditionEvaluator - Class in org.junit.jupiter.engine.execution
-
ConditionEvaluatorevaluatesExecutionConditionextensions. - ConditionEvaluator() - Constructor for class org.junit.jupiter.engine.execution.ConditionEvaluator
- config(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwableand message from the providedmessageSupplierat config level. - config(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplierat config level. - CONFIG_CUSTOM_CLASS_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name used to specify the fully qualified class name of the
ParallelExecutionConfigurationStrategyto be used by theDefaultParallelExecutionConfigurationStrategy.CUSTOMconfiguration strategy. - CONFIG_DYNAMIC_FACTOR_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name of the factor used to determine the desired parallelism by the
DefaultParallelExecutionConfigurationStrategy.DYNAMICconfiguration strategy. - CONFIG_FILE_NAME - Static variable in interface org.junit.platform.engine.ConfigurationParameters
-
Name of the JUnit Platform configuration file: "junit-platform.properties".
- CONFIG_FIXED_PARALLELISM_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name used to determine the desired parallelism by the
DefaultParallelExecutionConfigurationStrategy.FIXEDconfiguration strategy. - CONFIG_STRATEGY_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name used to determine the desired configuration strategy.
- configurationParameter(String, String) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add the supplied configuration parameter to the request.
- ConfigurationParameterAccessor(ExtensionContext) - Constructor for class org.junit.jupiter.engine.script.ScriptAccessor.ConfigurationParameterAccessor
- configurationParameters(Map<String, String>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add all of the supplied configuration parameters to the request.
- ConfigurationParameters - Interface in org.junit.platform.engine
-
Configuration parameters that
TestEnginesmay use to influence test discovery and execution. - ConsoleLauncher - Class in org.junit.platform.console
-
The
ConsoleLauncheris a stand-alone application for launching the JUnit Platform from the console. - ConsoleLauncherExecutionResult - Class in org.junit.platform.console
- ConsoleTestExecutor - Class in org.junit.platform.console.tasks
- ConsoleTestExecutor(CommandLineOptions) - Constructor for class org.junit.platform.console.tasks.ConsoleTestExecutor
- Constants - Class in org.junit.jupiter.engine
-
Collection of constants related to the
JupiterTestEngine. - CONTAINER - org.junit.platform.engine.TestDescriptor.Type
-
Denotes that the
TestDescriptoris for a container. - CONTAINER_AND_TEST - org.junit.platform.engine.TestDescriptor.Type
-
Denotes that the
TestDescriptoris for a test that may potentially also be a container. - containsIsoControlCharacter(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
Stringcontains any ISO control characters. - containsNoNullElements(T[], String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array contains no
nullelements. - containsNoNullElements(T[], Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array contains no
nullelements. - containsNoNullElements(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied collection contains no
nullelements. - containsNoNullElements(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied collection contains no
nullelements. - containsTests() - Method in class org.junit.platform.launcher.TestPlan
- containsTests(TestDescriptor) - Static method in interface org.junit.platform.engine.TestDescriptor
-
Determine if the supplied descriptor or any of its descendants contains any tests.
- containsWhitespace(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
Stringcontains any whitespace characters. - convert(Object, Class<?>) - Method in class org.junit.jupiter.params.converter.DefaultArgumentConverter
- convert(Object, Class<?>) - Method in class org.junit.jupiter.params.converter.SimpleArgumentConverter
-
Convert the supplied
sourceobject into to the suppliedtargetType. - convert(Object, ParameterContext) - Method in interface org.junit.jupiter.params.converter.ArgumentConverter
-
Convert the supplied
sourceobject according to the suppliedcontext. - convert(Object, ParameterContext) - Method in class org.junit.jupiter.params.converter.SimpleArgumentConverter
- ConvertWith - Annotation Type in org.junit.jupiter.params.converter
-
@ConvertWithis an annotation that allows one to specify an explicitArgumentConverter. - countTestIdentifiers(Predicate<? super TestIdentifier>) - Method in class org.junit.platform.launcher.TestPlan
-
Count all
TestIdentifiersthat satisfy the given predicate. - create() - Static method in class org.junit.platform.launcher.core.LauncherFactory
-
Factory method for creating a new
Launcherusing dynamically detected test engines. - create(Object...) - Static method in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
-
Create a namespace which restricts access to data to all extensions which use the same sequence of
partsfor creating a namespace. - create(String) - Static method in class org.junit.platform.engine.TestTag
-
Create a
TestTagfrom the suppliedname. - createConfiguration(ConfigurationParameters) - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfigurationStrategy
-
Create a configuration for parallel test execution based on the supplied
ConfigurationParameters. - createExecutionContext(ExecutionRequest) - Method in class org.junit.jupiter.engine.JupiterTestEngine
- createExecutionContext(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
-
Create the initial execution context for executing the supplied request.
- createExecutorService(ExecutionRequest) - Method in class org.junit.jupiter.engine.JupiterTestEngine
- createExecutorService(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
-
Create the executor service to use for executing the supplied request.
- createRegistryFrom(ExtensionRegistry, List<Class<? extends Extension>>) - Static method in class org.junit.jupiter.engine.extension.ExtensionRegistry
-
Factory for creating and populating a new registry from a list of extension types and a parent registry.
- createRegistryWithDefaultExtensions(ConfigurationParameters) - Static method in class org.junit.jupiter.engine.extension.ExtensionRegistry
-
Factory for creating and populating a new root registry with the default extensions.
- CsvFileSource - Annotation Type in org.junit.jupiter.params.provider
-
@CsvFileSourceis anArgumentsSourcewhich is used to load comma-separated value (CSV) files from one or more classpath resources. - CsvSource - Annotation Type in org.junit.jupiter.params.provider
-
@CsvSourceis anArgumentsSourcewhich reads comma-separated values (CSV) from itsCsvSource.value()attribute. - CURRENT_REPETITION_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.api.RepeatedTest
-
Placeholder for the current repetition count of a
@RepeatedTestmethod:{currentRepetition} - CUSTOM - org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Allows to specify a custom
ParallelExecutionConfigurationStrategyimplementation via the mandatory "custom.class" configuration parameter to determine the desired configuration.