|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jdiagnose.DiagnosticUnit
org.jdiagnose.library.FailingDiagnostic
A Diagnostic that always fails. Useful to test what happens when Diagnostics fail (e.g. if you're sending emails on failure). User: jamie Date: Jun 4, 2004 Time: 7:37:33 PM
| Constructor Summary | |
FailingDiagnostic()
Default Constructor |
|
FailingDiagnostic(java.lang.String name)
Construct with new fqn |
|
| Method Summary | |
void |
diagnoseFailure()
Diagnose a failure |
| Methods inherited from class org.jdiagnose.DiagnosticUnit |
assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertTrue, assertTrue, diagnose, getDiagnosticContainers, getDiagnostics, getName, setUp, tearDown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FailingDiagnostic()
public FailingDiagnostic(java.lang.String name)
name - the fully qualified name of this diagnostic| Method Detail |
public void diagnoseFailure()
throws DiagnosticException
DiagnosticException - always thrown.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||