- assertConstuctorThrows(Class<? extends Throwable>, Constructor<?>, Object...) - Static method in class com.gmail.bertcarnell.assertextensions.ExceptionAssertExtensions
-
assertThrows for Constructors using reflection
- assertEqualsLRE(double, double, int) - Static method in class com.gmail.bertcarnell.assertextensions.NumericAssertExtensions
-
Assert that expected and actual are equal to within a certain log relative error.
- assertEqualsLRE(String, double, double, int) - Static method in class com.gmail.bertcarnell.assertextensions.NumericAssertExtensions
-
Assert that expected and actual are equal to within a certain log relative error.
- assertEqualsLRE(BigDecimal, BigDecimal, int) - Static method in class com.gmail.bertcarnell.assertextensions.NumericAssertExtensions
-
Assert that expected and actual are equal to within a certain log relative error.
- assertEqualsLRE(String, BigDecimal, BigDecimal, int) - Static method in class com.gmail.bertcarnell.assertextensions.NumericAssertExtensions
-
Assert that expected and actual are equal to within a certain log relative error.
- AssertExtensions - Class in com.gmail.bertcarnell.assertextensions
-
Adds additional Assert methods to the JUnit implementation
- assertSetsEqualsAsLists(Set<?>, Set<?>) - Static method in class com.gmail.bertcarnell.assertextensions.AssertExtensions
-
Cast a set to an array list of objects and test equality
- assertThrows(Class<T>, Runnable) - Static method in class com.gmail.bertcarnell.assertextensions.ExceptionAssertExtensions
-
Checks that the logic wrapped by the given Runnable throw an exception of the specified type (only valid for
RuntimeExceptions given that the run method of the Runnable interface exposes no throws signature).
- assertThrows(Class<T>, Runnable, String) - Static method in class com.gmail.bertcarnell.assertextensions.ExceptionAssertExtensions
-
Similar to the other assertThrows methods.
- assertThrows(String, Class<T>, Runnable) - Static method in class com.gmail.bertcarnell.assertextensions.ExceptionAssertExtensions
-
Assert that a method in a Runnable
closure should throw when tested
- assertThrows(String, Class<T>, Runnable, String) - Static method in class com.gmail.bertcarnell.assertextensions.ExceptionAssertExtensions
-
Assert that a method in a Runnable
closure should throw when tested
- assertThrows(Class<? extends Throwable>, Object, String, Object...) - Static method in class com.gmail.bertcarnell.assertextensions.ExceptionAssertExtensions
-
Unit test to assert that a specific type of exception is thrown
- assertThrows(String, Class<? extends Throwable>, Object, String, Object...) - Static method in class com.gmail.bertcarnell.assertextensions.ExceptionAssertExtensions
-
Unit test to assert that a specific type of exception with a specific message is thrown
- assertThrowsAndDoAssertsInCatch(Class<T>, ExceptionAssertionsPerformer<T>) - Static method in class com.gmail.bertcarnell.assertextensions.ExceptionAssertExtensions
-
Checks if the given exception type is thrown and perform the given assertions in that exception object.
- assertThrowsAndDoAssertsInCatch(Class<T>, ExceptionAssertionsPerformer<T>, String) - Static method in class com.gmail.bertcarnell.assertextensions.ExceptionAssertExtensions
-
Similar to the method with the same name.
- assertThrowsSpecificException(String, Class<T>, ExceptionAssertionsPerformer<T>, String) - Static method in class com.gmail.bertcarnell.assertextensions.ExceptionAssertExtensions
-
Assert that a method in a Runnable
closure should throw when tested with a specific message