Clover.NET coverage report - Coverage for s2dao.net

Coverage timestamp: 2006年5月18日 15:09:15

File Stats: LOC: 68   Methods: 8
NCLOC: 44 Classes: 1
 
Source File Conditionals Statements Methods TOTAL
Seasar.Dao.Tests.Interceptors\Employee.cs - 100.0% 100.0% 100.0%
coverage
1   #region Copyright
2   /*
3   * Copyright 2005 the Seasar Foundation and the Others.
4   *
5   * Licensed under the Apache License, Version 2.0 (the "License");
6   * you may not use this file except in compliance with the License.
7   * You may obtain a copy of the License at
8   *
9   * http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
14   * either express or implied. See the License for the specific language
15   * governing permissions and limitations under the License.
16   */
17   #endregion
18  
19   using System;
20   using System.Text;
21   using Seasar.Dao.Attrs;
22  
23   namespace Seasar.Dao.Tests.Interceptors
24   {
25   [Table("EMP")]
26   public class Employee
27   {
28   private int empno;
29   private string ename;
30   private short deptno;
31  
32 16 public Employee()
33   {
34   }
35  
36   public int Empno
37   {
38 16 set { empno = value; }
39 16 get { return empno; }
40   }
41  
42   public string Ename
43   {
44 16 set { ename = value; }
45 17 get { return ename; }
46   }
47  
48   public short Deptno
49   {
50 16 set { deptno = value; }
51 16 get { return deptno; }
52   }
53  
54 15 public override string ToString()
55   {
56 15 StringBuilder buf = new StringBuilder(50);
57 15 buf.Append("Empno=");
58 15 buf.Append(Empno);
59 15 buf.Append(", Ename=");
60 15 buf.Append(Ename);
61 15 buf.Append(", Deptnum=");
62 15 buf.Append(Deptno);
63 15 return buf.ToString();
64   }
65  
66   }
67   }
68