Assertions is a collection of selected assertion utility methods
from JUnit Jupiter for use within the JUnit Platform Test Kit.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | |
| pack-priv static void | |
| private static String | |
| private static void | |
| private static void | |
| private static String | |
| private static String |
| Assertions | back to summary |
|---|---|
| private Assertions() | |
| assertAll | back to summary |
|---|---|
| pack-priv static void assertAll(String heading, Stream<Assertions. | |
| assertEquals | back to summary |
|---|---|
| pack-priv static void assertEquals(long expected, long actual, String message) | |
| buildPrefix | back to summary |
|---|---|
| private static String buildPrefix(String message) | |
| fail | back to summary |
|---|---|
| private static void fail(String message, Object expected, Object actual) | |
| failNotEqual | back to summary |
|---|---|
| private static void failNotEqual(long expected, long actual, String message) | |
| format | back to summary |
|---|---|
| private static String format(long expected, long actual, String message) | |
| formatValues | back to summary |
|---|---|
| private static String formatValues(long expected, long actual) | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| execute | back to summary |
|---|---|
| public void execute() throws Throwable | |