Top Description Inners Constructors Methods
org.junit.platform.testkit.engine

pack-priv Class Assertions

extends Object
Class Inheritance
Imports
java.util.List, .Objects, java.util.stream.Stream, org.junit.platform.commons.util.Preconditions, .StringUtils, .UnrecoverableExceptions, org.opentest4j.AssertionFailedError, .MultipleFailuresError

Assertions is a collection of selected assertion utility methods from JUnit Jupiter for use within the JUnit Platform Test Kit.
Since
1.4

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static interface

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
assertAll(String heading, Stream<Assertions.Executable> executables)

pack-priv static void
assertEquals(long expected, long actual, String message)

private static String
private static void
fail(String message, Object expected, Object actual)

private static void
failNotEqual(long expected, long actual, String message)

private static String
format(long expected, long actual, String message)

private static String
formatValues(long expected, long actual)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Assertionsback to summary
private Assertions()

Method Detail

assertAllback to summary
pack-priv static void assertAll(String heading, Stream<Assertions.Executable> executables)
assertEqualsback to summary
pack-priv static void assertEquals(long expected, long actual, String message)
buildPrefixback to summary
private static String buildPrefix(String message)
failback to summary
private static void fail(String message, Object expected, Object actual)
failNotEqualback to summary
private static void failNotEqual(long expected, long actual, String message)
formatback to summary
private static String format(long expected, long actual, String message)
formatValuesback to summary
private static String formatValues(long expected, long actual)
org.junit.platform.testkit.engine back to summary

pack-priv Interface Assertions.Executable

Annotations
@FunctionalInterface

Method Summary

Modifier and TypeMethod and Description
public void

Method Detail

executeback to summary
public void execute() throws Throwable