|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SubsectionVoTest | Line # 24 | 7 | 4 | 100% |
1.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
(3) | |||
Result | |||
0.18181819
|
org.qedeq.kernel.se.dto.module.SubsectionVoTest.testGetNode org.qedeq.kernel.se.dto.module.SubsectionVoTest.testGetNode | 1 PASS | |
0.18181819
|
org.qedeq.kernel.se.dto.module.SubsectionVoTest.testGetSubsection org.qedeq.kernel.se.dto.module.SubsectionVoTest.testGetSubsection | 1 PASS | |
0.18181819
|
org.qedeq.kernel.se.test.AbstractValueObjectTestCase.testAll org.qedeq.kernel.se.test.AbstractValueObjectTestCase.testAll | 1 PASS | |
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 | protected Class getTestedClass() { |
30 | 75 | return clazz; |
31 | } | |
32 | ||
33 | private SubsectionVo subsection; | |
34 | ||
35 | 3 | 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 | public void testGetSubsection() { |
43 | 1 | assertEquals(subsection, subsection.getSubsection()); |
44 | } | |
45 | ||
46 | 1 | public void testGetNode() { |
47 | 1 | assertNull(subsection.getNode()); |
48 | } | |
49 | ||
50 | ||
51 | } |
|