|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectTestCase
org.globus.ogsa.server.test.GridTestCase
org.globus.ogsa.impl.core.logging.test.TestOgsiLogging
tests OgsiLogging
| Field Summary |
| Fields inherited from class org.globus.ogsa.server.test.GridTestCase |
TEST_SERVER |
| Constructor Summary | |
TestOgsiLogging(java.lang.String name)
|
|
| Method Summary | |
void |
deliverNotification(ExtensibilityType message)
implementation for the NotificationSinkCallback |
void |
flush()
gives a hint that this property should be checkpointed to the deployment descriptor, it is however not guaranteed that the properties have been persisted when the method returns |
java.lang.Object |
getPersistentProperty(java.lang.String key)
gets a persistent property (checkpointed to deployment descriptor) keyed by name |
java.lang.Object |
getProperty(java.lang.String key)
gets a property keyed by name |
void |
setPersistentProperty(java.lang.String key,
java.lang.Object val)
sets a persistent property (checkpointed to deployment descriptor) keyed by name |
void |
setProperty(java.lang.String key,
java.lang.Object val)
sets a property keyed by name |
protected void |
setUp()
|
static Test |
suite()
|
void |
testChangeTransientGroupAttribute()
test for changeTransientGroupAttribute Basic strategy: - Use Logging Counter because it logs messages - Make sure it is logging by calling setTransient - Subscribe to log messages. |
void |
testChangeTransientGroupNameInvalid()
testChangeTransientGroupNameInvalid change to an unknown group name. |
void |
testLogLevelChanges()
test for log level changes |
void |
testPersistentLogLevelChanges()
test for log level changes |
void |
testRemoveTransientAttribute()
testRemoveTransientAttribute Basic strategy: - Use Logging Counter because it logs messages - Make sure it is logging by calling setTransient - Subscribe to log messages. |
void |
testServiceDataChangeNotification()
test that we are notified of ServiceData changes - get a NotificationSinkManager and add ourself as a listener for ServiceData changes - log messages to cause notifications - verify that we were notified |
void |
testSetLogBufferSize()
check the default LogBufferSize, and set it larger. |
void |
testSetPersistentAttribute()
test for setPersistentAttribute |
void |
testSetPersistentAttributeDestInvalid()
test for invalid Destination attribute |
void |
testSetPersistentAttributeLevelInvalid()
test for invalid LEVEL attribute |
void |
testSetTransientAttribute()
test for setTransientAttribute Basic strategy: - Use Logging Counter because it logs messages - Make sure it is logging by calling setTransient - Subscribe to log messages. |
void |
testSetTransientAttributeDestInvalid()
test for invalid Destination attribute |
void |
testSetTransientAttributeLevelInvalid()
test for invalid LEVEL attribute |
| Methods inherited from class org.globus.ogsa.server.test.GridTestCase |
setTestServer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TestOgsiLogging(java.lang.String name)
| Method Detail |
public java.lang.Object getProperty(java.lang.String key)
ServiceProperties
getProperty in interface ServicePropertieskey - property key
public java.lang.Object getPersistentProperty(java.lang.String key)
ServiceProperties
getPersistentProperty in interface ServicePropertieskey - property key
public void setPersistentProperty(java.lang.String key,
java.lang.Object val)
ServiceProperties
setPersistentProperty in interface ServicePropertieskey - property keyval - property value, if null the property will be removed
(if it exists)
public void setProperty(java.lang.String key,
java.lang.Object val)
ServiceProperties
setProperty in interface ServicePropertieskey - property keyval - property value, if null the property will be removed
(if it exists)public void flush()
ServiceProperties
flush in interface ServicePropertiespublic static Test suite()
protected void setUp()
throws java.lang.Exception
setUp in class GridTestCasejava.lang.Exception
public void testSetLogBufferSize()
throws java.lang.Exception
java.lang.Exception
public void testChangeTransientGroupAttribute()
throws java.lang.Exception
java.lang.Exception
public void testSetTransientAttribute()
throws java.lang.Exception
java.lang.Exception
public void testRemoveTransientAttribute()
throws java.lang.Exception
java.lang.Exception
public void testChangeTransientGroupNameInvalid()
throws java.lang.Exception
java.lang.Exception
public void testSetTransientAttributeDestInvalid()
throws java.lang.Exception
java.lang.Exception
public void testSetTransientAttributeLevelInvalid()
throws java.lang.Exception
java.lang.Exception
public void testLogLevelChanges()
throws java.lang.Exception
java.lang.Exception
public void testSetPersistentAttribute()
throws java.lang.Exception
java.lang.Exception
public void testSetPersistentAttributeDestInvalid()
throws java.lang.Exception
java.lang.Exception
public void testSetPersistentAttributeLevelInvalid()
throws java.lang.Exception
java.lang.Exception
public void testPersistentLogLevelChanges()
throws java.lang.Exception
java.lang.Exception
public void testServiceDataChangeNotification()
throws java.lang.Exception
java.lang.Exception
public void deliverNotification(ExtensibilityType message)
throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||