|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.hyperic.hq.common.MethodInvocationMetricsGroup_test
public class MethodInvocationMetricsGroup_test
Tests the MethodInvocationMetricsGroup class.
Constructor Summary | |
---|---|
MethodInvocationMetricsGroup_test(java.lang.String name)
Creates an instance. |
Method Summary | |
---|---|
void |
testAddInvocationsFlushExplicitly()
|
void |
testAddInvocationsPriorToFlushBelowQueueCapacity()
|
void |
testAddInvocationsPriorToFlushExceedQueueCapacity()
|
void |
testAddInvocationsSynchronously()
|
void |
testAsyncInsertionPerformance()
Test the performance of adding method invocation times asynchronously, evaluating the group metrics only on flush. |
void |
testGetMetricsNoInvocationTimesAdded()
|
void |
testIllegalQueueCapacity()
Expect IllegalArgumentException. |
void |
testMetricCalculations()
|
void |
testMinInvocationTimeInitializedCorrectly()
The min invocation time should always be set initially to the first collected invocation time. |
void |
testResetMetrics()
|
void |
testSetGroupName()
|
void |
testSynchInsertionPerformance()
Test the performance of adding method invocation times synchronously, evaluating the group metrics immediately. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MethodInvocationMetricsGroup_test(java.lang.String name)
name
- Method Detail |
---|
public void testIllegalQueueCapacity() throws java.lang.Exception
java.lang.Exception
public void testSetGroupName()
public void testGetMetricsNoInvocationTimesAdded()
public void testAddInvocationsPriorToFlushBelowQueueCapacity()
public void testAddInvocationsPriorToFlushExceedQueueCapacity()
public void testAddInvocationsSynchronously()
public void testAddInvocationsFlushExplicitly()
public void testMinInvocationTimeInitializedCorrectly()
public void testMetricCalculations()
public void testResetMetrics()
public void testSynchInsertionPerformance() throws java.lang.Exception
java.lang.Exception
public void testAsyncInsertionPerformance() throws java.lang.Exception
java.lang.Exception
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |