Skip navigation links
JUnit 5
A B C D E F G H I J L M N O P R S T U V W 

A

aborted(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
Obtain a TestExecutionResult for an aborted execution of a test or container with the supplied throwable.
AbstractTestDescriptor - Class in org.junit.platform.engine.support.descriptor
Abstract base implementation of TestDescriptor that may be used by custom TestEngines.
AbstractTestDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
Create a new AbstractTestDescriptor with the supplied UniqueId and display name.
accept(TestDescriptor.Visitor) - Method in interface org.junit.platform.engine.TestDescriptor
Accept a visitor to the subtree starting with this descriptor.
add(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
Add the supplied TestIdentifier to this test plan.
addChild(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
addChild(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
Add a child to this descriptor.
after(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
after(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Execute the after behavior of this node.
AfterAll - Annotation Type in org.junit.jupiter.api
@AfterAll is used to signal that the annotated method should be executed after all tests in the current test class.
afterAll(ContainerExtensionContext) - Method in interface org.junit.jupiter.api.extension.AfterAllCallback
Callback that is invoked once after all tests in the current container.
AfterAllCallback - Interface in org.junit.jupiter.api.extension
AfterAllCallback defines the API for Extensions that wish to provide additional behavior to test containers after all tests have been invoked.
AfterEach - Annotation Type in org.junit.jupiter.api
@AfterEach is used to signal that the annotated method should be executed after each @Test method in the current test class.
afterEach(TestExtensionContext) - Method in interface org.junit.jupiter.api.extension.AfterEachCallback
Callback that is invoked after each test has been invoked.
AfterEachCallback - Interface in org.junit.jupiter.api.extension
AfterEachCallback defines the API for Extensions that wish to provide additional behavior to tests after each test method has been invoked.
AfterEachMethodAdapter - Interface in org.junit.jupiter.engine.execution
Functional interface for registering an @AfterEach method as a pseudo-extension.
afterTestExecution(TestExtensionContext) - Method in interface org.junit.jupiter.api.extension.AfterTestExecutionCallback
Callback that is invoked immediately after each test has been executed.
AfterTestExecutionCallback - Interface in org.junit.jupiter.api.extension
AfterTestExecutionCallback defines the API for Extensions that wish to provide additional behavior to tests immediately after each test has been executed.
AnnotationUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with annotations.
API - Annotation Type in org.junit.platform.commons.meta
Annotates public types within JUnit to indicate their level of stability and how they are intended to be used.
API.Usage - Enum in org.junit.platform.commons.meta
Indicates the level of stability of an API element.
append(String, Object) - Method in class org.junit.platform.commons.util.ToStringBuilder
 
append(String, String) - Method in class org.junit.platform.engine.UniqueId
Construct a new UniqueId by appending a new UniqueId.Segment, based on the supplied segmentType and value, to the end of this UniqueId.
apply(T) - Method in interface org.junit.platform.engine.Filter
Apply this filter to the supplied object.
apply(T) - Method in class org.junit.platform.engine.support.filter.ExclusionReasonConsumingFilter
 
apply(TestEngine) - Method in class org.junit.platform.launcher.EngineFilter
 
assertAll(Executable...) - Static method in class org.junit.jupiter.api.Assertions
Asserts that all supplied executables do not throw an AssertionError.
assertAll(String, Executable...) - Static method in class org.junit.jupiter.api.Assertions
Asserts that all supplied executables do not throw an AssertionError.
assertArrayEquals(boolean[], boolean[]) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual boolean arrays are equal.
assertArrayEquals(boolean[], boolean[], String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual boolean arrays are equal.
assertArrayEquals(boolean[], boolean[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual boolean arrays are equal.
assertArrayEquals(char[], char[]) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual char arrays are equal.
assertArrayEquals(char[], char[], String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual char arrays are equal.
assertArrayEquals(char[], char[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual char arrays are equal.
assertArrayEquals(byte[], byte[]) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual byte arrays are equal.
assertArrayEquals(byte[], byte[], String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual byte arrays are equal.
assertArrayEquals(byte[], byte[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual byte arrays are equal.
assertArrayEquals(short[], short[]) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual short arrays are equal.
assertArrayEquals(short[], short[], String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual short arrays are equal.
assertArrayEquals(short[], short[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual short arrays are equal.
assertArrayEquals(int[], int[]) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual int arrays are equal.
assertArrayEquals(int[], int[], String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual int arrays are equal.
assertArrayEquals(int[], int[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual int arrays are equal.
assertArrayEquals(long[], long[]) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual long arrays are equal.
assertArrayEquals(long[], long[], String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual long arrays are equal.
assertArrayEquals(long[], long[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual long arrays are equal.
assertArrayEquals(float[], float[]) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual float arrays are equal.
assertArrayEquals(float[], float[], String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual float arrays are equal.
assertArrayEquals(float[], float[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual float arrays are equal.
assertArrayEquals(float[], float[], float) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual float arrays are equal within the given delta.
assertArrayEquals(float[], float[], float, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual float arrays are equal within the given delta.
assertArrayEquals(float[], float[], float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual float arrays are equal within the given delta.
assertArrayEquals(double[], double[]) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual double arrays are equal.
assertArrayEquals(double[], double[], String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual double arrays are equal.
assertArrayEquals(double[], double[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual double arrays are equal.
assertArrayEquals(double[], double[], double) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual double arrays are equal within the given delta.
assertArrayEquals(double[], double[], double, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual double arrays are equal within the given delta.
assertArrayEquals(double[], double[], double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual double arrays are equal within the given delta.
assertArrayEquals(Object[], Object[]) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual object arrays are deeply equal.
assertArrayEquals(Object[], Object[], String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual object arrays are deeply equal.
assertArrayEquals(Object[], Object[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual object arrays are deeply equal.
assertEmpty() - Method in class org.junit.jupiter.engine.execution.ThrowableCollector
Assert that this ThrowableCollector is empty (i.e., has not collected any Throwables).
assertEquals(short, short) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(short, short, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(byte, byte) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(int, int) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(int, int, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(int, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(long, long) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(long, long, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(char, char) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(char, char, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(char, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(float, float) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(float, float, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(float, float, float) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal within the given delta.
assertEquals(float, float, float, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal within the given delta.
assertEquals(float, float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal within the given delta.
assertEquals(double, double) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(double, double, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(double, double, double) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal within the given delta.
assertEquals(double, double, double, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal within the given delta.
assertEquals(double, double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal within the given delta.
assertEquals(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are equal.
assertFalse(boolean) - Static method in class org.junit.jupiter.api.Assertions
Asserts that the supplied condition is not true.
assertFalse(boolean, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that the supplied condition is not true.
assertFalse(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that the supplied condition is not true.
assertFalse(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assertions
Asserts that the boolean condition supplied by booleanSupplier is not true.
assertFalse(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that the boolean condition supplied by booleanSupplier is not true.
assertFalse(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that the boolean condition supplied by booleanSupplier is not true.
Assertions - Class in org.junit.jupiter.api
Assertions is a collection of utility methods that support asserting conditions in tests.
assertNotEquals(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are not equal.
assertNotEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are not equal.
assertNotEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual are not equal.
assertNotNull(Object) - Static method in class org.junit.jupiter.api.Assertions
Asserts that actual is not null.
assertNotNull(Object, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that actual is not null.
assertNotNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that actual is not null.
assertNotSame(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual do not refer to the same object.
assertNotSame(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual do not refer to the same object.
assertNotSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual do not refer to the same object.
assertNull(Object) - Static method in class org.junit.jupiter.api.Assertions
Asserts that actual is null.
assertNull(Object, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that actual is null.
assertNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that actual is null.
assertSame(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual refer to the same object.
assertSame(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual refer to the same object.
assertSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that expected and actual refer to the same object.
assertThrows(Class<? extends Throwable>, Executable) - Static method in class org.junit.jupiter.api.Assertions
Asserts that execution of the supplied executable throws an exception of the expectedType.
assertTrue(boolean) - Static method in class org.junit.jupiter.api.Assertions
Asserts that the supplied condition is true.
assertTrue(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that the supplied condition is true.
assertTrue(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assertions
Asserts that the boolean condition supplied by booleanSupplier is true.
assertTrue(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that the boolean condition supplied by booleanSupplier is true.
assertTrue(boolean, String) - Static method in class org.junit.jupiter.api.Assertions
Asserts that the supplied condition is true.
assertTrue(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
Asserts that the boolean condition supplied by booleanSupplier is true.
assumeFalse(boolean) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeFalse(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeFalse(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeFalse(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeFalse(boolean, String) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeFalse(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeTrue(boolean) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeTrue(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeTrue(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeTrue(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeTrue(boolean, String) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumeTrue(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
Validate the given assumption.
assumingThat(BooleanSupplier, Executable) - Static method in class org.junit.jupiter.api.Assumptions
Execute the supplied Executable, but only if the supplied assumption is valid.
assumingThat(boolean, Executable) - Static method in class org.junit.jupiter.api.Assumptions
Execute the supplied Executable, but only if the supplied assumption is valid.
Assumptions - Class in org.junit.jupiter.api
Assumptions is a collection of utility methods that support conditional test execution based on assumptions.
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links
JUnit 5