Clover Coverage Report - Kuali Maven Common 1.0.5
Coverage timestamp: Sun Feb 6 2011 15:09:27 EST
4   21   2   2
0   17   0.5   2
2     1  
1    
 
  MavenLoggerTest       Line # 8 4 0% 2 0 100% 1.0
 
  (2)
 
1    package org.kuali.maven.mojo;
2   
3    import org.apache.commons.logging.Log;
4    import org.apache.commons.logging.LogFactory;
5    import org.apache.log4j.Logger;
6    import org.junit.Test;
7   
 
8    public class MavenLoggerTest {
9   
 
10  1 toggle @Test
11    public void commonsLogging() {
12  1 Log log = LogFactory.getLog(this.getClass());
13  1 log.info("Hello world");
14    }
15   
 
16  1 toggle @Test
17    public void log4jLogging() {
18  1 Logger logger = Logger.getLogger(this.getClass());
19  1 logger.info("Hello world");
20    }
21    }