A B C D E F G H I J L M N O P R S T U V W
A
- aborted() - Method in enum org.junit.platform.console.options.Theme
- aborted(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
-
Obtain a
TestExecutionResult
for an aborted execution of a test or container with the suppliedthrowable
. - ABORTED - org.junit.platform.engine.TestExecutionResult.Status
-
Indicates that the execution of a test or container was aborted (started but not finished).
- AbstractTestDescriptor - Class in org.junit.platform.engine.support.descriptor
-
Abstract base implementation of
TestDescriptor
that may be used by customTestEngines
. - AbstractTestDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
Create a new
AbstractTestDescriptor
with the suppliedUniqueId
and display name. - AbstractTestDescriptor(UniqueId, String, TestSource) - Constructor for class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
Create a new
AbstractTestDescriptor
with the suppliedUniqueId
, display name, and source. - AbstractTestRuleAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
- AbstractTestRuleAdapter(TestRuleAnnotatedMember, Class<? extends TestRule>) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
- accept(TestDescriptor.Visitor) - Method in interface org.junit.platform.engine.TestDescriptor
-
Accept a visitor to the subtree starting with this descriptor.
- accept(T) - Method in interface org.junit.jupiter.api.function.ThrowingConsumer
-
Consume the supplied argument, potentially throwing an exception.
- acquire() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
-
Acquire this resource lock, potentially blocking.
- adaptFilter(Filter<V>, Function<T, V>) - Static method in interface org.junit.platform.engine.Filter
-
Return a filter that will include elements if and only if the adapted
Filter
includes the value converted using the suppliedFunction
. - add(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
-
Add the supplied
TestIdentifier
to this test plan. - addChild(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- addChild(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
-
Add a child to this descriptor.
- addListener(LogRecordListener) - Static method in class org.junit.platform.commons.logging.LoggerFactory
-
Add the supplied
LogRecordListener
to the set of registered listeners. - addTestEngines(TestEngine...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Add all of the supplied
engines
to the configuration. - addTestExecutionListeners(TestExecutionListener...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Add all of the supplied
listeners
to the configuration. - after() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.ExpectedExceptionAdapter
- after() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.ExternalResourceAdapter
- after() - Method in interface org.junit.jupiter.migrationsupport.rules.adapter.GenericBeforeAndAfterAdvice
- after() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.VerifierAdapter
- after(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Execute the after behavior of this node.
- after(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- after(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- afterAll(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.AfterAllCallback
-
Callback that is invoked once after all tests in the current container.
- AfterAll - Annotation Type in org.junit.jupiter.api
-
@AfterAll
is used to signal that the annotated method should be executed after all tests in the current test class. - AfterAllCallback - Interface in org.junit.jupiter.api.extension
-
AfterAllCallback
defines the API forExtensions
that wish to provide additional behavior to test containers after all tests have been invoked. - afterEach(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.AfterEachCallback
-
Callback that is invoked after each test has been invoked.
- afterEach(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
- afterEach(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport
- afterEach(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.VerifierSupport
- AfterEach - Annotation Type in org.junit.jupiter.api
-
@AfterEach
is used to signal that the annotated method should be executed after each@Test
,@RepeatedTest
,@ParameterizedTest
,@TestFactory
, and@TestTemplate
method in the current test class. - AfterEachCallback - Interface in org.junit.jupiter.api.extension
-
AfterEachCallback
defines the API forExtensions
that wish to provide additional behavior to tests after each test method has been invoked. - AfterEachMethodAdapter - Interface in org.junit.jupiter.engine.execution
-
Functional interface for registering an
@AfterEach
method as a pseudo-extension. - afterTestExecution(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.AfterTestExecutionCallback
-
Callback that is invoked immediately after each test has been executed.
- AfterTestExecutionCallback - Interface in org.junit.jupiter.api.extension
-
AfterTestExecutionCallback
defines the API forExtensions
that wish to provide additional behavior to tests immediately after each test has been executed. - aggregateArguments(ArgumentsAccessor, ParameterContext) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAggregator
-
Aggregate the arguments contained in the supplied
accessor
into a single object. - AggregateWith - Annotation Type in org.junit.jupiter.params.aggregator
-
@AggregateWith
is an annotation that allows one to specify anArgumentsAggregator
. - AIX - org.junit.jupiter.api.condition.OS
-
IBM AIX operating system.
- allow(UniqueId) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- allowAll() - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- AnnotationConsumer<A extends Annotation> - Interface in org.junit.jupiter.params.support
-
AnnotationConsumer
is a functional interface for consuming annotations. - AnnotationConsumerInitializer - Class in org.junit.jupiter.params.support
-
AnnotationConsumerInitializer
is an internal helper class for initializingAnnotationConsumers
. - AnnotationSupport - Class in org.junit.platform.commons.support
-
Common annotation support.
- AnnotationUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with annotations.
- append(String, Object) - Method in class org.junit.platform.commons.util.ToStringBuilder
- append(String, String) - Method in class org.junit.platform.engine.UniqueId
-
Construct a new
UniqueId
by appending a newUniqueId.Segment
, based on the suppliedsegmentType
andvalue
, to the end of thisUniqueId
. - append(UniqueId.Segment) - Method in class org.junit.platform.engine.UniqueId
- apply(Serializable) - Method in class org.junit.vintage.engine.support.UniqueIdStringifier
- apply(TestEngine) - Method in class org.junit.platform.launcher.EngineFilter
- apply(Description) - Method in class org.junit.vintage.engine.support.UniqueIdReader
- apply(T) - Method in interface org.junit.platform.engine.Filter
-
Apply this filter to the supplied object.
- ArgumentAccessException - Exception in org.junit.jupiter.params.aggregator
-
ArgumentAccessException
is an exception thrown by anArgumentsAccessor
if an error occurs while accessing or converting an argument. - ArgumentAccessException(String) - Constructor for exception org.junit.jupiter.params.aggregator.ArgumentAccessException
- ArgumentAccessException(String, Throwable) - Constructor for exception org.junit.jupiter.params.aggregator.ArgumentAccessException
- ArgumentConversionException - Exception in org.junit.jupiter.params.converter
-
ArgumentConversionException
is an exception that can occur when an object is converted to another object by an implementation of anArgumentConverter
. - ArgumentConversionException(String) - Constructor for exception org.junit.jupiter.params.converter.ArgumentConversionException
- ArgumentConversionException(String, Throwable) - Constructor for exception org.junit.jupiter.params.converter.ArgumentConversionException
- ArgumentConverter - Interface in org.junit.jupiter.params.converter
-
ArgumentConverter
is an abstraction that allows an input object to be converted to an instance of a different class. - arguments(Object...) - Static method in interface org.junit.jupiter.params.provider.Arguments
-
Factory method for creating an instance of
Arguments
based on the suppliedarguments
. - Arguments - Interface in org.junit.jupiter.params.provider
-
Arguments
is an abstraction that provides access to an array of objects to be used for invoking a@ParameterizedTest
method. - ARGUMENTS_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
-
Placeholder for the complete, comma-separated arguments list of the current invocation of a
@ParameterizedTest
method:{arguments}
- ArgumentsAccessor - Interface in org.junit.jupiter.params.aggregator
-
ArgumentsAccessor
defines the public API for accessing arguments provided by anArgumentsProvider
for a single invocation of a@ParameterizedTest
method. - ArgumentsAggregationException - Exception in org.junit.jupiter.params.aggregator
-
ArgumentsAggregationException
is an exception thrown by anArgumentsAggregator
when an error occurs while aggregating arguments. - ArgumentsAggregationException(String) - Constructor for exception org.junit.jupiter.params.aggregator.ArgumentsAggregationException
- ArgumentsAggregationException(String, Throwable) - Constructor for exception org.junit.jupiter.params.aggregator.ArgumentsAggregationException
- ArgumentsAggregator - Interface in org.junit.jupiter.params.aggregator
-
ArgumentsAggregator
is an abstraction for the aggregation of arguments provided by anArgumentsProvider
for a single invocation of a@ParameterizedTest
method into a single object. - ArgumentsProvider - Interface in org.junit.jupiter.params.provider
-
An
ArgumentsProvider
is responsible for providing a stream of arguments to be passed to a@ParameterizedTest
method. - ArgumentsSource - Annotation Type in org.junit.jupiter.params.provider
-
@ArgumentsSource
is a repeatable annotation that is used to register argument providers for the annotated test method. - ArgumentsSources - Annotation Type in org.junit.jupiter.params.provider
-
@ArgumentsSources
is a simple container for one or moreArgumentsSource
annotations. - ASCII - org.junit.platform.console.options.Theme
-
ASCII 7-bit characters form the tree branch.
- assertAll(String, Collection<Executable>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that all supplied
executables
do not throw exceptions. - assertAll(String, Stream<Executable>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that all supplied
executables
do not throw exceptions. - assertAll(String, Executable...) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that all supplied
executables
do not throw exceptions. - assertAll(Collection<Executable>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that all supplied
executables
do not throw exceptions. - assertAll(Stream<Executable>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that all supplied
executables
do not throw exceptions. - assertAll(Executable...) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that all supplied
executables
do not throw exceptions. - assertArrayEquals(boolean[], boolean[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
boolean arrays are equal. - assertArrayEquals(boolean[], boolean[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
boolean arrays are equal. - assertArrayEquals(boolean[], boolean[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
boolean arrays are equal. - assertArrayEquals(byte[], byte[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
byte arrays are equal. - assertArrayEquals(byte[], byte[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
byte arrays are equal. - assertArrayEquals(byte[], byte[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
byte arrays are equal. - assertArrayEquals(char[], char[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
char arrays are equal. - assertArrayEquals(char[], char[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
char arrays are equal. - assertArrayEquals(char[], char[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
char arrays are equal. - assertArrayEquals(double[], double[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
double arrays are equal. - assertArrayEquals(double[], double[], double) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
double arrays are equal within the givendelta
. - assertArrayEquals(double[], double[], double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
double arrays are equal within the givendelta
. - assertArrayEquals(double[], double[], double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
double arrays are equal within the givendelta
. - assertArrayEquals(double[], double[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
double arrays are equal. - assertArrayEquals(double[], double[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
double arrays are equal. - assertArrayEquals(float[], float[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
float arrays are equal. - assertArrayEquals(float[], float[], float) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
float arrays are equal within the givendelta
. - assertArrayEquals(float[], float[], float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
float arrays are equal within the givendelta
. - assertArrayEquals(float[], float[], float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
float arrays are equal within the givendelta
. - assertArrayEquals(float[], float[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
float arrays are equal. - assertArrayEquals(float[], float[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
float arrays are equal. - assertArrayEquals(int[], int[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
int arrays are equal. - assertArrayEquals(int[], int[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
int arrays are equal. - assertArrayEquals(int[], int[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
int arrays are equal. - assertArrayEquals(long[], long[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
long arrays are equal. - assertArrayEquals(long[], long[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
long arrays are equal. - assertArrayEquals(long[], long[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
long arrays are equal. - assertArrayEquals(short[], short[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
short arrays are equal. - assertArrayEquals(short[], short[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
short arrays are equal. - assertArrayEquals(short[], short[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
short arrays are equal. - assertArrayEquals(Object[], Object[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
object arrays are deeply equal. - assertArrayEquals(Object[], Object[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
object arrays are deeply equal. - assertArrayEquals(Object[], Object[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
object arrays are deeply equal. - assertDoesNotThrow(Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
executable
does not throw any kind of exception. - assertDoesNotThrow(Executable, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
executable
does not throw any kind of exception. - assertDoesNotThrow(Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
executable
does not throw any kind of exception. - assertDoesNotThrow(ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
supplier
does not throw any kind of exception. - assertDoesNotThrow(ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
supplier
does not throw any kind of exception. - assertDoesNotThrow(ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
supplier
does not throw any kind of exception. - assertEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Assert that this
ThrowableCollector
is empty (i.e., has not collected anyThrowables
). - assertEquals(byte, byte) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(char, char) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(char, char, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(char, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(double, double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal within the givendelta
. - assertEquals(double, double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal within the givendelta
. - assertEquals(double, double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal within the givendelta
. - assertEquals(double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(float, float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal within the givendelta
. - assertEquals(float, float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal within the givendelta
. - assertEquals(float, float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal within the givendelta
. - assertEquals(float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(int, int) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(int, int, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(int, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(long, long) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(long, long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(short, short) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(short, short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are equal. - assertFalse(boolean) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied
condition
is nottrue
. - assertFalse(boolean, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied
condition
is nottrue
. - assertFalse(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied
condition
is nottrue
. - assertFalse(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by
booleanSupplier
is nottrue
. - assertFalse(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by
booleanSupplier
is nottrue
. - assertFalse(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by
booleanSupplier
is nottrue
. - Assertions - Class in org.junit.jupiter.api
-
Assertions
is a collection of utility methods that support asserting conditions in tests. - Assertions() - Constructor for class org.junit.jupiter.api.Assertions
-
Protected constructor allowing subclassing but not direct instantiation.
- assertIterableEquals(Iterable<?>, Iterable<?>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
iterables are deeply equal. - assertIterableEquals(Iterable<?>, Iterable<?>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
iterables are deeply equal. - assertIterableEquals(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
iterables are deeply equal. - assertLinesMatch(List<String>, List<String>) - Static method in class org.junit.jupiter.api.Assertions
- assertNotEquals(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are not equal. - assertNotEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are not equal. - assertNotEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
are not equal. - assertNotNull(Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
actual
is notnull
. - assertNotNull(Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
actual
is notnull
. - assertNotNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
actual
is notnull
. - assertNotSame(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
do not refer to the same object. - assertNotSame(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
do not refer to the same object. - assertNotSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
do not refer to the same object. - assertNull(Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
actual
isnull
. - assertNull(Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
actual
isnull
. - assertNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
actual
isnull
. - assertPackageNameIsValid(String) - Static method in class org.junit.platform.commons.util.PackageUtils
-
Assert that the supplied package name is valid in terms of Java syntax.
- assertSame(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
refer to the same object. - assertSame(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
refer to the same object. - assertSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that
expected
andactual
refer to the same object. - assertThrows(Class<T>, Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
executable
throws an exception of theexpectedType
and returns the exception. - assertThrows(Class<T>, Executable, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
executable
throws an exception of theexpectedType
and returns the exception. - assertThrows(Class<T>, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
executable
throws an exception of theexpectedType
and returns the exception. - assertThrows(Class<T>, ThrowingSupplier<?>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the given
supplier
throws an exception of theexpectedType
and returns the exception. - assertThrows(Class<T>, ThrowingSupplier<?>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the given
supplier
throws an exception of theexpectedType
and returns the exception. - assertThrows(Class<T>, ThrowingSupplier<?>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the given
supplier
throws an exception of theexpectedType
and returns the exception. - assertTimeout(Duration, Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
executable
completes before the giventimeout
is exceeded. - assertTimeout(Duration, Executable, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
executable
completes before the giventimeout
is exceeded. - assertTimeout(Duration, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
executable
completes before the giventimeout
is exceeded. - assertTimeout(Duration, ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
supplier
completes before the giventimeout
is exceeded. - assertTimeout(Duration, ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
supplier
completes before the giventimeout
is exceeded. - assertTimeout(Duration, ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
supplier
completes before the giventimeout
is exceeded. - assertTimeoutPreemptively(Duration, Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
executable
completes before the giventimeout
is exceeded. - assertTimeoutPreemptively(Duration, Executable, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
executable
completes before the giventimeout
is exceeded. - assertTimeoutPreemptively(Duration, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
executable
completes before the giventimeout
is exceeded. - assertTimeoutPreemptively(Duration, ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
supplier
completes before the giventimeout
is exceeded. - assertTimeoutPreemptively(Duration, ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
supplier
completes before the giventimeout
is exceeded. - assertTimeoutPreemptively(Duration, ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied
supplier
completes before the giventimeout
is exceeded. - assertTrue(boolean) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied
condition
istrue
. - assertTrue(boolean, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied
condition
istrue
. - assertTrue(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied
condition
istrue
. - assertTrue(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by
booleanSupplier
istrue
. - assertTrue(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by
booleanSupplier
istrue
. - assertTrue(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by
booleanSupplier
istrue
. - assumeFalse(boolean) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeFalse(boolean, String) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeFalse(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeFalse(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeFalse(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeFalse(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeTrue(boolean) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeTrue(boolean, String) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeTrue(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeTrue(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeTrue(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeTrue(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumingThat(boolean, Executable) - Static method in class org.junit.jupiter.api.Assumptions
-
Execute the supplied
Executable
, but only if the supplied assumption is valid. - assumingThat(BooleanSupplier, Executable) - Static method in class org.junit.jupiter.api.Assumptions
-
Execute the supplied
Executable
, but only if the supplied assumption is valid. - Assumptions - Class in org.junit.jupiter.api
-
Assumptions
is a collection of utility methods that support conditional test execution based on assumptions. - Assumptions() - Constructor for class org.junit.jupiter.api.Assumptions
-
Protected constructor allowing subclassing but not direct instantiation.