@TestClass(value="org.openscience.cdk.smsd.global.TimeOutTest") public class TimeOut extends Object
Modifier and Type | Method and Description |
---|---|
static TimeOut |
getInstance()
Get Instance of the timeout.
|
double |
getTimeOut()
Return cutoff value for time out.
|
boolean |
isTimeOutFlag()
Return true if its a timeout else return false.
|
void |
setTimeOut(double timeout)
set cutoff value for time out eg.
|
void |
setTimeOutFlag(boolean timeOut)
Set true if timeout occures else false
|
@TestMethod(value="testGetInstance") public static TimeOut getInstance()
@TestMethod(value="testSetTimeOut") public void setTimeOut(double timeout)
timeout
- @TestMethod(value="testSetTimeOut") public double getTimeOut()
@TestMethod(value="testIsTimeOutFlag") public boolean isTimeOutFlag()
@TestMethod(value="testSetTimeOutFlag") public void setTimeOutFlag(boolean timeOut)
timeOut
- the timeout flag to set