Clover Coverage Report
Coverage timestamp: Fri May 24 2013 13:47:27 UTC
8   44   2   4
0   16   0.25   2
2     1  
1    
 
  FormalProofVoTest       Line # 24 8 2 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.FormalProofVo}.
21    *
22    * @author Michael Meyling
23    */
 
24    public class FormalProofVoTest extends AbstractVoModuleTestCase {
25   
26    /** This class is tested. */
27    private Class clazz = FormalProofVo.class;
28   
29   
 
30  59 toggle protected Class getTestedClass() {
31  59 return clazz;
32    }
33   
 
34  1 toggle public void testConstructor() {
35  1 FormalProofVo vo = null;
36  1 vo = new FormalProofVo(null);
37  1 assertNull(vo.getFormalProofLineList());
38  1 FormalProofLineListVo lines = new FormalProofLineListVo();
39  1 lines.add(new FormalProofLineVo());
40  1 vo = new FormalProofVo(lines);
41  1 assertEquals(lines, vo.getFormalProofLineList());
42    }
43   
44    }