|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FormalProofLineVoTest | Line # 24 | 14 | 2 | 100% |
1.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
(2) | |||
Result | |||
0.875
|
org.qedeq.kernel.se.dto.module.FormalProofLineVoTest.testConstructos org.qedeq.kernel.se.dto.module.FormalProofLineVoTest.testConstructos | 1 PASS | |
0.125
|
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.FormalProofLineVo}. | |
21 | * | |
22 | * @author Michael Meyling | |
23 | */ | |
24 | public class FormalProofLineVoTest extends AbstractVoModuleTestCase { | |
25 | ||
26 | /** This class is tested. */ | |
27 | private Class clazz = FormalProofLineVo.class; | |
28 | ||
29 | 59 | protected Class getTestedClass() { |
30 | 59 | return clazz; |
31 | } | |
32 | ||
33 | 1 | public void testConstructos() { |
34 | 1 | FormalProofLineVo vo = null; |
35 | 1 | vo = new FormalProofLineVo(null, null); |
36 | 1 | assertNull(vo.getLabel()); |
37 | 1 | assertNull(vo.getFormula()); |
38 | 1 | assertNull(vo.getReason()); |
39 | 1 | vo.hashCode(); |
40 | 1 | assertEquals(" null null", vo.toString()); |
41 | 1 | vo = new FormalProofLineVo(null, null, null); |
42 | 1 | assertNull(vo.getLabel()); |
43 | 1 | assertNull(vo.getFormula()); |
44 | 1 | assertNull(vo.getReason()); |
45 | 1 | vo.hashCode(); |
46 | 1 | assertEquals(" null null", vo.toString()); |
47 | } | |
48 | ||
49 | } |
|