|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.comparators.core.AbstractComparatorTime
public abstract class AbstractComparatorTime
Abstract comparator of time objects.
| Field Summary | |
|---|---|
static String |
FEATURE_TOLERANCE
Feature to set time tolerance. |
| Constructor Summary | |
|---|---|
AbstractComparatorTime()
|
|
| Method Summary | |
|---|---|
protected boolean |
compare(long left,
long right)
Compare the expected and received. |
Long |
getTolerance()
Get the time tolerance. |
void |
initialize()
Initialize the converter. |
void |
setTolerance(Long tolerance)
Set time tolerance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.specrunner.comparators.IComparator |
|---|
getType, match |
| Methods inherited from interface java.util.Comparator |
|---|
compare, equals |
| Field Detail |
|---|
public static final String FEATURE_TOLERANCE
| Constructor Detail |
|---|
public AbstractComparatorTime()
| Method Detail |
|---|
public void initialize()
IResetable
initialize in interface IResetablepublic Long getTolerance()
public void setTolerance(Long tolerance)
tolerance - The tolerance.
protected boolean compare(long left,
long right)
left - The expected time.right - The received time.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||