A B C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
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
-
@AfterAllis 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
-
AfterAllCallbackdefines the API forExtensionsthat 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
-
@AfterEachis used to signal that the annotated method should be executed after each@Test,@RepeatedTest,@ParameterizedTest,@TestFactory, and@TestTemplatemethod in the current test class. - AfterEachCallback - Interface in org.junit.jupiter.api.extension
-
AfterEachCallbackdefines the API forExtensionsthat 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
-
AfterTestExecutionCallbackdefines the API forExtensionsthat wish to provide additional behavior to tests immediately after each test has been executed. - AIX - org.junit.jupiter.api.condition.OS
-
IBM AIX operating system.
- Alphanumeric() - Constructor for class org.junit.jupiter.api.MethodOrderer.Alphanumeric
- assertAll(String, Collection<Executable>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that all supplied
executablesdo not throw exceptions. - assertAll(String, Stream<Executable>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that all supplied
executablesdo not throw exceptions. - assertAll(String, Executable...) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that all supplied
executablesdo not throw exceptions. - assertAll(Collection<Executable>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that all supplied
executablesdo not throw exceptions. - assertAll(Stream<Executable>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that all supplied
executablesdo not throw exceptions. - assertAll(Executable...) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that all supplied
executablesdo not throw exceptions. - assertArrayEquals(boolean[], boolean[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualboolean arrays are equal. - assertArrayEquals(boolean[], boolean[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualboolean arrays are equal. - assertArrayEquals(boolean[], boolean[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualboolean arrays are equal. - assertArrayEquals(byte[], byte[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualbyte arrays are equal. - assertArrayEquals(byte[], byte[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualbyte arrays are equal. - assertArrayEquals(byte[], byte[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualbyte arrays are equal. - assertArrayEquals(char[], char[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualchar arrays are equal. - assertArrayEquals(char[], char[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualchar arrays are equal. - assertArrayEquals(char[], char[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualchar arrays are equal. - assertArrayEquals(double[], double[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualdouble arrays are equal. - assertArrayEquals(double[], double[], double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualdouble arrays are equal within the given non-negativedelta. - assertArrayEquals(double[], double[], double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualdouble arrays are equal within the given non-negativedelta. - assertArrayEquals(double[], double[], double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualdouble arrays are equal within the given non-negativedelta. - assertArrayEquals(double[], double[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualdouble arrays are equal. - assertArrayEquals(double[], double[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualdouble arrays are equal. - assertArrayEquals(float[], float[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualfloat arrays are equal. - assertArrayEquals(float[], float[], float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualfloat arrays are equal within the given non-negativedelta. - assertArrayEquals(float[], float[], float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualfloat arrays are equal within the given non-negativedelta. - assertArrayEquals(float[], float[], float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualfloat arrays are equal within the given non-negativedelta. - assertArrayEquals(float[], float[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualfloat arrays are equal. - assertArrayEquals(float[], float[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualfloat arrays are equal. - assertArrayEquals(int[], int[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualint arrays are equal. - assertArrayEquals(int[], int[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualint arrays are equal. - assertArrayEquals(int[], int[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualint arrays are equal. - assertArrayEquals(long[], long[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactuallong arrays are equal. - assertArrayEquals(long[], long[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactuallong arrays are equal. - assertArrayEquals(long[], long[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactuallong arrays are equal. - assertArrayEquals(short[], short[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualshort arrays are equal. - assertArrayEquals(short[], short[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualshort arrays are equal. - assertArrayEquals(short[], short[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualshort arrays are equal. - assertArrayEquals(Object[], Object[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualobject arrays are deeply equal. - assertArrayEquals(Object[], Object[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualobject arrays are deeply equal. - assertArrayEquals(Object[], Object[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualobject arrays are deeply equal. - assertDoesNotThrow(Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executabledoes not throw any kind of exception. - assertDoesNotThrow(Executable, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executabledoes not throw any kind of exception. - assertDoesNotThrow(Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executabledoes not throw any kind of exception. - assertDoesNotThrow(ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
supplierdoes not throw any kind of exception. - assertDoesNotThrow(ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
supplierdoes not throw any kind of exception. - assertDoesNotThrow(ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
supplierdoes not throw any kind of exception. - assertEquals(byte, byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(byte, Byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(byte, Byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(byte, Byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(char, char) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(char, char, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(char, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(char, Character) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(char, Character, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(char, Character, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(double, double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal within the given non-negativedelta. - assertEquals(double, double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal within the given non-negativedelta. - assertEquals(double, double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal within the given non-negativedelta. - assertEquals(double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(double, Double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(double, Double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(double, Double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(float, float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal within the given non-negativedelta. - assertEquals(float, float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal within the given non-negativedelta. - assertEquals(float, float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal within the given non-negativedelta. - assertEquals(float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(float, Float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(float, Float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(float, Float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(int, int) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(int, int, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(int, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(int, Integer) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(int, Integer, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(int, Integer, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(long, long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(long, long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(long, Long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(long, Long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(long, Long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(short, short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(short, short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(short, Short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(short, Short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(short, Short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Byte, byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Byte, Byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Byte, Byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Byte, Byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Character, char) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Character, char, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Character, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Character, Character) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Character, Character, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Character, Character, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Double, Double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Double, Double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Double, Double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Float, Float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Float, Float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Float, Float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Integer, int) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Integer, int, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Integer, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Integer, Integer) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Integer, Integer, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Integer, Integer, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Long, long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Long, long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Long, Long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Long, Long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Long, Long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Short, short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Short, short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Short, Short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Short, Short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertEquals(Short, Short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare equal. - assertFalse(boolean) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the supplied
conditionisfalse. - assertFalse(boolean, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the supplied
conditionisfalse. - assertFalse(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the supplied
conditionisfalse. - assertFalse(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the boolean condition supplied by
booleanSupplierisfalse. - assertFalse(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the boolean condition supplied by
booleanSupplierisfalse. - assertFalse(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the boolean condition supplied by
booleanSupplierisfalse. - Assertions - Class in org.junit.jupiter.api
-
Assertionsis 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
-
Assert that
expectedandactualiterables are deeply equal. - assertIterableEquals(Iterable<?>, Iterable<?>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualiterables are deeply equal. - assertIterableEquals(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualiterables are deeply equal. - assertLinesMatch(List<String>, List<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedlist of Strings matchesactuallist. - assertLinesMatch(List<String>, List<String>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedlist of Strings matchesactuallist. - assertLinesMatch(List<String>, List<String>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedlist of Strings matchesactuallist. - assertNotEquals(byte, byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(byte, Byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(byte, Byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(byte, Byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(char, char) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(char, char, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(char, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(char, Character) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(char, Character, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(char, Character, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(double, double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal within the givendelta. - assertNotEquals(double, double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal within the givendelta. - assertNotEquals(double, double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal within the givendelta. - assertNotEquals(double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(double, Double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(double, Double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(double, Double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(float, float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal within the givendelta. - assertNotEquals(float, float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal within the givendelta. - assertNotEquals(float, float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal within the givendelta. - assertNotEquals(float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(float, Float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(float, Float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(float, Float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(int, int) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(int, int, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(int, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(int, Integer) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(int, Integer, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(int, Integer, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(long, long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(long, long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(long, Long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(long, Long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(long, Long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(short, short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(short, short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(short, Short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(short, Short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(short, Short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Byte, byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Byte, Byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Byte, Byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Byte, Byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Character, char) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Character, char, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Character, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Character, Character) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Character, Character, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Character, Character, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Double, Double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Double, Double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Double, Double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Float, Float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Float, Float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Float, Float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Integer, int) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Integer, int, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Integer, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Integer, Integer) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Integer, Integer, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Integer, Integer, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Long, long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Long, long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Long, Long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Long, Long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Long, Long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Short, short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Short, short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Short, Short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Short, Short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotEquals(Short, Short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualare not equal. - assertNotNull(Object) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
actualis notnull. - assertNotNull(Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
actualis notnull. - assertNotNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
actualis notnull. - assertNotSame(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualdo not refer to the same object. - assertNotSame(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualdo not refer to the same object. - assertNotSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualdo not refer to the same object. - assertNull(Object) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
actualisnull. - assertNull(Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
actualisnull. - assertNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
actualisnull. - assertSame(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualrefer to the same object. - assertSame(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualrefer to the same object. - assertSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expectedandactualrefer to the same object. - assertThrows(Class<T>, Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executablethrows an exception of theexpectedTypeand return the exception. - assertThrows(Class<T>, Executable, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executablethrows an exception of theexpectedTypeand return the exception. - assertThrows(Class<T>, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executablethrows an exception of theexpectedTypeand return the exception. - assertTimeout(Duration, Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executablecompletes before the giventimeoutis exceeded. - assertTimeout(Duration, Executable, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executablecompletes before the giventimeoutis exceeded. - assertTimeout(Duration, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executablecompletes before the giventimeoutis exceeded. - assertTimeout(Duration, ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
suppliercompletes before the giventimeoutis exceeded. - assertTimeout(Duration, ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
suppliercompletes before the giventimeoutis exceeded. - assertTimeout(Duration, ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
suppliercompletes before the giventimeoutis exceeded. - assertTimeoutPreemptively(Duration, Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executablecompletes before the giventimeoutis exceeded. - assertTimeoutPreemptively(Duration, Executable, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executablecompletes before the giventimeoutis exceeded. - assertTimeoutPreemptively(Duration, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executablecompletes before the giventimeoutis exceeded. - assertTimeoutPreemptively(Duration, ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
suppliercompletes before the giventimeoutis exceeded. - assertTimeoutPreemptively(Duration, ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
suppliercompletes before the giventimeoutis exceeded. - assertTimeoutPreemptively(Duration, ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
suppliercompletes before the giventimeoutis exceeded. - assertTrue(boolean) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the supplied
conditionistrue. - assertTrue(boolean, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the supplied
conditionistrue. - assertTrue(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the supplied
conditionistrue. - assertTrue(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the boolean condition supplied by
booleanSupplieristrue. - assertTrue(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the boolean condition supplied by
booleanSupplieristrue. - assertTrue(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the boolean condition supplied by
booleanSupplieristrue. - 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
-
Assumptionsis 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.
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
-
@BeforeAllis 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
-
BeforeAllCallbackdefines the API forExtensionsthat 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
-
@BeforeEachis used to signal that the annotated method should be executed before each@Test,@RepeatedTest,@ParameterizedTest,@TestFactory, and@TestTemplatemethod in the current test class. - BeforeEachCallback - Interface in org.junit.jupiter.api.extension
-
BeforeEachCallbackdefines the API forExtensionsthat 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
-
BeforeTestExecutionCallbackdefines the API forExtensionsthat 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.
- CONCURRENT - org.junit.jupiter.api.parallel.ExecutionMode
-
Allow concurrent execution with any other node.
- 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
partsfor creating a namespace. - createTestInstance(TestInstanceFactoryContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestInstanceFactory
-
Callback for creating a test instance for the supplied context.
- CURRENT_REPETITION_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.api.RepeatedTest
-
Placeholder for the current repetition count of a
@RepeatedTestmethod:{currentRepetition}
D
- DEFAULT - Static variable in annotation type org.junit.jupiter.api.Order
-
Default order value for elements not explicitly annotated with
@Order, equal to the value ofInteger.MAX_VALUE / 2. - 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
-
@Disabledis used to signal that the annotated test class or test method is currently disabled and should not be executed. - DisabledForJreRange - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledForJreRangeis used to signal that the annotated test class or test method is only disabled for a specific range of Java Runtime Environment (JRE) versions fromDisabledForJreRange.min()toDisabledForJreRange.max(). - DisabledIfEnvironmentVariable - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledIfEnvironmentVariableis 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. - DisabledIfEnvironmentVariables - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledIfEnvironmentVariablesis a container for one or more@DisabledIfEnvironmentVariabledeclarations. - DisabledIfSystemProperties - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledIfSystemPropertiesis a container for one or more@DisabledIfSystemPropertydeclarations. - DisabledIfSystemProperty - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledIfSystemPropertyis 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
-
@DisabledOnJreis 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
-
@DisabledOnOsis 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
-
@DisplayNameis used to declare a custom display name for the annotated test class or test method. - DisplayNameGeneration - Annotation Type in org.junit.jupiter.api
-
@DisplayNameGenerationis used to declare a custom display name generator for the annotated test class. - DisplayNameGenerator - Interface in org.junit.jupiter.api
-
DisplayNameGeneratordefines the SPI for generating display names programmatically. - DisplayNameGenerator.ReplaceUnderscores - Class in org.junit.jupiter.api
-
DisplayNameGeneratorthat replaces underscores with spaces. - DisplayNameGenerator.Standard - Class in org.junit.jupiter.api
-
Standard
DisplayNameGenerator. - dynamicContainer(String, Iterable<? extends DynamicNode>) - Static method in class org.junit.jupiter.api.DynamicContainer
-
Factory for creating a new
DynamicContainerfor the supplied display name and collection of dynamic nodes. - dynamicContainer(String, URI, Stream<? extends DynamicNode>) - Static method in class org.junit.jupiter.api.DynamicContainer
-
Factory for creating a new
DynamicContainerfor the supplied display name, custom test sourceURI, and stream of dynamic nodes. - dynamicContainer(String, Stream<? extends DynamicNode>) - Static method in class org.junit.jupiter.api.DynamicContainer
-
Factory for creating a new
DynamicContainerfor the supplied display name and stream of dynamic nodes. - DynamicContainer - Class in org.junit.jupiter.api
-
A
DynamicContaineris a container generated at runtime. - DynamicNode - Class in org.junit.jupiter.api
-
DynamicNodeserves as the abstract base class for a container or a test case generated at runtime. - dynamicTest(String, URI, Executable) - Static method in class org.junit.jupiter.api.DynamicTest
-
Factory for creating a new
DynamicTestfor the supplied display name, custom test sourceURI, and executable code block. - dynamicTest(String, Executable) - Static method in class org.junit.jupiter.api.DynamicTest
-
Factory for creating a new
DynamicTestfor the supplied display name and executable code block. - DynamicTest - Class in org.junit.jupiter.api
-
A
DynamicTestis a test case generated at runtime.
E
- enabled(String) - Static method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Factory for creating enabled results.
- EnabledForJreRange - Annotation Type in org.junit.jupiter.api.condition
-
@EnabledForJreRangeis used to signal that the annotated test class or test method is only enabled for a specific range of Java Runtime Environment (JRE) versions fromEnabledForJreRange.min()toEnabledForJreRange.max(). - EnabledIfEnvironmentVariable - Annotation Type in org.junit.jupiter.api.condition
-
@EnabledIfEnvironmentVariableis 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. - EnabledIfEnvironmentVariables - Annotation Type in org.junit.jupiter.api.condition
-
@EnabledIfEnvironmentVariablesis a container for one or more@EnabledIfEnvironmentVariabledeclarations. - EnabledIfSystemProperties - Annotation Type in org.junit.jupiter.api.condition
-
@EnabledIfSystemPropertiesis a container for one or more@EnabledIfSystemPropertydeclarations. - EnabledIfSystemProperty - Annotation Type in org.junit.jupiter.api.condition
-
@EnabledIfSystemPropertyis 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
-
@EnabledOnJreis 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
-
@EnabledOnOsis used to signal that the annotated test class or test method is only enabled on one or more specified operating systems. - 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
-
Executableis 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
- Execution - Annotation Type in org.junit.jupiter.api.parallel
-
@Executionis used to configure the parallel execution mode of a test class or test method. - ExecutionCondition - Interface in org.junit.jupiter.api.extension
-
ExecutionConditiondefines theExtensionAPI for programmatic, conditional test execution. - ExecutionMode - Enum in org.junit.jupiter.api.parallel
-
Supported execution modes for parallel test execution.
- ExtendWith - Annotation Type in org.junit.jupiter.api.extension
-
@ExtendWithis 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
-
ExtensionContextencapsulates the context in which the current test or container is being executed. - ExtensionContext.Namespace - Class in org.junit.jupiter.api.extension
-
A
Namespaceis used to provide a scope for data saved by extensions within aExtensionContext.Store. - ExtensionContext.Store - Interface in org.junit.jupiter.api.extension
-
Storeprovides 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 enclosingStoreis closed. - ExtensionContextException - Exception in org.junit.jupiter.api.extension
-
Thrown if an error is encountered regarding the use of an
ExtensionContextorExtensionContext.Store. - ExtensionContextException(String) - Constructor for exception org.junit.jupiter.api.extension.ExtensionContextException
- Extensions - Annotation Type in org.junit.jupiter.api.extension
-
@Extensionsis a container for one or more@ExtendWithdeclarations.
F
- fail() - Static method in class org.junit.jupiter.api.Assertions
-
Fail the test without a failure message.
- fail(String) - Static method in class org.junit.jupiter.api.Assertions
-
Fail the test with the given failure
message. - fail(String, Throwable) - Static method in class org.junit.jupiter.api.Assertions
-
Fail the test with the given failure
messageas well as the underlyingcause. - fail(Throwable) - Static method in class org.junit.jupiter.api.Assertions
-
Fail the test with the given underlying
cause. - fail(Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Fail the 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
annotationTypethat is either present or meta-present on theParameterfor this context. - findAnnotation(Class<A>) - Method in interface org.junit.jupiter.api.MethodDescriptor
-
Find the first annotation of
annotationTypethat is either present or meta-present on theMethodfor this descriptor. - findInstance(Class<T>) - Method in interface org.junit.jupiter.api.extension.TestInstances
-
Find the first test instance that is an instance of the supplied required type, checking from innermost to outermost.
- findRepeatableAnnotations(Class<A>) - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Find all repeatable annotations of
annotationTypethat are either present or meta-present on theParameterfor this context. - findRepeatableAnnotations(Class<A>) - Method in interface org.junit.jupiter.api.MethodDescriptor
-
Find all repeatable annotations of
annotationTypethat are either present or meta-present on theMethodfor this descriptor.
G
- generateDisplayNameForClass(Class<?>) - Method in interface org.junit.jupiter.api.DisplayNameGenerator
-
Generate a display name for the given top-level or
staticnested test class. - generateDisplayNameForClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
- generateDisplayNameForClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.Standard
- generateDisplayNameForMethod(Class<?>, Method) - Method in interface org.junit.jupiter.api.DisplayNameGenerator
-
Generate a display name for the given method.
- generateDisplayNameForMethod(Class<?>, Method) - Method in class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
- generateDisplayNameForMethod(Class<?>, Method) - Method in class org.junit.jupiter.api.DisplayNameGenerator.Standard
- generateDisplayNameForNestedClass(Class<?>) - Method in interface org.junit.jupiter.api.DisplayNameGenerator
-
Generate a display name for the given
@Nestedinner test class. - generateDisplayNameForNestedClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
- generateDisplayNameForNestedClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.Standard
- 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.
- getAllInstances() - Method in interface org.junit.jupiter.api.extension.TestInstances
-
Get all test instances, ordered from outermost to innermost.
- getArguments() - Method in interface org.junit.jupiter.api.extension.ReflectiveInvocationContext
-
Get the arguments of the executable in this invocation context.
- 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. - getConfigurationParameter(String) - Method in interface org.junit.jupiter.api.MethodOrdererContext
-
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
@RepeatedTestmethod. - getDeclaringExecutable() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the
Executable(i.e., theMethodorConstructor) that declares theParameterfor this context. - getDefaultExecutionMode() - Method in interface org.junit.jupiter.api.MethodOrderer
-
Get the default
ExecutionModefor the test class configured with thisMethodOrderer. - 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
AnnotatedElementcorresponding to the current extension context, if available. - getEnclosingInstances() - Method in interface org.junit.jupiter.api.extension.TestInstances
-
Get the enclosing test instances, excluding the innermost test instance, ordered from outermost to innermost.
- getExecutable() - Method in class org.junit.jupiter.api.DynamicTest
-
Get the
executablecode block associated with thisDynamicTest. - getExecutable() - Method in interface org.junit.jupiter.api.extension.ReflectiveInvocationContext
-
Get the method or constructor of this invocation context.
- 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
Parameterfor this context within the parameter list of theExecutablethat declares the parameter. - getInnermostInstance() - Method in interface org.junit.jupiter.api.extension.TestInstances
-
Get the innermost test instance.
- getMethod() - Method in interface org.junit.jupiter.api.MethodDescriptor
-
Get the method for this descriptor.
- getMethodDescriptors() - Method in interface org.junit.jupiter.api.MethodOrdererContext
-
Get the list of method descriptors to order.
- getOrComputeIfAbsent(Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the object of type
typethat is present in thisStore(keyed bytype); and otherwise invoke the default constructor fortypeto 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. - getOrDefault(Object, Class<V>, 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, or the supplieddefaultValueif no value is found for the suppliedkeyin this store or in an ancestor. - getOuterInstance() - Method in interface org.junit.jupiter.api.extension.TestInstanceFactoryContext
-
Get the instance of the outer class, if available.
- getParameter() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the
Parameterfor 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
Classassociated 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.
- getRequiredTestInstances() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required test instances associated with the current test or container.
- getRequiredTestMethod() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required
Methodassociated 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.Storefor 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
Executablethat declares theParameterfor this context will be invoked, if available. - getTarget() - Method in interface org.junit.jupiter.api.extension.ReflectiveInvocationContext
-
Get the target object of this invocation context, if available.
- getTargetClass() - Method in interface org.junit.jupiter.api.extension.ReflectiveInvocationContext
-
Get the target class of this invocation context.
- getTestClass() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
Classassociated with the current test or container, if available. - getTestClass() - Method in interface org.junit.jupiter.api.extension.TestInstanceFactoryContext
-
Get the test class for this context.
- getTestClass() - Method in interface org.junit.jupiter.api.MethodOrdererContext
-
Get the test class for this context.
- getTestClass() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the
Classassociated 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.Lifecycleof the test instance associated with the current test or container, if available. - getTestInstances() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the test instances associated with the current test or container, if available.
- getTestMethod() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
Methodassociated with the current test, if available. - getTestMethod() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the
Methodassociated with the current test or container, if available. - getTestSourceUri() - Method in class org.junit.jupiter.api.DynamicNode
-
Get the custom test source
URIof thisDynamicNode. - getTotalRepetitions() - Method in interface org.junit.jupiter.api.RepetitionInfo
-
Get the total number of repetitions of the corresponding
@RepeatedTestmethod. - 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
- handleAfterAllMethodExecutionException(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.LifecycleMethodExecutionExceptionHandler
-
Handle the supplied
Throwablethat was thrown during execution of a@AfterAlllifecycle method. - handleAfterEachMethodExecutionException(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.LifecycleMethodExecutionExceptionHandler
-
Handle the supplied
Throwablethat was thrown during execution of a@AfterEachlifecycle method. - handleBeforeAllMethodExecutionException(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.LifecycleMethodExecutionExceptionHandler
-
Handle the supplied
Throwablethat was thrown during execution of a@BeforeAlllifecycle method. - handleBeforeEachMethodExecutionException(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.LifecycleMethodExecutionExceptionHandler
-
Handle the supplied
Throwablethat was thrown during execution of a@BeforeEachlifecycle method. - 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
- interceptAfterAllMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of an
@AfterAllmethod. - interceptAfterEachMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of an
@AfterEachmethod. - interceptBeforeAllMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
@BeforeAllmethod. - interceptBeforeEachMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
@BeforeEachmethod. - interceptDynamicTest(InvocationInterceptor.Invocation<Void>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
DynamicTest. - interceptTestClassConstructor(InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<Constructor<T>>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a test class constructor.
- interceptTestFactoryMethod(InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
@TestFactorymethod. - interceptTestMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
@Testmethod. - interceptTestTemplateMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
@TestTemplatemethod. - InvocationInterceptor - Interface in org.junit.jupiter.api.extension
-
InvocationInterceptordefines the API forExtensionsthat wish to intercept calls to test code. - InvocationInterceptor.Invocation<T> - Interface in org.junit.jupiter.api.extension
-
An invocation that returns a result and may throw a
Throwable. - isAnnotated(Class<? extends Annotation>) - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Determine if an annotation of
annotationTypeis either present or meta-present on theParameterfor this context. - isAnnotated(Class<? extends Annotation>) - Method in interface org.junit.jupiter.api.MethodDescriptor
-
Determine if an annotation of
annotationTypeis either present or meta-present on theMethodfor this descriptor. - 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_12 - org.junit.jupiter.api.condition.JRE
-
Java 12.
- JAVA_13 - org.junit.jupiter.api.condition.JRE
-
Java 13.
- JAVA_14 - org.junit.jupiter.api.condition.JRE
-
Java 14.
- JAVA_15 - org.junit.jupiter.api.condition.JRE
-
Java 15.
- 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
- LifecycleMethodExecutionExceptionHandler - Interface in org.junit.jupiter.api.extension
-
LifecycleMethodExecutionExceptionHandlerdefines the API forExtensionsthat wish to handle exceptions thrown during the execution of@BeforeAll,@BeforeEach,@AfterEach, and@AfterAlllifecycle methods. - LINUX - org.junit.jupiter.api.condition.OS
-
Linux-based operating system.
- LOCALE - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents the default locale for the current instance of the JVM.
- 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. - max() - Method in annotation type org.junit.jupiter.api.condition.DisabledForJreRange
-
Java Runtime Environment version which is used as the upper boundary for the version range that determines if the annotated class or method should be disabled.
- max() - Method in annotation type org.junit.jupiter.api.condition.EnabledForJreRange
-
Java Runtime Environment version which should be used as the upper boundary for the version range that determines if the annotated class or method should be enabled.
- MethodDescriptor - Interface in org.junit.jupiter.api
-
MethodDescriptorencapsulates functionality for a givenMethod. - MethodOrderer - Interface in org.junit.jupiter.api
-
MethodOrdererdefines the API for ordering the test methods in a given test class. - MethodOrderer.Alphanumeric - Class in org.junit.jupiter.api
-
MethodOrdererthat sorts methods alphanumerically based on their names usingString.compareTo(String). - MethodOrderer.OrderAnnotation - Class in org.junit.jupiter.api
-
MethodOrdererthat sorts methods based on the@Orderannotation. - MethodOrderer.Random - Class in org.junit.jupiter.api
-
MethodOrdererthat orders methods pseudo-randomly. - MethodOrdererContext - Interface in org.junit.jupiter.api
-
MethodOrdererContextencapsulates the context in which aMethodOrdererwill be invoked. - min() - Method in annotation type org.junit.jupiter.api.condition.DisabledForJreRange
-
Java Runtime Environment version which is used as the lower boundary for the version range that determines if the annotated class or method should be disabled.
- min() - Method in annotation type org.junit.jupiter.api.condition.EnabledForJreRange
-
Java Runtime Environment version which should be used as the lower boundary for the version range that determines if the annotated class or method should be enabled.
- mode() - Method in annotation type org.junit.jupiter.api.parallel.ResourceLock
-
The resource access mode.
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
-
@Nestedis used to signal that the annotated class is a nested, non-static test class (i.e., an inner class) that can share setup and state with an instance of its enclosing class.
O
- Order - Annotation Type in org.junit.jupiter.api
-
@Orderis an annotation that is used to configure the order in which the annotated element (i.e., field or method) should be evaluated or executed relative to other elements of the same category. - OrderAnnotation() - Constructor for class org.junit.jupiter.api.MethodOrderer.OrderAnnotation
- orderMethods(MethodOrdererContext) - Method in class org.junit.jupiter.api.MethodOrderer.Alphanumeric
-
Sort the methods encapsulated in the supplied
MethodOrdererContextalphanumerically based on their names and formal parameter lists. - orderMethods(MethodOrdererContext) - Method in class org.junit.jupiter.api.MethodOrderer.OrderAnnotation
-
Sort the methods encapsulated in the supplied
MethodOrdererContextbased on the@Orderannotation. - orderMethods(MethodOrdererContext) - Method in interface org.junit.jupiter.api.MethodOrderer
-
Order the methods encapsulated in the supplied
MethodOrdererContext. - orderMethods(MethodOrdererContext) - Method in class org.junit.jupiter.api.MethodOrderer.Random
-
Order the methods encapsulated in the supplied
MethodOrdererContextpseudo-randomly. - 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.extension.support - package org.junit.jupiter.api.extension.support
-
JUnit Jupiter API support for writing extensions.
- org.junit.jupiter.api.function - package org.junit.jupiter.api.function
-
Functional interfaces used within JUnit Jupiter.
- org.junit.jupiter.api.io - package org.junit.jupiter.api.io
-
IO-related support in JUnit Jupiter.
- org.junit.jupiter.api.parallel - package org.junit.jupiter.api.parallel
-
JUnit Jupiter API for influencing parallel test execution.
- 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
-
A JRE version other than
JRE.JAVA_8,JRE.JAVA_9,JRE.JAVA_10,JRE.JAVA_11,JRE.JAVA_12,JRE.JAVA_13,JRE.JAVA_14, orJRE.JAVA_15. - OTHER - org.junit.jupiter.api.condition.OS
P
- ParameterContext - Interface in org.junit.jupiter.api.extension
-
ParameterContextencapsulates the context in which anExecutablewill 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
-
ParameterResolverdefines the API forExtensionsthat wish to dynamically resolve arguments for parameters at runtime. - parameterTypesAsString(Method) - Static method in interface org.junit.jupiter.api.DisplayNameGenerator
-
Generate a string representation of the formal parameters of the supplied method, consisting of the simple names of the parameter types, separated by commas, and enclosed in parentheses.
- 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, test factory method, or test template method.
- postProcessTestInstance(Object, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestInstancePostProcessor
-
Callback for post-processing the supplied test instance.
- preDestroyTestInstance(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestInstancePreDestroyCallback
-
Callback for processing a test instance before it is destroyed.
- proceed() - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor.Invocation
-
Proceed with this invocation.
- 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) - Method in interface org.junit.jupiter.api.TestReporter
-
Publish the supplied value as a report entry.
- 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) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Publish the specified value to be consumed by an
org.junit.platform.engine.EngineExecutionListenerin order to supply additional information to the reporting infrastructure. - 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.EngineExecutionListenerin order to supply additional information to the reporting infrastructure. - 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.EngineExecutionListenerin order to supply additional information to the reporting infrastructure. - put(Object, Object) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Store a
valuefor later retrieval under the suppliedkey.
R
- Random() - Constructor for class org.junit.jupiter.api.MethodOrderer.Random
- RANDOM_SEED_PROPERTY_NAME - Static variable in class org.junit.jupiter.api.MethodOrderer.Random
-
Property name used to set the random seed used by this
MethodOrderer: "junit.jupiter.execution.order.random.seed" - READ - org.junit.jupiter.api.parallel.ResourceAccessMode
-
Require only read access to the resource.
- READ_WRITE - org.junit.jupiter.api.parallel.ResourceAccessMode
-
Require read and write access to the resource.
- ReflectiveInvocationContext<T extends java.lang.reflect.Executable> - Interface in org.junit.jupiter.api.extension
-
ReflectiveInvocationContextencapsulates the context of a reflective invocation of an executable (method or constructor). - RegisterExtension - Annotation Type in org.junit.jupiter.api.extension
-
@RegisterExtensionis used to register anExtensionvia 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
-
@RepeatedTestis 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
-
RepetitionInfois used to inject information about the current repetition of a repeated test into@RepeatedTest,@BeforeEach, and@AfterEachmethods. - ReplaceUnderscores() - Constructor for class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
- resolveParameter(ParameterContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ParameterResolver
-
Resolve an argument for the
Parameterin the suppliedParameterContextfor the suppliedExtensionContext. - resolveParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.api.extension.support.TypeBasedParameterResolver
- ResourceAccessMode - Enum in org.junit.jupiter.api.parallel
-
The access mode required by a test class or method for a given resource.
- ResourceLock - Annotation Type in org.junit.jupiter.api.parallel
-
@ResourceLockis used to declare that the annotated test class or test method requires access to a shared resource identified by a key. - ResourceLocks - Annotation Type in org.junit.jupiter.api.parallel
-
@ResourceLocksis a container for one or more@ResourceLockdeclarations. - Resources - Class in org.junit.jupiter.api.parallel
-
Common resource names for synchronizing test execution.
S
- SAME_THREAD - org.junit.jupiter.api.parallel.ExecutionMode
-
Force execution in same thread as the parent node.
- 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}"
- skip() - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor.Invocation
-
Explicitly skip this invocation.
- SOLARIS - org.junit.jupiter.api.condition.OS
-
Oracle Solaris operating system.
- Standard() - Constructor for class org.junit.jupiter.api.DisplayNameGenerator.Standard
- 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
Parameterin the suppliedParameterContextfor the suppliedExtensionContext. - supportsParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.api.extension.support.TypeBasedParameterResolver
- 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. - SYSTEM_ERR - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents the standard error stream of the current process.
- SYSTEM_OUT - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents the standard output stream of the current process.
- SYSTEM_PROPERTIES - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents Java's system properties.
T
- Tag - Annotation Type in org.junit.jupiter.api
-
@Tagis a repeatable annotation that is used to declare a tag for the annotated test class or test method. - Tags - Annotation Type in org.junit.jupiter.api
-
@Tagsis a container for one or more@Tagdeclarations. - TempDir - Annotation Type in org.junit.jupiter.api.io
-
@TempDircan be used to annotate a non-private field in a test class or a parameter in a lifecycle method or test method of typePathorFilethat should be resolved into a temporary directory. - Test - Annotation Type in org.junit.jupiter.api
-
@Testis used to signal that the annotated method is a test method. - testAborted(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.TestWatcher
-
Invoked after a test has been aborted.
- testDisabled(ExtensionContext, Optional<String>) - Method in interface org.junit.jupiter.api.extension.TestWatcher
-
Invoked after a disabled test has been skipped.
- TestExecutionExceptionHandler - Interface in org.junit.jupiter.api.extension
-
TestExecutionExceptionHandlerdefines the API forExtensionsthat wish to handle exceptions thrown during test execution. - TestFactory - Annotation Type in org.junit.jupiter.api
-
@TestFactoryis used to signal that the annotated method is a test factory method. - testFailed(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.TestWatcher
-
Invoked after a test has failed.
- TestInfo - Interface in org.junit.jupiter.api
-
TestInfois used to inject information about the current test or container into to@Test,@RepeatedTest,@ParameterizedTest,@TestFactory,@BeforeEach,@AfterEach,@BeforeAll, and@AfterAllmethods. - TestInstance - Annotation Type in org.junit.jupiter.api
-
@TestInstanceis a type-level annotation that is used to configure the lifecycle of test instances for the annotated test class or test interface. - TestInstance.Lifecycle - Enum in org.junit.jupiter.api
-
Enumeration of test instance lifecycle modes.
- TestInstanceFactory - Interface in org.junit.jupiter.api.extension
- TestInstanceFactoryContext - Interface in org.junit.jupiter.api.extension
-
TestInstanceFactoryContextencapsulates the context in which a test class is to be instantiated by aTestInstanceFactory. - TestInstancePostProcessor - Interface in org.junit.jupiter.api.extension
-
TestInstancePostProcessordefines the API forExtensionsthat wish to post-process test instances. - TestInstancePreDestroyCallback - Interface in org.junit.jupiter.api.extension
-
TestInstancePreDestroyCallbackdefines the API forExtensionsthat wish to process test instances after they have been used in tests but before they are destroyed. - TestInstances - Interface in org.junit.jupiter.api.extension
-
TestInstancesencapsulates the test instances of a test. - TestInstantiationException - Exception in org.junit.jupiter.api.extension
-
Thrown if an error is encountered during the execution of a
TestInstanceFactory. - TestInstantiationException(String) - Constructor for exception org.junit.jupiter.api.extension.TestInstantiationException
- TestInstantiationException(String, Throwable) - Constructor for exception org.junit.jupiter.api.extension.TestInstantiationException
- TestMethodOrder - Annotation Type in org.junit.jupiter.api
-
@TestMethodOrderis a type-level annotation that is used to configure aMethodOrdererfor the test methods of the annotated test class or test interface. - TestReporter - Interface in org.junit.jupiter.api
-
Parameters of type
TestReportercan be injected into@BeforeEachand@AfterEachlifecycle methods as well as methods annotated with@Test,@RepeatedTest,@ParameterizedTest,@TestFactory, etc. - testSuccessful(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestWatcher
-
Invoked after a test has completed successfully.
- TestTemplate - Annotation Type in org.junit.jupiter.api
-
@TestTemplateis used to signal that the annotated method is a test template method. - TestTemplateInvocationContext - Interface in org.junit.jupiter.api.extension
-
TestTemplateInvocationContextrepresents the context of a single invocation of a test template. - TestTemplateInvocationContextProvider - Interface in org.junit.jupiter.api.extension
-
TestTemplateInvocationContextProviderdefines the API forExtensionsthat wish to provide one or multiple contexts for the invocation of a@TestTemplatemethod. - TestWatcher - Interface in org.junit.jupiter.api.extension
-
TestWatcherdefines the API forExtensionsthat wish to process test results. - ThrowingConsumer<T> - Interface in org.junit.jupiter.api.function
-
ThrowingConsumeris a functional interface that can be used to implement any generic block of code that consumes an argument and potentially throws aThrowable. - ThrowingSupplier<T> - Interface in org.junit.jupiter.api.function
-
ThrowingSupplieris a functional interface that can be used to implement any generic block of code that returns an object and potentially throws aThrowable. - TIME_ZONE - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents the default time zone for the current instance of the JVM.
- Timeout - Annotation Type in org.junit.jupiter.api
-
@Timeoutis used to define a timeout for a method or all testable methods within one class and its@Nestedclasses. - 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
@RepeatedTestmethod:{totalRepetitions} - TypeBasedParameterResolver<T> - Class in org.junit.jupiter.api.extension.support
-
ParameterResolveradapter which resolves a parameter based on its exact type. - TypeBasedParameterResolver() - Constructor for class org.junit.jupiter.api.extension.support.TypeBasedParameterResolver
U
V
- value() - Method in annotation type org.junit.jupiter.api.condition.DisabledIfEnvironmentVariables
-
An array of one or more
@DisabledIfEnvironmentVariabledeclarations. - value() - Method in annotation type org.junit.jupiter.api.condition.DisabledIfSystemProperties
-
An array of one or more
@DisabledIfSystemPropertydeclarations. - 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.EnabledIfEnvironmentVariables
-
An array of one or more
@EnabledIfEnvironmentVariabledeclarations. - value() - Method in annotation type org.junit.jupiter.api.condition.EnabledIfSystemProperties
-
An array of one or more
@EnabledIfSystemPropertydeclarations. - 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.DisplayNameGeneration
-
Custom display name generator.
- value() - Method in annotation type org.junit.jupiter.api.extension.ExtendWith
-
An array of one or more
Extensionclasses to register. - value() - Method in annotation type org.junit.jupiter.api.extension.Extensions
-
An array of one or more
@ExtendWithdeclarations. - value() - Method in annotation type org.junit.jupiter.api.Order
-
The order value for the annotated element (i.e., field or method).
- value() - Method in annotation type org.junit.jupiter.api.parallel.Execution
-
The required/preferred execution mode.
- value() - Method in annotation type org.junit.jupiter.api.parallel.ResourceLock
-
The resource key.
- value() - Method in annotation type org.junit.jupiter.api.parallel.ResourceLocks
-
An array of one or more @ResourceLock 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.
- value() - Method in annotation type org.junit.jupiter.api.TestMethodOrder
-
The
MethodOrdererto use. - value() - Method in annotation type org.junit.jupiter.api.Timeout
-
The duration of this timeout.
- 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.parallel.ExecutionMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.junit.jupiter.api.parallel.ResourceAccessMode
-
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.parallel.ExecutionMode
-
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.parallel.ResourceAccessMode
-
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.
W
A B C D E F G H I J L M N O P R S T U V WAll Classes All Packages