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
-
@Tagis 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
TagExpressionor throw an exception with the contained parse error. - TagFilter - Class in org.junit.platform.launcher
-
Factory methods for creating
PostDiscoveryFiltersbased 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
-
@Tagsis a container for one or more@Tagdeclarations. - TempDir - Annotation Type in org.junit.jupiter.api.io
- TerminationInfo - Class in org.junit.platform.testkit.engine
-
TerminationInfois a union type that allows propagation of terminated container/test state, supporting either the reason if the container/test was skipped or theTestExecutionResultif 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
Conditionthat 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
-
@Testis used to signal that the annotated method is a test method. - TEST - org.junit.platform.engine.TestDescriptor.Type
-
Denotes that the
TestDescriptoris for a test. - Testable - Annotation Type in org.junit.platform.commons.annotation
-
@Testableis 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
TestDescriptorstructure. - 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
TestEnginefacilitates discovery and execution of tests for a particular programming model. - TestExecutionExceptionHandler - Interface in org.junit.jupiter.api.extension
-
TestExecutionExceptionHandlerdefines the API forExtensionsthat wish to handle exceptions thrown during test execution. - TestExecutionListener - Interface in org.junit.platform.launcher
-
Register a concrete implementation of this interface with a
Launcherto be notified of events that occur during test execution. - TestExecutionResult - Class in org.junit.platform.engine
-
TestExecutionResultencapsulates 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
-
@TestFactoryis used to signal that the annotated method is a test factory method. - TestFactoryTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptorfor@TestFactorymethods. - 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
-
TestInfois used to inject information about the current test or container into to@Test,@RepeatedTest,@ParameterizedTest,@TestFactory,@BeforeEach,@AfterEach,@BeforeAll, and@AfterAllmethods. - TestInstance - Annotation Type in org.junit.jupiter.api
-
@TestInstanceis 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
-
TestInstanceFactoryContextencapsulates 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
-
TestInstancePostProcessordefines the API forExtensionsthat wish to post-process test instances. - TestInstances - Interface in org.junit.jupiter.api.extension
-
TestInstancesencapsulates 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
-
@TestMethodOrderis a type-level annotation that is used to configure aMethodOrdererfor the test methods of the annotated test class or test interface. - TestMethodTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptorfor@Testmethods. - TestMethodTestDescriptor(UniqueId, Class<?>, Method, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- TestPlan - Class in org.junit.platform.launcher
-
TestPlandescribes 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
TestPlanhas 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
TestPlanhas 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
TestReportercan be injected into@BeforeEachand@AfterEachlifecycle 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
-
@TestTemplateis used to signal that the annotated method is a test template method. - TestTemplateInvocationContext - Interface in org.junit.jupiter.api.extension
-
TestTemplateInvocationContextrepresents the context of a single invocation of a test template. - TestTemplateInvocationContextProvider - Interface in org.junit.jupiter.api.extension
-
TestTemplateInvocationContextProviderdefines the API forExtensionsthat wish to provide one or multiple contexts for the invocation of a@TestTemplatemethod. - TestTemplateInvocationTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptorfor a@TestTemplateinvocation. - TestTemplateTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptorfor@TestTemplatemethods. - TestTemplateTestDescriptor(UniqueId, Class<?>, Method, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- TestWatcher - Interface in org.junit.jupiter.api.extension
-
TestWatcherdefines the API forExtensionsthat 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
Conditionthat 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
ThrowableCollectorinstances. - 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
-
ThrowingConsumeris 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
-
ThrowingSupplieris 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
-
@Timeoutis used to define a timeout for a method or all testable methods within one class and its@Nestedclasses. - 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
Tryis a failure, return an emptyOptional; if thisTryis 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.namefor 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
UniqueIdusing 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
@RepeatedTestmethod:{totalRepetitions} - toUnmodifiableList() - Static method in class org.junit.platform.commons.util.CollectionUtils
-
Return a
Collectorthat 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
Throwableand message from the providedmessageSupplierat trace level. - trace(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplierat 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
Sto 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
Methodin 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