Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes|All Packages|Constant Field Values|Deprecated API|Serialized Form

T

Tag - Annotation Interface in org.junit.jupiter.api
@Tag is a repeatable annotation that is used to declare a tag for the annotated test class or test method.
tagExpression() - Method in interface org.junit.platform.launcher.tagexpression.ParseResult
Return the contained TagExpression, if any.
TagExpression - Interface in org.junit.platform.launcher.tagexpression
A tag expression can be evaluated against a collection of tags to determine if they match the expression.
tagExpressionOrThrow(Function<String, RuntimeException>) - Method in interface org.junit.platform.launcher.tagexpression.ParseResult
Return the parsed TagExpression or throw an exception with the contained parse error.
TagFilter - Class in org.junit.platform.launcher
Factory methods for creating PostDiscoveryFilters based on included and excluded tags or tag expressions.
tags - Variable in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
Tags - Annotation Interface in org.junit.jupiter.api
@Tags is a container for one or more @Tag declarations.
TEMP_DIR_SCOPE_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
TEMP_DIR_SCOPE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Deprecated.
TempDir - Annotation Interface in org.junit.jupiter.api.io
@TempDir can be used to annotate a field in a test class or a parameter in a lifecycle method or test method of type Path or File that should be resolved into a temporary directory.
TerminationInfo - Class in org.junit.platform.testkit.engine
TerminationInfo is a union type that allows propagation of terminated container/test state, supporting either the reason if the container/test was skipped or the TestExecutionResult if the container/test was executed.
test() - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's test descriptor is a test.
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsInnerClass
 
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsNestedTestClass
 
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsPotentialTestContainer
 
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
 
test(Class<?>) - Method in class org.junit.platform.commons.util.ClassFilter
 
test(Class<?>) - Method in class org.junit.vintage.engine.discovery.IsPotentialJUnit4TestClass
 
test(Method) - Method in class org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod
 
test(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's test descriptor is a test and its unique id contains the supplied String.
test(String, String) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's test descriptor is a test, its unique id contains the supplied String, and its display name equals the supplied String.
test(Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event matches the supplied Condition and its test descriptor is a test.
test(UniqueId) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
 
Test - Annotation Interface in org.junit.jupiter.api
@Test is used to signal that the annotated method is a test method.
TEST - Enum constant in enum class org.junit.platform.engine.TestDescriptor.Type
Denotes that the TestDescriptor is for a test.
Testable - Annotation Interface in org.junit.platform.commons.annotation
@Testable is used to signal to IDEs and tooling vendors that the annotated or meta-annotated element is testable.
testAborted(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.TestWatcher
Invoked after a test has been aborted.
TestClassOrder - Annotation Interface in org.junit.jupiter.api
@TestClassOrder is a type-level annotation that is used to configure a ClassOrderer for the @Nested test classes of the annotated test class.
TestDescriptor - Interface in org.junit.platform.engine
Mutable descriptor for a test or container that has been discovered by a TestEngine.
TestDescriptor.Type - Enum Class in org.junit.platform.engine
Supported types for TestDescriptors.
TestDescriptor.Visitor - Interface in org.junit.platform.engine
Visitor for the tree-like TestDescriptor structure.
testDisabled(ExtensionContext, Optional<String>) - Method in interface org.junit.jupiter.api.extension.TestWatcher
Invoked after a disabled test has been skipped.
TestEngine - Interface in org.junit.platform.engine
A TestEngine facilitates discovery and execution of tests for a particular programming model.
testEvents() - Method in class org.junit.platform.testkit.engine.EngineExecutionResults
Get recorded events for tests.
TestExecutionExceptionHandler - Interface in org.junit.jupiter.api.extension
TestExecutionExceptionHandler defines the API for Extensions that wish to handle exceptions thrown during test execution.
TestExecutionListener - Interface in org.junit.platform.launcher
Register a concrete implementation of this interface with a Launcher to be notified of events that occur during test execution.
TestExecutionResult - Class in org.junit.platform.engine
TestExecutionResult encapsulates the result of executing a single test or container.
TestExecutionResult.Status - Enum Class in org.junit.platform.engine
Status of executing a single test or container.
TestExecutionResultConditions - Class in org.junit.platform.testkit.engine
Collection of AssertJ conditions for TestExecutionResult.
TestExecutionSummary - Interface in org.junit.platform.launcher.listeners
Summary of test plan execution.
TestExecutionSummary.Failure - Interface in org.junit.platform.launcher.listeners
Failure of a test or container.
TestFactory - Annotation Interface in org.junit.jupiter.api
@TestFactory is used to signal that the annotated method is a test factory method.
TestFactoryTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestFactoryTestDescriptor(UniqueId, Class<?>, Method, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
testFailed(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.TestWatcher
Invoked after a test has failed.
TestIdentifier - Class in org.junit.platform.launcher
Immutable data transfer object that represents a test or container which is usually part of a TestPlan.
TestInfo - Interface in org.junit.jupiter.api
TestInfo is used to inject information about the current test or container into to @Test, @RepeatedTest, @ParameterizedTest, @TestFactory, @BeforeEach, @AfterEach, @BeforeAll, and @AfterAll methods.
TestInstance - Annotation Interface in org.junit.jupiter.api
@TestInstance is a type-level annotation that is used to configure the lifecycle of test instances for the annotated test class or test interface.
TestInstance.Lifecycle - Enum Class in org.junit.jupiter.api
Enumeration of test instance lifecycle modes.
TestInstanceFactory - Interface in org.junit.jupiter.api.extension
TestInstanceFactory defines the API for Extensions that wish to create test instances.
TestInstanceFactoryContext - Interface in org.junit.jupiter.api.extension
TestInstanceFactoryContext encapsulates the context in which a test class is to be instantiated by a TestInstanceFactory.
TestInstanceLifecycleUtils - Class in org.junit.jupiter.engine.descriptor
Collection of utilities for retrieving the test instance lifecycle mode.
TestInstancePostProcessor - Interface in org.junit.jupiter.api.extension
TestInstancePostProcessor defines the API for Extensions that wish to post-process test instances.
TestInstancePreDestroyCallback - Interface in org.junit.jupiter.api.extension
TestInstancePreDestroyCallback defines the API for Extensions that wish to process test instances after they have been used in tests but before they are destroyed.
TestInstances - Interface in org.junit.jupiter.api.extension
TestInstances encapsulates the test instances of a test.
TestInstancesProvider - Interface in org.junit.jupiter.engine.execution
 
TestInstantiationException - Exception in org.junit.jupiter.api.extension
Thrown if an error is encountered during the execution of a TestInstanceFactory.
TestInstantiationException(String) - Constructor for exception org.junit.jupiter.api.extension.TestInstantiationException
 
TestInstantiationException(String, Throwable) - Constructor for exception org.junit.jupiter.api.extension.TestInstantiationException
 
TestMethodOrder - Annotation Interface in org.junit.jupiter.api
@TestMethodOrder is a type-level annotation that is used to configure a MethodOrderer for the test methods of the annotated test class or test interface.
TestMethodTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for @Test methods.
TestMethodTestDescriptor(UniqueId, Class<?>, Method, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
TestPlan - Class in org.junit.platform.launcher
TestPlan describes the tree of tests and containers as discovered by a Launcher.
TestPlan(boolean, ConfigurationParameters) - Constructor for class org.junit.platform.launcher.TestPlan
 
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.jfr.FlightRecordingExecutionListener
 
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
 
testPlanExecutionFinished(TestPlan) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of the TestPlan has finished, after all tests have been executed.
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.reporting.legacy.xml.LegacyXmlReportGeneratingListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.jfr.FlightRecordingExecutionListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
 
testPlanExecutionStarted(TestPlan) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of the TestPlan has started, before any test has been executed.
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.reporting.legacy.xml.LegacyXmlReportGeneratingListener
 
TestReporter - Interface in org.junit.jupiter.api
Parameters of type TestReporter can be injected into @BeforeEach and @AfterEach lifecycle methods as well as methods annotated with @Test, @RepeatedTest, @ParameterizedTest, @TestFactory, etc.
TestRuleAnnotatedField - Class in org.junit.jupiter.migrationsupport.rules.member
 
TestRuleAnnotatedField(Object, Field) - Constructor for class org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedField
 
TestRuleAnnotatedMember - Interface in org.junit.jupiter.migrationsupport.rules.member
 
TestRuleAnnotatedMethod - Class in org.junit.jupiter.migrationsupport.rules.member
 
TestRuleAnnotatedMethod(Object, Method) - Constructor for class org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedMethod
 
TestSource - Interface in org.junit.platform.engine
Representation of the source of a test or container used to navigate to its location by IDEs and build tools.
TestSourceProvider - Class in org.junit.vintage.engine.descriptor
 
TestSourceProvider() - Constructor for class org.junit.vintage.engine.descriptor.TestSourceProvider
 
testSuccessful(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestWatcher
Invoked after a test has completed successfully.
TestTag - Class in org.junit.platform.engine
Immutable value object for a tag that is assigned to a test or container.
TestTemplate - Annotation Interface in org.junit.jupiter.api
@TestTemplate is used to signal that the annotated method is a test template method.
TestTemplateInvocationContext - Interface in org.junit.jupiter.api.extension
TestTemplateInvocationContext represents the context of a single invocation of a test template.
TestTemplateInvocationContextProvider - Interface in org.junit.jupiter.api.extension
TestTemplateInvocationContextProvider defines the API for Extensions that wish to provide one or multiple contexts for the invocation of a @TestTemplate method.
TestTemplateInvocationTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for a @TestTemplate invocation.
TestTemplateTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestTemplateTestDescriptor(UniqueId, Class<?>, Method, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
TestWatcher - Interface in org.junit.jupiter.api.extension
TestWatcher defines the API for Extensions that wish to process test results.
Theme - Enum Class in org.junit.platform.console.options
 
throwable(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
Create a new Condition that matches if and only if a TestExecutionResult's throwable matches all supplied conditions.
ThrowableCollector - Class in org.junit.platform.engine.support.hierarchical
Simple component that can be used to collect one or more instances of Throwable.
ThrowableCollector(Predicate<? super Throwable>) - Constructor for class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Create a new ThrowableCollector that uses the supplied Predicate to determine whether a Throwable aborted or failed execution.
ThrowableCollector.Executable - Interface in org.junit.platform.engine.support.hierarchical
Functional interface for an executable block of code that may throw a Throwable.
ThrowableCollector.Factory - Interface in org.junit.platform.engine.support.hierarchical
Factory for ThrowableCollector instances.
throwAsUncheckedException(Throwable) - Static method in class org.junit.platform.commons.util.ExceptionUtils
Throw the supplied Throwable, masked as an unchecked exception.
ThrowingConsumer<T> - Interface in org.junit.jupiter.api.function
ThrowingConsumer is a functional interface that can be used to implement any generic block of code that consumes an argument and potentially throws a Throwable.
ThrowingSupplier<T> - Interface in org.junit.jupiter.api.function
ThrowingSupplier is a functional interface that can be used to implement any generic block of code that returns an object and potentially throws a Throwable.
TIME_ZONE - Static variable in class org.junit.jupiter.api.parallel.Resources
Represents the default time zone for the current instance of the JVM: "java.util.TimeZone.default"
Timeout - Annotation Interface in org.junit.jupiter.api
@Timeout is used to define a timeout for a method or all testable methods within one class and its @Nested classes.
TIMEOUT_MODE_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
TIMEOUT_MODE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property used to determine if timeouts are applied to tests: "junit.jupiter.execution.timeout.mode".
toArray() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get all arguments in this accessor as an array.
toArray() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
toExecutionMode(ExecutionMode) - Static method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
toList() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get all arguments in this accessor as an immutable list.
toList() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
toOptional() - Method in class org.junit.platform.commons.function.Try
If this Try is a failure, return an empty Optional; if this Try is a success, wrap the contained value using Optional.ofNullable(Object).
TOP_DOWN - Enum constant in enum class org.junit.platform.commons.support.HierarchyTraversalMode
Traverse the hierarchy using top-down semantics.
TOP_DOWN - Enum constant in enum class org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
Traverse the hierarchy using top-down semantics.
toPredicate() - Method in interface org.junit.platform.engine.Filter
Return a Predicate that returns true if this filter includes the object supplied to the predicate's test method.
toRequest() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
toSet(T[]) - Static method in class org.junit.platform.commons.util.CollectionUtils
Convert the supplied array of values to a Set.
toStream(Object) - Static method in class org.junit.platform.commons.util.CollectionUtils
Convert an object of one of the following supported types into a Stream.
toString() - Method in class org.junit.jupiter.api.DynamicNode
 
toString() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
 
toString() - Method in class org.junit.platform.commons.util.ToStringBuilder
 
toString() - Method in enum class org.junit.platform.console.options.Details
Return lower case Enum.name for easier usage in help text for available options.
toString() - Method in enum class org.junit.platform.console.options.Theme
Return lower case Enum.name() for easier usage in help text for available options.
toString() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
 
toString() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
 
toString() - Method in class org.junit.platform.engine.discovery.ClassSelector
 
toString() - Method in class org.junit.platform.engine.discovery.DirectorySelector
 
toString() - Method in class org.junit.platform.engine.discovery.FilePosition
 
toString() - Method in class org.junit.platform.engine.discovery.FileSelector
 
toString() - Method in class org.junit.platform.engine.discovery.MethodSelector
 
toString() - Method in class org.junit.platform.engine.discovery.ModuleSelector
 
toString() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
 
toString() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
 
toString() - Method in class org.junit.platform.engine.discovery.PackageSelector
 
toString() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
 
toString() - Method in class org.junit.platform.engine.discovery.UriSelector
 
toString() - Method in class org.junit.platform.engine.FilterResult
 
toString() - Method in class org.junit.platform.engine.reporting.ReportEntry
 
toString() - Method in class org.junit.platform.engine.SelectorResolutionResult
 
toString() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
toString() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
 
toString() - Method in class org.junit.platform.engine.support.descriptor.FileSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
 
toString() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
 
toString() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
 
toString() - Method in class org.junit.platform.engine.TestExecutionResult
 
toString() - Method in class org.junit.platform.engine.TestTag
 
toString() - Method in class org.junit.platform.engine.UniqueId.Segment
 
toString() - Method in class org.junit.platform.engine.UniqueId
Generate the unique, formatted string representation of this UniqueId using the configured UniqueIdFormat.
toString() - Method in enum class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.Phase
 
toString() - Method in class org.junit.platform.launcher.EngineDiscoveryResult
 
toString() - Method in class org.junit.platform.launcher.EngineFilter
 
toString() - Method in class org.junit.platform.launcher.TestIdentifier
 
toString() - Method in class org.junit.platform.testkit.engine.Event
 
toString() - Method in class org.junit.platform.testkit.engine.Execution
 
toString() - Method in class org.junit.platform.testkit.engine.TerminationInfo
 
ToStringBuilder - Class in org.junit.platform.commons.util
Simple builder for generating strings in custom implementations of toString().
ToStringBuilder(Class<?>) - Constructor for class org.junit.platform.commons.util.ToStringBuilder
 
ToStringBuilder(Object) - Constructor for class org.junit.platform.commons.util.ToStringBuilder
 
ToStringBuilder(String) - Constructor for class org.junit.platform.commons.util.ToStringBuilder
 
TOTAL_REPETITIONS_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.api.RepeatedTest
Placeholder for the total number of repetitions of a @RepeatedTest method: {totalRepetitions}
toTestExecutionResult() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Convert the collected Throwables into a TestExecutionResult.
toUnmodifiableList() - Static method in class org.junit.platform.commons.util.CollectionUtils
Return a Collector that accumulates the input elements into a new unmodifiable list, in encounter order.
trace(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the provided Throwable and message from the provided messageSupplier at trace level.
trace(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the message from the provided messageSupplier at trace level.
TREE - Enum constant in enum class org.junit.platform.console.options.Details
Test plan execution details are rendered as a simple tree.
Try<V> - Class in org.junit.platform.commons.function
A container object which may either contain a nullable value in case of success or an exception in case of failure.
Try.Transformer<S,​T> - Interface in org.junit.platform.commons.function
A transformer for values of type S to type T.
tryToExcludeFromRunner(Description) - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
tryToExcludeFromRunner(Description) - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
tryToGetMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Try to get the Method in the specified class with the specified name and parameter types.
tryToLoadClass(String) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Try to load a class by its primitive name or fully qualified name, using the default ClassLoader.
tryToLoadClass(String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
tryToLoadClass(String, ClassLoader) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Try to load a class by its primitive name or fully qualified name, using the supplied ClassLoader.
tryToReadFieldValue(Class<T>, String, T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Try to read the value of a potentially inaccessible or nonexistent field.
tryToReadFieldValue(Field) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Try to read the value of a potentially inaccessible static field.
tryToReadFieldValue(Field, Object) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Try to read the value of a potentially inaccessible field.
tryToReadFieldValue(Field, Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
type(EventType) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is equal to the supplied EventType.
TypeBasedParameterResolver<T> - Class in org.junit.jupiter.api.extension.support
ParameterResolver adapter which resolves a parameter based on its exact type.
TypeBasedParameterResolver() - Constructor for class org.junit.jupiter.api.extension.support.TypeBasedParameterResolver
 
TypedArgumentConverter<S,​T> - Class in org.junit.jupiter.params.converter
TypedArgumentConverter is an abstract base class for ArgumentConverter implementations that always convert objects of a given source type into a given target type.
TypedArgumentConverter(Class<S>, Class<T>) - Constructor for class org.junit.jupiter.params.converter.TypedArgumentConverter
Create a new TypedArgumentConverter.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes|All Packages|Constant Field Values|Deprecated API|Serialized Form