A B C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
T
- Tag - Annotation Type 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 Type in org.junit.jupiter.api
-
@Tags
is a container for one or more@Tag
declarations. - TempDir - Annotation Type in org.junit.jupiter.api.io
- 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 theTestExecutionResult
if the container/test was executed. - test() - Static method in class org.junit.platform.testkit.engine.EventConditions
- 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(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
- test(String, String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
's test descriptor is a test, its unique id contains the suppliedString
, and its display name equals the suppliedString
. - test(UniqueId) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- Test - Annotation Type in org.junit.jupiter.api
-
@Test
is used to signal that the annotated method is a test method. - TEST - org.junit.platform.engine.TestDescriptor.Type
-
Denotes that the
TestDescriptor
is for a test. - Testable - Annotation Type 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.
- TestDescriptor - Interface in org.junit.platform.engine
-
Mutable descriptor for a test or container that has been discovered by a
TestEngine
. - TestDescriptor.Type - Enum 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. - TestExecutionExceptionHandler - Interface in org.junit.jupiter.api.extension
-
TestExecutionExceptionHandler
defines the API forExtensions
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 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 Type 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
-
TestDescriptor
for@TestFactory
methods. - 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 Type 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 in org.junit.jupiter.api
-
Enumeration of test instance lifecycle modes.
- TestInstanceFactory - Interface in org.junit.jupiter.api.extension
- TestInstanceFactoryContext - Interface in org.junit.jupiter.api.extension
-
TestInstanceFactoryContext
encapsulates the context in which a test class is to be instantiated by aTestInstanceFactory
. - 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 forExtensions
that wish to post-process test instances. - 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 Type in org.junit.jupiter.api
-
@TestMethodOrder
is a type-level annotation that is used to configure aMethodOrderer
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 aLauncher
. - TestPlan(boolean) - Constructor for class org.junit.platform.launcher.TestPlan
- 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 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.launcher.listeners.LoggingListener
- testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- 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
- tests() - Method in class org.junit.platform.testkit.engine.EngineExecutionResults
-
Get recorded events for tests.
- 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.
- 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 Type 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 forExtensions
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
-
TestDescriptor
for@TestTemplate
methods. - 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 forExtensions
that wish to process test results. - Theme - Enum 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 aTestExecutionResult
'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
- 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 aThrowable
. - 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 aThrowable
. - TIME_ZONE - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents the default time zone for the current instance of the JVM.
- Timeout - Annotation Type 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. - 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 emptyOptional
; if thisTry
is a success, wrap the contained value usingOptional.ofNullable(Object)
. - TOP_DOWN - org.junit.platform.commons.support.HierarchyTraversalMode
-
Traverse the hierarchy using top-down semantics.
- TOP_DOWN - org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
-
Traverse the hierarchy using top-down semantics.
- toPredicate() - Method in interface org.junit.platform.engine.Filter
- toReasonString(String) - Method in class org.junit.jupiter.engine.script.Script
-
Deprecated.
- toRequest() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- 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 org.junit.platform.console.options.Details
-
Return lower case
Enum.name
for easier usage in help text for available options. - toString() - Method in enum 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.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.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.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 configuredUniqueIdFormat
. - 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
- TOTAL_REPETITIONS_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.api.RepeatedTest
-
Placeholder for the total number of repetitions of a
@RepeatedTest
method:{totalRepetitions}
- 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 providedmessageSupplier
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 - 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 typeT
. - 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
All Classes All Packages