EasyMock 2.3

Clover coverage report - EasyMock 2.3
Coverage timestamp: mar. juil. 10 2007 02:46:04 CEST
FRAMES NO FRAMES

file stats: | LOC: | 22 |  | Methods: | 3
| NCLOC: | 14 |  | Classes: | 1

Source file | Conditionals | Statements | Methods | TOTAL

LessThan.java

-

100%

100%

100%

1 |  | /*
2 |  | * Copyright (c) 2001-2007 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 LessThan<T extends Comparable<T>> extends CompareTo<T> {
8 |  |
9 | 11 | public LessThan(Comparable<T> value) {
10 | 11 | super(value);
11 |  | }
12 |  |
13 | 3 | @Override
14 |  | protected String getName() {
15 | 3 | return "lt";
16 |  | }
17 |  |
18 | 19 | @Override
19 |  | protected boolean matchResult(int result) {
20 | 19 | return result < 0;
21 |  | }
22 |  | }