Class LoaderUtil
java.lang.Object
net.officefloor.compile.test.util.LoaderUtil
Utility methods for loader test utilities.
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E,A> void assertLength(String message, E[] expected, Function<E, String> expectedToString, A[] actual, Function<A, String> actualToString) Asserts the arrays are of the same length, providing useful debug information if not.static <T> voidassertLength(String message, T[] expected, T[] actual, Function<T, String> toString) Asserts the arrays are of the same length, providing useful debug information if not.
-
Method Details
-
assertLength
public static <T> void assertLength(String message, T[] expected, T[] actual, Function<T, String> toString) Asserts the arrays are of the same length, providing useful debug information if not. -
assertLength
public static <E,A> void assertLength(String message, E[] expected, Function<E, String> expectedToString, A[] actual, Function<A, String> actualToString) Asserts the arrays are of the same length, providing useful debug information if not.
-