|
||||||||||
| 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.apache.commons.modeler.RegistryTestCase
public class RegistryTestCase
Test Case for the Registry class.
| Field Summary | |
|---|---|
protected org.apache.commons.modeler.Registry |
registry
The Registry we will be testing. |
| Constructor Summary | |
|---|---|
RegistryTestCase(java.lang.String name)
Construct a new instance of this test case. |
|
| Method Summary | |
|---|---|
protected void |
checkDescriptor(javax.management.Descriptor desc,
java.lang.String name,
java.lang.Object value)
|
protected void |
checkField(java.util.List fields,
java.lang.String name,
java.lang.Object value)
|
void |
setUp()
Set up instance variables required by this test case. |
static junit.framework.Test |
suite()
Return the tests included in this test suite. |
void |
tearDown()
Tear down instance variables required by this test case. |
void |
testDescriptorEntries()
Test descriptor entries. |
void |
testModelMBeanAttributeInfo()
Test ModelMBeanAttributeInfo information. |
void |
testModelMBeanConstructorInfo()
Test ModelMBeanConstructorInfo information. |
void |
testModelMBeanInfo()
Test ModelMBeanInfo information. |
void |
testModelMBeanNotificationInfo()
Test ModelMBeanNotificationInfo information. |
void |
testModelMBeanOperationInfo()
Test ModelMBeanOperationInfo information. |
void |
testRegistryCreation()
Test registry creation. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
| Field Detail |
|---|
protected org.apache.commons.modeler.Registry registry
| Constructor Detail |
|---|
public RegistryTestCase(java.lang.String name)
name - Name of the test case| Method Detail |
|---|
public void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionpublic static junit.framework.Test suite()
public void tearDown()
tearDown in class junit.framework.TestCase
public void testModelMBeanAttributeInfo()
throws java.lang.Exception
java.lang.Exception
public void testModelMBeanConstructorInfo()
throws java.lang.Exception
java.lang.Exceptionpublic void testDescriptorEntries()
public void testModelMBeanInfo()
throws java.lang.Exception
java.lang.Exception
public void testModelMBeanNotificationInfo()
throws java.lang.Exception
java.lang.Exception
public void testModelMBeanOperationInfo()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegistryCreation()
protected void checkDescriptor(javax.management.Descriptor desc,
java.lang.String name,
java.lang.Object value)
protected void checkField(java.util.List fields,
java.lang.String name,
java.lang.Object value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||