@ DSComment ( "From safe class list" ) @ DSSafe ( DSCat . SAFE_LIST ) @ DSGenerator ( tool_name = "Doppelganger" , tool_version = "2.0" , generated_on = "2013-12-30 13:02:44.163 -0500" , hash_original_method = "CE28B7D5A93F674A0286463AAF68C789" , hash_generated_method = "4C5D61097E13A407D793E43190510D41" ) public synchronized void addFailure ( Test test , AssertionFailedError t ) { fFailures . addElement ( new TestFailure ( test , t ) ) ; for ( Enumeration e = cloneListeners ( ) . elements ( ) ; e . hasMoreElements ( ) ; ) { ( ( TestListener ) e . nextElement ( ) ) . addFailure ( test , t ) ; } }
Adds a failure to the list of failures . The passed in exception caused the failure .