public class LogbackMDCAdapterTest extends Object
| Constructor and Description |
|---|
LogbackMDCAdapterTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearOnChildThreadShouldNotAffectParent() |
void |
LOGBACK_442()
Test that CopyOnInheritThreadLocal does not barf when the
MDC hashmap is null
|
void |
nearSimultaneousPutsShouldNotCauseConcurrentModificationException() |
void |
noCopyOnInheritenceTest()
Test that LogbackMDCAdapter does not copy its hashmap when a child
thread inherits it.
|
void |
removeForNullKeyTest() |
void |
removeInexistentKey() |
void |
sequenceWithCopyContextMap() |
void |
sequenceWithGet() |
void |
sequenceWithGetPropertyMap() |
public void LOGBACK_442()
throws InterruptedException
InterruptedExceptionpublic void removeForNullKeyTest()
public void removeInexistentKey()
public void sequenceWithGet()
public void sequenceWithGetPropertyMap()
public void sequenceWithCopyContextMap()
public void noCopyOnInheritenceTest()
throws InterruptedException
InterruptedExceptionpublic void clearOnChildThreadShouldNotAffectParent()
throws InterruptedException
InterruptedExceptionpublic void nearSimultaneousPutsShouldNotCauseConcurrentModificationException()
throws InterruptedException
InterruptedExceptionCopyright © 2005–2016 QOS.ch. All rights reserved.