Clover Coverage Report - EasyMock 2.4
Coverage timestamp: mer. juil. 2 2008 02:17:38 CEST
5   35   4   1,25
0   21   0,8   4
4     1  
1    
 
 
  ExpectedInvocationAndResults       Line # 9 5 4 100% 1.0
 
  (187)
 
1    /*
2    * Copyright (c) 2001-2008 OFFIS, Tammo Freese.
3    * This program is made available under the terms of the MIT License.
4    */
5    package org.easymock.internal;
6   
7    import java.io.Serializable;
8   
 
9    public class ExpectedInvocationAndResults implements Serializable {
10   
11    private static final long serialVersionUID = 8189985418895395472L;
12   
13    ExpectedInvocation expectedInvocation;
14   
15    Results results;
16   
 
17  401 toggle public ExpectedInvocationAndResults(ExpectedInvocation expectedInvocation,
18    Results results) {
19  401 this.expectedInvocation = expectedInvocation;
20  401 this.results = results;
21    }
22   
 
23  2255 toggle public ExpectedInvocation getExpectedInvocation() {
24  2255 return expectedInvocation;
25    }
26   
 
27  1625 toggle public Results getResults() {
28  1625 return results;
29    }
30   
 
31  240 toggle @Override
32    public String toString() {
33  240 return expectedInvocation.toString() + ": " + results.toString();
34    }
35    }