Clover Coverage Report - Atlassian Trusted Apps(Aggregated)
Coverage timestamp: Tue Jun 9 2009 19:34:44 CDT
4   30   4   1.33
2   22   1   3
3     1.33  
1    
 
 
  MockCertificateServer       Line # 9 4 4 66.7% 0.6666667
 
  (1)
 
1    package com.atlassian.security.auth.trustedapps.filter;
2   
3    import java.io.IOException;
4    import java.io.Writer;
5   
6    /**
7    *
8    */
 
9    public class MockCertificateServer implements TrustedApplicationsFilter.CertificateServer
10    {
11    private String certificate;
12   
 
13  1 toggle public void writeCertificate(Writer writer) throws IOException
14    {
15  1 if (certificate != null)
16    {
17  1 writer.write(certificate);
18    }
19    }
20   
 
21  0 toggle public String getCertificate()
22    {
23  0 return certificate;
24    }
25   
 
26  1 toggle public void setCertificate(String certificate)
27    {
28  1 this.certificate = certificate;
29    }
30    }