bb.util
Class UncaughtThrowableLogger.UnitTest
java.lang.Object
bb.util.UncaughtThrowableLogger.UnitTest
- Enclosing class:
- UncaughtThrowableLogger
public static class UncaughtThrowableLogger.UnitTest
- extends Object
See the Overview page of the project's javadocs for a general description of this unit test class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
threadnameNew
private static final String threadnameNew
- See Also:
- Constant Field Values
exceptionMsg
private static final String exceptionMsg
- See Also:
- Constant Field Values
threadnameOriginal
private String threadnameOriginal
logFile
private File logFile
logger
private Logger logger
uncaughtThrowableLogger
private UncaughtThrowableLogger uncaughtThrowableLogger
UncaughtThrowableLogger.UnitTest
public UncaughtThrowableLogger.UnitTest()
setUp
public void setUp()
throws Exception
- Throws:
Exception
tearDown
public void tearDown()
throws Exception
- Throws:
Exception
test_uncaughtException_shouldPass1
public void test_uncaughtException_shouldPass1()
throws Exception
- Throws:
Exception
test_uncaughtException_shouldPass2
public void test_uncaughtException_shouldPass2()
throws Exception
- Throws:
Exception
test_uncaughtException_shouldPass3
public void test_uncaughtException_shouldPass3()
throws Exception
- Throws:
Exception
test_uncaughtException_shouldPass4
public void test_uncaughtException_shouldPass4()
throws Exception
- Throws:
Exception
confirmLogFileContains
private void confirmLogFileContains(String s)
throws Exception
- Throws:
Exception