|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.util.TestLogger
This class is a utility for use with the log4j library, during testing. It suppresses a specific Logger, and then reports whether any messages were generated by that Logger.
Constructor Summary | |
TestLogger(java.lang.Class c)
Suppresses the logger identified by c |
Method Summary | |
boolean |
end()
Ends suppression of the logger. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestLogger(java.lang.Class c)
c
- The class naming the Logger to suppress.Method Detail |
public boolean end()
java.lang.NullPointerException
- If invoked twice.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |