Clover coverage report -
Coverage timestamp: Do Okt 21 2004 12:21:23 CEST
file stats: LOC: 36   Methods: 3
NCLOC: 16   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ConfigParserFactoryTest.java - 83,3% 66,7% 77,8%
coverage coverage
 1    /*
 2    * Created on 23.07.2003
 3    *
 4    * To change the template for this generated file go to
 5    * Window>Preferences>Java>Code Generation>Code and Comments
 6    */
 7    package org.jconfig.parser;
 8   
 9    import junit.framework.TestCase;
 10    /**
 11    * test cases for the new category object
 12    * these tests are an extension of the existing test
 13    * cases used in the ConfigurationTest
 14    *
 15    * @since 2.2
 16    * @author Andreas Mecky <andreas.mecky@xcom.de>
 17    * @author Terry Dye <terry.dye@xcom.de>
 18    */
 19    public class ConfigParserFactoryTest extends TestCase {
 20   
 21  1 public ConfigParserFactoryTest(String arg0) {
 22  1 super(arg0);
 23    }
 24   
 25  0 public static void main(String[] args) {
 26  0 junit.textui.TestRunner.run(ConfigParserFactoryTest.class);
 27    }
 28   
 29  1 public void testParseNestedConfig() {
 30  1 ConfigurationParser parser = ConfigurationParserFactory.getParser("stupidtest");
 31  1 assertEquals("org.jconfig.parser.CDataConfigParser",parser.getClass().getName());
 32  1 parser = ConfigurationParserFactory.getParser("nested");
 33  1 assertEquals("org.jconfig.parser.NestedConfigParser",parser.getClass().getName());
 34    }
 35   
 36    }