- accept(T) - Method in interface org.junit.jupiter.api.function.ThrowingConsumer
-
Consume the supplied argument, potentially throwing an exception.
- 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.
- afterAll(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.AfterAllCallback
-
Callback that is invoked once after all tests in the current
container.
- AfterAllCallback - Interface in org.junit.jupiter.api.extension
-
AfterAllCallback
defines the API for
Extensions
that wish to provide additional behavior to test containers after all tests
have been invoked.
- AfterEach - Annotation Type in org.junit.jupiter.api
-
@AfterEach
is used to signal that the annotated method should be
executed after each @Test
method in
the current test class.
- afterEach(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.AfterEachCallback
-
Callback that is invoked after each test has been invoked.
- AfterEachCallback - Interface in org.junit.jupiter.api.extension
-
AfterEachCallback
defines the API for
Extensions
that wish to provide additional behavior to tests after each test method
has been invoked.
- 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 for
Extensions
that wish to provide additional behavior to tests immediately
after each test has been executed.
- assertAll(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(String, 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.
- assertArrayEquals(boolean[], boolean[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
boolean arrays are equal.
- assertArrayEquals(boolean[], boolean[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
boolean arrays are equal.
- assertArrayEquals(boolean[], boolean[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
boolean arrays are equal.
- assertArrayEquals(char[], char[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
char arrays are equal.
- assertArrayEquals(char[], char[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
char arrays are equal.
- assertArrayEquals(char[], char[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
char arrays are equal.
- assertArrayEquals(byte[], byte[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
byte arrays are equal.
- assertArrayEquals(byte[], byte[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
byte arrays are equal.
- assertArrayEquals(byte[], byte[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
byte arrays are equal.
- assertArrayEquals(short[], short[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
short arrays are equal.
- assertArrayEquals(short[], short[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
short arrays are equal.
- assertArrayEquals(short[], short[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
short arrays are equal.
- assertArrayEquals(int[], int[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
int arrays are equal.
- assertArrayEquals(int[], int[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
int arrays are equal.
- assertArrayEquals(int[], int[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
int arrays are equal.
- assertArrayEquals(long[], long[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
long arrays are equal.
- assertArrayEquals(long[], long[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
long arrays are equal.
- assertArrayEquals(long[], long[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
long arrays are equal.
- assertArrayEquals(float[], float[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
float arrays are equal.
- assertArrayEquals(float[], float[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
float arrays are equal.
- assertArrayEquals(float[], float[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
float arrays are equal.
- assertArrayEquals(float[], float[], float) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
float arrays are equal within the given delta
.
- assertArrayEquals(float[], float[], float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
float arrays are equal within the given delta
.
- assertArrayEquals(float[], float[], float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
float arrays are equal within the given delta
.
- assertArrayEquals(double[], double[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
double arrays are equal.
- assertArrayEquals(double[], double[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
double arrays are equal.
- assertArrayEquals(double[], double[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
double arrays are equal.
- assertArrayEquals(double[], double[], double) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
double arrays are equal within the given delta
.
- assertArrayEquals(double[], double[], double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
double arrays are equal within the given delta
.
- assertArrayEquals(double[], double[], double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
double arrays are equal within the given delta
.
- assertArrayEquals(Object[], Object[]) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
object arrays are deeply equal.
- assertArrayEquals(Object[], Object[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
object arrays are deeply equal.
- assertArrayEquals(Object[], Object[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
object arrays are deeply equal.
- assertEquals(short, short) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(short, short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(byte, byte) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(int, int) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(int, int, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(int, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(long, long) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(long, long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(char, char) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(char, char, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(char, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(float, float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal within the given delta
.
- assertEquals(float, float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal within the given delta
.
- assertEquals(float, float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal within the given delta
.
- assertEquals(double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(double, double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal within the given delta
.
- assertEquals(double, double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal within the given delta
.
- assertEquals(double, double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal within the given delta
.
- assertEquals(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are equal.
- assertFalse(boolean) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied condition
is not true
.
- assertFalse(boolean, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied condition
is not true
.
- assertFalse(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied condition
is not true
.
- assertFalse(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by booleanSupplier
is not true
.
- assertFalse(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by booleanSupplier
is not true
.
- assertFalse(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by booleanSupplier
is not true
.
- Assertions - Class in org.junit.jupiter.api
-
Assertions
is a collection of utility methods that support asserting
conditions in tests.
- assertIterableEquals(Iterable<?>, Iterable<?>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
iterables are deeply equal.
- assertIterableEquals(Iterable<?>, Iterable<?>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
iterables are deeply equal.
- assertIterableEquals(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
iterables are deeply equal.
- assertLinesMatch(List<String>, List<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
list of Strings matches actual
list.
- assertNotEquals(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are not equal.
- assertNotEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are not equal.
- assertNotEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
are not equal.
- assertNotNull(Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that actual
is not null
.
- assertNotNull(Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that actual
is not null
.
- assertNotNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that actual
is not null
.
- assertNotSame(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
do not refer to the same object.
- assertNotSame(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
do not refer to the same object.
- assertNotSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
do not refer to the same object.
- assertNull(Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that actual
is null
.
- assertNull(Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that actual
is null
.
- assertNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that actual
is null
.
- assertSame(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
refer to the same object.
- assertSame(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
refer to the same object.
- assertSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that expected
and actual
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 the expectedType
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 the expectedType
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 the expectedType
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 given timeout
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 given timeout
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 given timeout
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 given timeout
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 given timeout
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 given timeout
is exceeded.
- assertTimeoutPreemptively(Duration, Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that execution of the supplied executable
completes before the given timeout
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 given timeout
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 given timeout
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 given timeout
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 given timeout
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 given timeout
is exceeded.
- assertTrue(boolean) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied condition
is true
.
- assertTrue(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied condition
is true
.
- assertTrue(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by booleanSupplier
is true
.
- assertTrue(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by booleanSupplier
is true
.
- assertTrue(boolean, String) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the supplied condition
is true
.
- assertTrue(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Asserts that the boolean condition supplied by booleanSupplier
is true
.
- assumeFalse(boolean) - 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(boolean, Supplier<String>) - 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(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(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(boolean, Supplier<String>) - 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(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumingThat(BooleanSupplier, Executable) - Static method in class org.junit.jupiter.api.Assumptions
-
Execute the supplied
Executable
, but only if the supplied
assumption is valid.
- assumingThat(boolean, 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.
- get(Object) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value that is stored under the supplied key
.
- get(Object, Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value of the specified required type that is stored under
the supplied key
.
- get() - Method in interface org.junit.jupiter.api.function.ThrowingSupplier
-
Gets a result.
- getAdditionalExtensions() - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContext
-
Get the additional
extensions for this invocation.
- getChildren() - Method in class org.junit.jupiter.api.DynamicContainer
-
Get the
Stream
of
DynamicNodes
associated
with this container.
- getCurrentRepetition() - Method in interface org.junit.jupiter.api.RepetitionInfo
-
Get the current repetition of the corresponding
@RepeatedTest
method.
- getDeclaringExecutable() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the Executable
(i.e., the Method
or
Constructor
) that declares the Parameter
for this context.
- getDisplayName() - Method in class org.junit.jupiter.api.DynamicNode
-
Get the display name of this DynamicTest
.
- getDisplayName() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the display name for the current test or container.
- getDisplayName(int) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContext
-
Get the display name for this invocation.
- getDisplayName() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the display name of the current test or container.
- getElement() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the AnnotatedElement
corresponding to the current extension
context, if available.
- getExecutable() - Method in class org.junit.jupiter.api.DynamicTest
-
Get the executable
code block associated with this DynamicTest
.
- getExecutionException() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the exception that was thrown during execution of the test or container
associated with this ExtensionContext
, if available.
- getIndex() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the index of the
Parameter
for this context within the
parameter list of the
Executable
that
declares the parameter.
- getOrComputeIfAbsent(K, Function<K, V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value that is stored under the supplied key
.
- getOrComputeIfAbsent(K, Function<K, V>, Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value of the specified required type that is stored under the
supplied key
.
- getParameter() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the Parameter
for this context.
- getParent() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the parent extension context, if available.
- getReason() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Get the reason why the container or test should be enabled or disabled,
if available.
- getRequiredTestClass() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required Class
associated with the current test
or container.
- getRequiredTestInstance() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required test instance associated with the current test
or container.
- getRequiredTestMethod() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required Method
associated with the current test
or container.
- getRoot() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the root ExtensionContext
.
- getStore() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
- getStore(ExtensionContext.Namespace) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
- getTags() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the set of all tags for the current test or container.
- getTags() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the set of all tags for the current test or container.
- getTarget() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the target on which the
Executable
that declares the
Parameter
for this context will
be invoked, if available.
- getTestClass() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the Class
associated with the current test or container,
if available.
- getTestClass() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the Class
associated with the current test or container, if available.
- getTestInstance() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the test instance associated with the current test or container,
if available.
- getTestMethod() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the Method
associated with the current test, if available.
- getTestMethod() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the Method
associated with the current test, if available.
- getTotalRepetitions() - Method in interface org.junit.jupiter.api.RepetitionInfo
-
Get the total number of repetitions of the corresponding
@RepeatedTest
method.
- getUniqueId() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the unique ID of the current test or container.