Clover Coverage Report
Coverage timestamp: Fri May 24 2013 13:47:27 UTC
7   51   4   1.75
0   20   0.57   4
4     1  
1    
 
  SubsectionVoTest       Line # 24 7 4 100% 1.0
 
  (3)
 
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.SubsectionVo}.
21    *
22    * @author Michael Meyling
23    */
 
24    public class SubsectionVoTest extends AbstractVoModuleTestCase {
25   
26    /** This class is tested. */
27    private Class clazz = SubsectionVo.class;
28   
 
29  75 toggle protected Class getTestedClass() {
30  75 return clazz;
31    }
32   
33    private SubsectionVo subsection;
34   
 
35  3 toggle public void setUp() throws Exception {
36  3 super.setUp();
37  3 removeMethodToCheck("getNode");
38  3 removeMethodToCheck("getSubsection");
39  3 this.subsection = new SubsectionVo();
40    }
41   
 
42  1 toggle public void testGetSubsection() {
43  1 assertEquals(subsection, subsection.getSubsection());
44    }
45   
 
46  1 toggle public void testGetNode() {
47  1 assertNull(subsection.getNode());
48    }
49   
50   
51    }