org.slf4j.impl
Class LogbackMDCAdapterTest

java.lang.Object
  extended by org.slf4j.impl.LogbackMDCAdapterTest

public class LogbackMDCAdapterTest
extends Object


Constructor Summary
LogbackMDCAdapterTest()
           
 
Method Summary
 void copyOnInheritence()
          Test that LogbackMDCAdapter copies its hashmap when a child thread inherits it.
 void lbclassic77()
          Test that CopyOnInheritThreadLocal does not barf when the MDC hashmap is null
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogbackMDCAdapterTest

public LogbackMDCAdapterTest()
Method Detail

lbclassic77

public void lbclassic77()
                 throws InterruptedException
Test that CopyOnInheritThreadLocal does not barf when the MDC hashmap is null

Throws:
InterruptedException

copyOnInheritence

public void copyOnInheritence()
                       throws InterruptedException
Test that LogbackMDCAdapter copies its hashmap when a child thread inherits it.

Throws:
InterruptedException


Copyright © 2005-2009 QOS.ch. All Rights Reserved.