pause support
This commit is contained in:
parent
a5a46a4670
commit
e854c27358
|
@ -95,6 +95,18 @@ public abstract class BasicTest {
|
||||||
return temp.asFloatBuffer();
|
return temp.asFloatBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Pauses the invoking thread for specified milliseconds
|
||||||
|
*
|
||||||
|
* @param time Milliseconds to sleep
|
||||||
|
*/
|
||||||
|
protected void pause(long time) {
|
||||||
|
try {
|
||||||
|
Thread.sleep(time);
|
||||||
|
} catch (InterruptedException inte) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exits the test NOW, printing errorcode to stdout
|
* Exits the test NOW, printing errorcode to stdout
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue