|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
test.implementation.modelmbean.AttributeCacheTEST
public class AttributeCacheTEST
Tests attribute caching and operation mapping for XMBean.
Field Summary |
---|
Fields inherited from interface org.jboss.mx.modelmbean.XMBeanConstants |
---|
DESCRIPTOR, GET_METHOD_ATTRIBUTE, METADATA_DESCRIPTOR_PREFIX, RESOURCE_DESCRIPTOR_PREFIX, RESOURCE_REFERENCE, RESOURCE_TYPE, SAX_PARSER, SET_METHOD_ATTRIBUTE, STANDARD_INTERFACE, STANDARD_MBEAN, XMBEAN_DESCRIPTOR_PREFIX, XML_VALIDATION |
Constructor Summary | |
---|---|
AttributeCacheTEST(String s)
|
Method Summary | |
---|---|
void |
testAttributeChangeNotifications()
Tests attribute change notifications |
void |
testCachedAttribute()
Tests attribute that caches the value for 10 secs. |
void |
testCachedAttribute2()
Tests attribute that caches the value for 1 secs. |
void |
testExplicitDisabledAttributeCaching()
Tests that attribute values are not cached if currencyTimeLimit = 0 This test uses the xmbean.dtd |
void |
testImplicitDisabledAttributeCaching()
Tests that attribute values are not cached if nothing is declared in xml. |
void |
testNeverStaleAttributeCaching()
Tests attribute that is never stale (currencyTimeLimit = -1) This test uses the xmbean.dtd |
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributeCacheTEST(String s)
Method Detail |
---|
public void testImplicitDisabledAttributeCaching() throws Exception
Exception
public void testExplicitDisabledAttributeCaching() throws Exception
Exception
public void testNeverStaleAttributeCaching() throws Exception
Exception
public void testCachedAttribute() throws Exception
Exception
public void testCachedAttribute2() throws Exception
Exception
public void testAttributeChangeNotifications() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |