A B C D E F G H I J L M N O P R S T V W
A
- accept(T) - Method in interface org.junit.jupiter.api.function.ThrowingConsumer
-
Consume the supplied argument, potentially throwing an exception.
- 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 - 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. - 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. - 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. - 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. - 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
-
Asserts that
expected
list of Strings matchesactual
list. - 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
. - 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. - 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.
B
- beforeAll(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.BeforeAllCallback
-
Callback that is invoked once before all tests in the current container.
- BeforeAll - Annotation Type in org.junit.jupiter.api
-
@BeforeAll
is used to signal that the annotated method should be executed before all tests in the current test class. - BeforeAllCallback - Interface in org.junit.jupiter.api.extension
-
BeforeAllCallback
defines the API forExtensions
that wish to provide additional behavior to test containers before all tests are invoked. - beforeEach(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.BeforeEachCallback
-
Callback that is invoked before each test is invoked.
- BeforeEach - Annotation Type in org.junit.jupiter.api
-
@BeforeEach
is used to signal that the annotated method should be executed before each@Test
,@RepeatedTest
,@ParameterizedTest
,@TestFactory
, and@TestTemplate
method in the current test class. - BeforeEachCallback - Interface in org.junit.jupiter.api.extension
-
BeforeEachCallback
defines the API forExtensions
that wish to provide additional behavior to tests before each test is invoked. - beforeTestExecution(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.BeforeTestExecutionCallback
-
Callback that is invoked immediately before each test is executed.
- BeforeTestExecutionCallback - Interface in org.junit.jupiter.api.extension
-
BeforeTestExecutionCallback
defines the API forExtensions
that wish to provide additional behavior to tests immediately before each test is executed.
C
- close() - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store.CloseableResource
-
Close underlying resources.
- ConditionEvaluationResult - Class in org.junit.jupiter.api.extension
-
The result of evaluating an ExecutionCondition.
- create(Object...) - Static method in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
-
Create a namespace which restricts access to data to all extensions which use the same sequence of
parts
for creating a namespace. - CURRENT_REPETITION_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.api.RepeatedTest
-
Placeholder for the current repetition count of a
@RepeatedTest
method:{currentRepetition}
D
- disabled(String) - Static method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Factory for creating disabled results.
- Disabled - Annotation Type in org.junit.jupiter.api
-
@Disabled
is used to signal that the annotated test class or test method is currently disabled and should not be executed. - DisabledIf - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledIf
is used to determine whether the annotated test class or test method is disabled by evaluating a script. - DisabledIfEnvironmentVariable - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledIfEnvironmentVariable
is used to signal that the annotated test class or test method is disabled if the value of the specified environment variable matches the specified regular expression. - DisabledIfSystemProperty - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledIfSystemProperty
is used to signal that the annotated test class or test method is disabled if the value of the specified system property matches the specified regular expression. - DisabledOnJre - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledOnJre
is used to signal that the annotated test class or test method is disabled on one or more specified Java Runtime Environment (JRE) versions. - DisabledOnOs - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledOnOs
is used to signal that the annotated test class or test method is disabled on one or more specified operating systems. - DISPLAY_NAME_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.api.RepeatedTest
- DisplayName - Annotation Type in org.junit.jupiter.api
-
@DisplayName
is used to declare a custom display name for the annotated test class or test method. - dynamicContainer(String, Iterable<? extends DynamicNode>) - Static method in class org.junit.jupiter.api.DynamicContainer
-
Factory for creating a new
DynamicContainer
for the supplied display name and collection of dynamic nodes. - dynamicContainer(String, Stream<? extends DynamicNode>) - Static method in class org.junit.jupiter.api.DynamicContainer
-
Factory for creating a new
DynamicContainer
for the supplied display name and stream of dynamic nodes. - DynamicContainer - Class in org.junit.jupiter.api
-
A
DynamicContainer
is a container generated at runtime. - DynamicNode - Class in org.junit.jupiter.api
-
DynamicNode
serves as the abstract base class for a container or a test case generated at runtime. - dynamicTest(String, Executable) - Static method in class org.junit.jupiter.api.DynamicTest
-
Factory for creating a new
DynamicTest
for the supplied display name and executable code block. - DynamicTest - Class in org.junit.jupiter.api
-
A
DynamicTest
is a test case generated at runtime.
E
- enabled(String) - Static method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Factory for creating enabled results.
- EnabledIf - Annotation Type in org.junit.jupiter.api.condition
-
@EnabledIf
is used to determine whether the annotated test class or test method is enabled by evaluating a script. - EnabledIfEnvironmentVariable - Annotation Type in org.junit.jupiter.api.condition
-
@EnabledIfEnvironmentVariable
is used to signal that the annotated test class or test method is only enabled if the value of the specified environment variable matches the specified regular expression. - EnabledIfSystemProperty - Annotation Type in org.junit.jupiter.api.condition
-
@EnabledIfSystemProperty
is used to signal that the annotated test class or test method is only enabled if the value of the specified system property matches the specified regular expression. - EnabledOnJre - Annotation Type in org.junit.jupiter.api.condition
-
@EnabledOnJre
is used to signal that the annotated test class or test method is only enabled on one or more specified Java Runtime Environment (JRE) versions. - EnabledOnOs - Annotation Type in org.junit.jupiter.api.condition
-
@EnabledOnOs
is used to signal that the annotated test class or test method is only enabled on one or more specified operating systems. - engine() - Method in annotation type org.junit.jupiter.api.condition.DisabledIf
-
Short name of the
ScriptEngine
to use. - engine() - Method in annotation type org.junit.jupiter.api.condition.EnabledIf
-
Short name of the
ScriptEngine
to use. - equals(Object) - Method in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
- evaluateExecutionCondition(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ExecutionCondition
-
Evaluate this condition for the supplied
ExtensionContext
. - Executable - Interface in org.junit.jupiter.api.function
-
Executable
is a functional interface that can be used to implement any generic block of code that potentially throws aThrowable
. - execute() - Method in interface org.junit.jupiter.api.function.Executable
- ExecutionCondition - Interface in org.junit.jupiter.api.extension
-
ExecutionCondition
defines theExtension
API for programmatic, conditional test execution. - ExtendWith - Annotation Type in org.junit.jupiter.api.extension
-
@ExtendWith
is a repeatable annotation that is used to register extensions for the annotated test class or test method. - Extension - Interface in org.junit.jupiter.api.extension
-
Marker interface for all extensions.
- ExtensionConfigurationException - Exception in org.junit.jupiter.api.extension
-
Thrown if an error is encountered regarding the configuration of an extension.
- ExtensionConfigurationException(String) - Constructor for exception org.junit.jupiter.api.extension.ExtensionConfigurationException
- ExtensionConfigurationException(String, Throwable) - Constructor for exception org.junit.jupiter.api.extension.ExtensionConfigurationException
- ExtensionContext - Interface in org.junit.jupiter.api.extension
-
ExtensionContext
encapsulates the context in which the current test or container is being executed. - ExtensionContext.Namespace - Class in org.junit.jupiter.api.extension
-
A
Namespace
is used to provide a scope for data saved by extensions within aExtensionContext.Store
. - ExtensionContext.Store - Interface in org.junit.jupiter.api.extension
-
Store
provides methods for extensions to save and retrieve data. - ExtensionContext.Store.CloseableResource - Interface in org.junit.jupiter.api.extension
-
Classes implementing this interface indicate that they want to
ExtensionContext.Store.CloseableResource.close()
some underlying resource or resources when the enclosingStore
is closed. - ExtensionContextException - Exception in org.junit.jupiter.api.extension
-
Thrown if an error is encountered regarding the use of an
ExtensionContext
orExtensionContext.Store
. - ExtensionContextException(String) - Constructor for exception org.junit.jupiter.api.extension.ExtensionContextException
- Extensions - Annotation Type in org.junit.jupiter.api.extension
-
@Extensions
is a container for one or more@ExtendWith
declarations.
F
- fail() - Static method in class org.junit.jupiter.api.Assertions
-
Fails a test without a failure message.
- fail(String) - Static method in class org.junit.jupiter.api.Assertions
-
Fails a test with the given failure
message
. - fail(String, Throwable) - Static method in class org.junit.jupiter.api.Assertions
-
Fails a test with the given failure
message
as well as the underlyingcause
. - fail(Throwable) - Static method in class org.junit.jupiter.api.Assertions
-
Fails a test with the given underlying
cause
. - fail(Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Fails a test with the failure message retrieved from the given
messageSupplier
. - findAnnotation(Class<A>) - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Find the first annotation of
annotationType
that is either present or meta-present on theParameter
for this context. - findRepeatableAnnotations(Class<A>) - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Find all repeatable annotations of
annotationType
that are either present or meta-present on theParameter
for this context.
G
- get() - Method in interface org.junit.jupiter.api.function.ThrowingSupplier
-
Get a result, potentially throwing an exception.
- 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
. - 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
- getConfigurationParameter(String) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the configuration parameter stored under the specified
key
. - 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., theMethod
orConstructor
) that declares theParameter
for this context. - getDisplayName() - Method in class org.junit.jupiter.api.DynamicNode
-
Get the display name of this
DynamicNode
. - getDisplayName() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the display name for the current test or container.
- getDisplayName() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the display name of the current test or container.
- getDisplayName(int) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContext
-
Get the display name for this invocation.
- 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 thisDynamicTest
. - 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 theExecutable
that declares the parameter. - getOrComputeIfAbsent(Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the object of type
type
that is present in thisStore
(keyed bytype
); and otherwise invoke the default constructor fortype
to generate the object, store it, and return it. - 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(ExtensionContext.Namespace) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
ExtensionContext.Store
for the suppliedExtensionContext.Namespace
. - 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 theParameter
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.
- getTestInstanceLifecycle() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
TestInstance.Lifecycle
of 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 or container, 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.
- GLOBAL - Static variable in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
-
The default, global namespace which allows access to stored data from all extensions.
H
- handleTestExecutionException(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.TestExecutionExceptionHandler
-
Handle the supplied
throwable
. - hashCode() - Method in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
I
- isAnnotated(Class<? extends Annotation>) - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Determine if an annotation of
annotationType
is either present or meta-present on theParameter
for this context. - isCurrentOs() - Method in enum org.junit.jupiter.api.condition.OS
- isCurrentVersion() - Method in enum org.junit.jupiter.api.condition.JRE
- isDisabled() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Whether the container or test should be disabled.
J
- JAVA_10 - org.junit.jupiter.api.condition.JRE
-
Java 10.
- JAVA_11 - org.junit.jupiter.api.condition.JRE
-
Java 11.
- JAVA_8 - org.junit.jupiter.api.condition.JRE
-
Java 8.
- JAVA_9 - org.junit.jupiter.api.condition.JRE
-
Java 9.
- JRE - Enum in org.junit.jupiter.api.condition
-
Enumeration of Java Runtime Environment (JRE) versions.
L
- LINUX - org.junit.jupiter.api.condition.OS
-
Linux-based operating system.
- LONG_DISPLAY_NAME - Static variable in annotation type org.junit.jupiter.api.RepeatedTest
-
Long display name pattern for a repeated test: "{displayName} :: repetition {currentRepetition} of {totalRepetitions}"
M
- MAC - org.junit.jupiter.api.condition.OS
-
Apple Macintosh operating system (e.g., macOS).
- matches() - Method in annotation type org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable
-
A regular expression that will be used to match against the retrieved value of the
DisabledIfEnvironmentVariable.named()
environment variable. - matches() - Method in annotation type org.junit.jupiter.api.condition.DisabledIfSystemProperty
-
A regular expression that will be used to match against the retrieved value of the
DisabledIfSystemProperty.named()
JVM system property. - matches() - Method in annotation type org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable
-
A regular expression that will be used to match against the retrieved value of the
EnabledIfEnvironmentVariable.named()
environment variable. - matches() - Method in annotation type org.junit.jupiter.api.condition.EnabledIfSystemProperty
-
A regular expression that will be used to match against the retrieved value of the
EnabledIfSystemProperty.named()
JVM system property.
N
- name() - Method in annotation type org.junit.jupiter.api.RepeatedTest
-
The display name for each repetition of the repeated test.
- named() - Method in annotation type org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable
-
The name of the environment variable to retrieve.
- named() - Method in annotation type org.junit.jupiter.api.condition.DisabledIfSystemProperty
-
The name of the JVM system property to retrieve.
- named() - Method in annotation type org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable
-
The name of the environment variable to retrieve.
- named() - Method in annotation type org.junit.jupiter.api.condition.EnabledIfSystemProperty
-
The name of the JVM system property to retrieve.
- Nested - Annotation Type in org.junit.jupiter.api
-
@Nested
is used to signal that the annotated class is a nested, non-static test class (i.e., an inner class).
O
- org.junit.jupiter.api - package org.junit.jupiter.api
-
JUnit Jupiter API for writing tests.
- org.junit.jupiter.api.condition - package org.junit.jupiter.api.condition
-
Annotation-based conditions for enabling or disabling tests in JUnit Jupiter.
- org.junit.jupiter.api.extension - package org.junit.jupiter.api.extension
-
JUnit Jupiter API for writing extensions.
- org.junit.jupiter.api.function - package org.junit.jupiter.api.function
-
Functional interfaces used within JUnit Jupiter.
- OS - Enum in org.junit.jupiter.api.condition
-
Enumeration of common operating systems used for testing Java applications.
- OTHER - org.junit.jupiter.api.condition.JRE
- OTHER - org.junit.jupiter.api.condition.OS
P
- ParameterContext - Interface in org.junit.jupiter.api.extension
-
ParameterContext
encapsulates the context in which anExecutable
will be invoked for a givenParameter
. - ParameterResolutionException - Exception in org.junit.jupiter.api.extension
-
Thrown if an error is encountered in the configuration or execution of a
ParameterResolver
. - ParameterResolutionException(String) - Constructor for exception org.junit.jupiter.api.extension.ParameterResolutionException
- ParameterResolutionException(String, Throwable) - Constructor for exception org.junit.jupiter.api.extension.ParameterResolutionException
- ParameterResolver - Interface in org.junit.jupiter.api.extension
-
ParameterResolver
defines the API forExtensions
that wish to dynamically resolve arguments for parameters at runtime. - PER_CLASS - org.junit.jupiter.api.TestInstance.Lifecycle
-
When using this mode, a new test instance will be created once per test class.
- PER_METHOD - org.junit.jupiter.api.TestInstance.Lifecycle
-
When using this mode, a new test instance will be created for each test method or test factory method.
- postProcessTestInstance(Object, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestInstancePostProcessor
-
Callback for post-processing the supplied test instance.
- provideTestTemplateInvocationContexts(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
-
Provide invocation contexts for the test template method represented by the supplied
context
. - publishEntry(String, String) - Method in interface org.junit.jupiter.api.TestReporter
-
Publish the supplied key-value pair as a report entry.
- publishEntry(Map<String, String>) - Method in interface org.junit.jupiter.api.TestReporter
-
Publish the supplied map of key-value pairs as a report entry.
- publishReportEntry(String, String) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Publish the specified key-value pair to be consumed by an
org.junit.platform.engine.EngineExecutionListener
. - publishReportEntry(Map<String, String>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Publish a map of key-value pairs to be consumed by an
org.junit.platform.engine.EngineExecutionListener
. - put(Object, Object) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Store a
value
for later retrieval under the suppliedkey
.
R
- reason() - Method in annotation type org.junit.jupiter.api.condition.DisabledIf
-
The reason this annotated test class or test method is enabled or disabled.
- reason() - Method in annotation type org.junit.jupiter.api.condition.EnabledIf
-
The reason this annotated test class or test method is enabled or disabled.
- RegisterExtension - Annotation Type in org.junit.jupiter.api.extension
-
@RegisterExtension
is used to register anExtension
via a field in a test class. - remove(Object) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Remove the value that was previously stored under the supplied
key
. - remove(Object, Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Remove the value of the specified required type that was previously stored under the supplied
key
. - RepeatedTest - Annotation Type in org.junit.jupiter.api
-
@RepeatedTest
is used to signal that the annotated method is a test template method that should be repeated a specified number of times with a configurable display name. - RepetitionInfo - Interface in org.junit.jupiter.api
-
RepetitionInfo
is used to inject information about the current repetition of a repeated test into@RepeatedTest
,@BeforeEach
, and@AfterEach
methods. - resolveParameter(ParameterContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ParameterResolver
-
Resolve an argument for the
Parameter
in the suppliedParameterContext
for the suppliedExtensionContext
.
S
- ScriptEvaluationException - Exception in org.junit.jupiter.api.extension
-
Thrown if an error is encountered while evaluating a script-based
ExecutionCondition
. - ScriptEvaluationException(String) - Constructor for exception org.junit.jupiter.api.extension.ScriptEvaluationException
- ScriptEvaluationException(String, Throwable) - Constructor for exception org.junit.jupiter.api.extension.ScriptEvaluationException
- SHORT_DISPLAY_NAME - Static variable in annotation type org.junit.jupiter.api.RepeatedTest
-
Short display name pattern for a repeated test: "repetition {currentRepetition} of {totalRepetitions}"
- SOLARIS - org.junit.jupiter.api.condition.OS
-
Oracle Solaris operating system.
- stream(Iterator<T>, Function<? super T, String>, ThrowingConsumer<? super T>) - Static method in class org.junit.jupiter.api.DynamicTest
-
Generate a stream of dynamic tests based on the supplied generators and test executor.
- supportsParameter(ParameterContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ParameterResolver
-
Determine if this resolver supports resolution of an argument for the
Parameter
in the suppliedParameterContext
for the suppliedExtensionContext
. - supportsTestTemplate(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
-
Determine if this provider supports providing invocation contexts for the test template method represented by the supplied
context
.
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. - Tags - Annotation Type in org.junit.jupiter.api
-
@Tags
is a container for one or more@Tag
declarations. - Test - Annotation Type in org.junit.jupiter.api
-
@Test
is used to signal that the annotated method is a test method. - TestExecutionExceptionHandler - Interface in org.junit.jupiter.api.extension
-
TestExecutionExceptionHandler
defines the API forExtensions
that wish to handle exceptions thrown during test execution. - TestFactory - Annotation Type in org.junit.jupiter.api
-
@TestFactory
is used to signal that the annotated method is a test factory method. - 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.
- TestInstancePostProcessor - Interface in org.junit.jupiter.api.extension
-
TestInstancePostProcessor
defines the API forExtensions
that wish to post-process test instances. - 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. - 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. - 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
. - toString() - Method in class org.junit.jupiter.api.DynamicNode
- toString() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
- 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}
V
- value() - Method in annotation type org.junit.jupiter.api.condition.DisabledIf
-
The lines of the script to evaluate.
- value() - Method in annotation type org.junit.jupiter.api.condition.DisabledOnJre
-
Java Runtime Environment versions on which the annotated class or method should be disabled.
- value() - Method in annotation type org.junit.jupiter.api.condition.DisabledOnOs
-
Operating systems on which the annotated class or method should be disabled.
- value() - Method in annotation type org.junit.jupiter.api.condition.EnabledIf
-
The lines of the script to evaluate.
- value() - Method in annotation type org.junit.jupiter.api.condition.EnabledOnJre
-
Java Runtime Environment versions on which the annotated class or method should be enabled.
- value() - Method in annotation type org.junit.jupiter.api.condition.EnabledOnOs
-
Operating systems on which the annotated class or method should be enabled.
- value() - Method in annotation type org.junit.jupiter.api.Disabled
-
The reason this annotated test class or test method is disabled.
- value() - Method in annotation type org.junit.jupiter.api.DisplayName
-
Custom display name for the annotated class or method.
- value() - Method in annotation type org.junit.jupiter.api.extension.ExtendWith
-
An array of one or more
Extension
classes to register. - value() - Method in annotation type org.junit.jupiter.api.extension.Extensions
-
An array of one or more
@ExtendWith
declarations. - value() - Method in annotation type org.junit.jupiter.api.RepeatedTest
-
The number of repetitions.
- value() - Method in annotation type org.junit.jupiter.api.Tag
-
The tag.
- value() - Method in annotation type org.junit.jupiter.api.Tags
-
An array of one or more
Tags
. - value() - Method in annotation type org.junit.jupiter.api.TestInstance
-
The test instance lifecycle mode to use.
- valueOf(String) - Static method in enum org.junit.jupiter.api.condition.JRE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.junit.jupiter.api.condition.OS
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.junit.jupiter.api.TestInstance.Lifecycle
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.junit.jupiter.api.condition.JRE
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.junit.jupiter.api.condition.OS
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.junit.jupiter.api.TestInstance.Lifecycle
-
Returns an array containing the constants of this enum type, in the order they are declared.