|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.core.logging.TestThreadLocalErrorCollection
public class TestThreadLocalErrorCollection
| Field Summary | |
|---|---|
static org.apache.log4j.spi.LoggingEvent |
TEST_LOGGING_EVENT
|
| Constructor Summary | |
|---|---|
TestThreadLocalErrorCollection()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
void |
tearDown()
|
void |
testDisabledPreventsAddingErrorMessages()
|
void |
testEnabledAllowsErrorMessages()
|
void |
testLimitDefault()
|
void |
testLimitMutated()
|
void |
testLimitNormal()
|
void |
testToggle()
|
| Methods inherited from class junit.framework.TestCase |
|---|
assertEquals, 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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.log4j.spi.LoggingEvent TEST_LOGGING_EVENT
| Constructor Detail |
|---|
public TestThreadLocalErrorCollection()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseException
public void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseException
public void testDisabledPreventsAddingErrorMessages()
throws Exception
Exception
public void testEnabledAllowsErrorMessages()
throws Exception
Exception
public void testToggle()
throws Exception
Exception
public void testLimitNormal()
throws Exception
Exception
public void testLimitDefault()
throws Exception
Exception
public void testLimitMutated()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||