>public&nbsp;void&nbsp;addFailure(junit.framework.Test&nbsp;test,
              java.lang.Throwable&nbsp;t)</pre>
<div class="block">Interface TestListener for JUnit &lt;= 3.4.

 <p>A Test failed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>test</code> - the test.</dd><dd><code>t</code> - the exception thrown by the test.</dd></dl>
</li>
</ul>
<a name="addFailure(junit.framework.Test, junit.framework.AssertionFailedError)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList"