Clover Coverage Report - Atlassian Mail
Coverage timestamp: Mon Sep 29 2008 21:26:36 CDT
9   65   9   1
0   44   1   9
9     1  
1    
 
 
  MockAbstractMailServer       Line # 19 9 9 77.8% 0.7777778
 
  (3)
 
1    /*
2    * Created by IntelliJ IDEA.
3    * User: owen
4    * Date: Nov 25, 2002
5    * Time: 9:05:42 AM
6    * CVS Revision: $Revision: 1.2 $
7    * Last CVS Commit: $Date: 2002/12/09 07:22:24 $
8    * Author of last CVS Commit: $Author: mike $
9    * To change this template use Options | File Templates.
10    */
11    package test.mock.mail.server;
12   
13    import com.atlassian.mail.server.AbstractMailServer;
14    import com.atlassian.mail.server.MailServerManager;
15   
16    import alt.javax.mail.Session;
17    import javax.naming.NamingException;
18   
 
19    public class MockAbstractMailServer extends AbstractMailServer
20    {
 
21  3 toggle public MockAbstractMailServer(Long id, String name, String description, String serverName, String username, String password)
22    {
23  3 super(id, name, description, serverName, username, password);
24    }
25   
 
26  0 toggle public String getType()
27    {
28  0 return MailServerManager.SERVER_TYPES[1];
29    }
30   
 
31  0 toggle public Session getSession() throws NamingException
32    {
33  0 return null;
34    }
35   
 
36  4 toggle public void setId(Long id)
37    {
38  4 super.setId(id);
39    }
40   
 
41  4 toggle public void setName(String name)
42    {
43  4 super.setName(name);
44    }
45   
 
46  4 toggle public void setDescription(String description)
47    {
48  4 super.setDescription(description);
49    }
50   
 
51  4 toggle public void setHostname(String serverName)
52    {
53  4 super.setHostname(serverName);
54    }
55   
 
56  6 toggle public void setUsername(String username)
57    {
58  6 super.setUsername(username);
59    }
60   
 
61  6 toggle public void setPassword(String password)
62    {
63  6 super.setPassword(password);
64    }
65    }