Clover Coverage Report
Coverage timestamp: Fri May 24 2013 13:47:27 UTC
17   58   3   5.67
0   28   0.18   3
3     1  
1    
 
  InitialPredicateDefinitionVoTest       Line # 24 17 3 100% 1.0
 
  (2)
 
1    /* This file is part of the project "Hilbert II" - http://www.qedeq.org
2    *
3    * Copyright 2000-2013, Michael Meyling <mime@qedeq.org>.
4    *
5    * "Hilbert II" is free software; you can redistribute
6    * it and/or modify it under the terms of the GNU General Public
7    * License as published by the Free Software Foundation; either
8    * version 2 of the License, or (at your option) any later version.
9    *
10    * This program is distributed in the hope that it will be useful,
11    * but WITHOUT ANY WARRANTY; without even the implied warranty of
12    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13    * GNU General Public License for more details.
14    */
15   
16    package org.qedeq.kernel.se.dto.module;
17   
18   
19    /**
20    * Test class {@link org.qedeq.kernel.se.dto.module.InitialPredicateDefinitionVo}.
21    *
22    * @author Michael Meyling
23    */
 
24    public class InitialPredicateDefinitionVoTest extends AbstractVoModuleTestCase {
25   
26    /** This class is tested. */
27    private Class clazz = InitialPredicateDefinitionVo.class;
28   
29    private InitialPredicateDefinitionVo vo;
30   
 
31  2 toggle protected void setUp() throws Exception {
32  2 super.setUp();
33  2 removeMethodToCheck("getAxiom");
34  2 removeMethodToCheck("getInitialPredicateDefinition");
35  2 removeMethodToCheck("getPredicateDefinition");
36  2 removeMethodToCheck("getInitialFunctionDefinition");
37  2 removeMethodToCheck("getFunctionDefinition");
38  2 removeMethodToCheck("getProposition");
39  2 removeMethodToCheck("getRule");
40  2 vo = new InitialPredicateDefinitionVo();
41    }
42   
 
43  1 toggle public void testOtherGetters() {
44  1 assertNull(vo.getAxiom());
45  1 assertEquals(vo, vo.getInitialPredicateDefinition());
46  1 assertNull(vo.getPredicateDefinition());
47  1 assertNull(vo.getInitialFunctionDefinition());
48  1 assertNull(vo.getFunctionDefinition());
49  1 assertNull(vo.getProposition());
50  1 assertNull(vo.getRule());
51    }
52   
53   
 
54  95 toggle protected Class getTestedClass() {
55  95 return clazz;
56    }
57   
58    }