A C E N P 

A

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

C

com.gmail.bertcarnell.assertextensions - package com.gmail.bertcarnell.assertextensions
 

E

ExceptionAssertExtensions - Class in com.gmail.bertcarnell.assertextensions
Adds additional Assert methods to the JUnit implementation
ExceptionAssertionsPerformer<T> - Interface in com.gmail.bertcarnell.assertextensions
Interface to wrap the required logic to: Execute the statement/s that is/are expected to throw an exception (method performThrowingAction()). Do the corresponding assertions on the exception thrown (method performAssertionsAfterCatch(T)). We pass this functions into the corresponding static methods in the AssertExtensions class.

N

NumericAssertExtensions - Class in com.gmail.bertcarnell.assertextensions
Extensions to the JUnit library for numeric argument related assertions
NumericAssertExtensions() - Constructor for class com.gmail.bertcarnell.assertextensions.NumericAssertExtensions
 

P

pass() - Static method in class com.gmail.bertcarnell.assertextensions.AssertExtensions
Extension shorthand for assertTrue(true) to mirror fail()
performAssertionsAfterCatch(T) - Method in interface com.gmail.bertcarnell.assertextensions.ExceptionAssertionsPerformer
Method used to perform assertions after performThrowingAction has thrown and been caught
performThrowingAction() - Method in interface com.gmail.bertcarnell.assertextensions.ExceptionAssertionsPerformer
Method that is expected to throw an exception of type T or assignable from type T
A C E N P 

Copyright © 2014. All rights reserved.