Hi

I am working on writing unit tests for *jcl-over-slf4j* module.

I have started with some simple unit tests like:

   1. Testing attribute set/get and removals for SLF4JLogFactory
   
<https://github.com/qos-ch/slf4j/blob/master/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLogFactory.java>
   2. Testing the delegation of calls for SLF4JLocationAwareLog
   
<https://github.com/qos-ch/slf4j/blob/master/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLocationAwareLog.java>
   and SLF4JLog
   
<https://github.com/qos-ch/slf4j/blob/master/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLog.java>
   .

I noticed that there are two classes SimpleLog
<https://github.com/qos-ch/slf4j/blob/master/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SimpleLog.java>
and NoOpLog
<https://github.com/qos-ch/slf4j/blob/master/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/NoOpLog.java>
which are nowhere used. I would appreciate if some one can help me
understand the utility of these two classes.

Would it be useful if I write unit tests for these classes?

Thank you
Farid
_______________________________________________
slf4j-dev mailing list
slf4j-dev@qos.ch
http://mailman.qos.ch/mailman/listinfo/slf4j-dev

Reply via email to