public class ExcludedMethodTest
extends java.lang.Object
Monitoring must be enabled via the agent JVM parameter!
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<java.lang.Object> |
mem
stores the allocated objects.
|
private static long |
WAIT_MAX
Defines the maximum number of repeats of
WAIT_TIME. |
private static long |
WAIT_TIME
Defines the waiting time for the monitoring group which does nothing
else.
|
| Modifier | Constructor and Description |
|---|---|
private |
ExcludedMethodTest()
Prevents this class from being instantiated from outside.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
asserts()
The automated tests using assert statements.
|
private static void |
execute()
Executes the test.
|
static void |
main(java.lang.String[] args)
Aims at reading / writing to both attributes.
|
void |
testMemory()
Allocates memory, should only occur on in program accounting.
|
void |
testRuntime()
Should affect runtime accounting of this class.
|
private static final long WAIT_MAX
WAIT_TIME.private static final long WAIT_TIME
private java.util.List<java.lang.Object> mem
private ExcludedMethodTest()
public void testMemory()
public void testRuntime()
private static void execute()
public static void main(java.lang.String[] args)
args - command line arguments (ignored)public static void asserts()
EndSystem
annotation.