public class LoggingTest
extends junit.framework.TestCase
| Constructor and Description |
|---|
LoggingTest(java.lang.String name)
Get an instance of LoggingTest.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Set up logging.
|
void |
testDebugLogging()
Make sure logging is enabled.
|
void |
testExceptionArg()
Test picking up an exception argument.
|
void |
testInfoLogging()
Make sure info is enabled, and test it.
|
void |
testLevelStrings()
Test stringing levels.
|
void |
testLog4j()
Make sure we're using log4j.
|
void |
testMyLogger()
Test the default logger.
|
void |
testNoExceptionArg()
Test when the last argument is not an exception.
|
void |
testOtherLogging()
Test other log stuff.
|
void |
testSunLogger()
Test the sun logger.
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toStringassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, formatpublic LoggingTest(java.lang.String name)
public void setUp()
setUp in class junit.framework.TestCasepublic void testDebugLogging()
public void testInfoLogging()
public void testOtherLogging()
public void testLog4j()
public void testSunLogger()
public void testMyLogger()
public void testLevelStrings()
public void testExceptionArg()
throws java.lang.Exception
java.lang.Exceptionpublic void testNoExceptionArg()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.