Clover Coverage Report - EasyMock 2.4
Coverage timestamp: mer. juil. 2 2008 02:17:38 CEST
3   24   3   1
0   15   1   3
3     1  
1    
 
 
  CompareEqual       Line # 7 3 3 100% 1.0
 
  (2)
 
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.matchers;
6   
 
7    public class CompareEqual<T extends Comparable<T>> extends CompareTo<T> {
8   
9    private static final long serialVersionUID = 7616033998227799268L;
10   
 
11  3 toggle public CompareEqual(Comparable<T> value) {
12  3 super(value);
13    }
14   
 
15  1 toggle @Override
16    protected String getName() {
17  1 return "cmpEq";
18    }
19   
 
20  5 toggle @Override
21    protected boolean matchResult(int result) {
22  5 return result == 0;
23    }
24    }