|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectpatterntesting.runtime.junit.RuntimeTester
public final class RuntimeTester
This is a tester to do some runtime checking like memory checks and other stuff.
| Method Summary | |
|---|---|
static void |
assertFreeMemory(int required)
If you need a certain amount of free memory you can assert it with this method here. |
static void |
assertMaxMemory(int required)
If you have some tests which needs a certain amount of memory this test is for you. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void assertMaxMemory(int required)
required - the max memory in MBpublic static void assertFreeMemory(int required)
required - the required free memory in MB
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||