org.globus.ogsa.impl.core.notification.framework.test
Class TestNotification

java.lang.Object
  extended byTestCase
      extended byorg.globus.ogsa.server.test.GridTestCase
          extended byorg.globus.ogsa.impl.core.notification.framework.test.CounterNotificationTestCase
              extended byorg.globus.ogsa.impl.core.notification.framework.test.TestNotification
All Implemented Interfaces:
NotificationSinkCallback, ServiceProperties

public class TestNotification
extends CounterNotificationTestCase

Tests Notification Subscription Creation, Destroy, Subscription Expiration and repeated notification

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.globus.ogsa.impl.core.notification.framework.test.CounterNotificationTestCase
message, semaphore, sinkHandle, sinkManager
 
Fields inherited from class org.globus.ogsa.server.test.GridTestCase
TEST_SERVER
 
Fields inherited from interface org.globus.ogsa.ServiceProperties
ACTIVATE_ON_STARTUP, ACTIVATION, BASE_CLASS_NAME, BOOTSTRAP, CONFIG_PATH, CONTAINS_REFERENCE, CREATION_EXTENSIBILITY, CREATION_EXTENSIBILITY_OUTPUT, CUSTOM_EXTENSIBILITY_DESERIALIZER, CUSTOM_EXTENSIBILITY_SERIALIZER, CUSTOM_MAPPING_REGISTERED, DEACTIVATED_PERSISTENT, DEACTIVATED_STATE, DEACTIVATED_TRANSIENT, DEACTIVATION, DESTROY_LISTENER, DESTRUCTION_SKELETON, DISABLE_FACTORY_REGISTRY, ENDPOINT, ENTRY_INSTANCE_CREATION, FACTORY, FACTORY_CALLBACK, FACTORY_HANDLE, FACTORY_PROVIDER, FACTORY_REGISTRY, GSR_DESCRIPTION, HANDLE, HANDLE_PORT, HANDLE_PROTOCOL, INSTANCE_CLASS, INSTANCE_DEACTIVATION, INSTANCE_GSR_DESCRIPTION, INSTANCE_LIFECYCLE, INSTANCE_PORT_TYPE, INSTANCE_PORT_TYPE_NS, INSTANCE_PREFIX, INSTANCE_REGISTRY, INSTANCE_SCHEMA_PATH, INSTANCE_WSDL, INTERFACE_CLASS_NAME, INVOCATION_ID, LAZY_CREATION, LIFECYCLE, LIFECYCLE_MONITOR, LIFECYCLE_MONITOR_CLASS, NAME, NOTIFICATION_ENGINE, NOTIFICATION_FACTORY, NOTIFICATION_SOURCE, OPERATION_PROVIDERS, PERSISTENT, PERSISTENT_PROPERTIES, PORT, PORT_TYPE, PORT_TYPE_NS, PRIMARY_KEY, PROTOCOL, QUERY_ENGINE, REDIRECT_RESOLVER, REGISTRY, RESOLVER_CACHE, ROUTER_HEADER, ROUTER_VIA, SCHEMA_LOCATION, SCHEMA_PATH, SERVICE_ACTIVATOR, SERVICE_DATA, SERVICE_DEPLOYMENT, SERVICE_GROUP_ENTRY, SERVICE_GROUP_PROVIDER, SERVICE_LOADER, SERVICE_NODE, SERVICE_PATH, SINK_ID, STARTUP_STATE, SWEEP_SERVICE_DATA, TIMEOUT, TIMESTAMP, TRANSIENT, TYPE, USER, WEBSTART_PANEL_NAME, WEBSTART_URL, WSDL
 
Constructor Summary
TestNotification(java.lang.String name)
           
 
Method Summary
 void setupSink()
           
static Test suite()
           
 void testCounterUpdate()
           
 void testRepeatedNotification()
           
 void testSubscriptionDestroy()
           
 void testSubscriptionExpirationTime()
           
 
Methods inherited from class org.globus.ogsa.impl.core.notification.framework.test.CounterNotificationTestCase
checkMessage, createSubscription, deliverNotification, flush, getCounterService, getCounterServiceReference, getPersistentProperty, getProperty, getSinkHandle, getSinkManager, internalTestCreate, setPersistentProperty, setProperty, setUp, sleepFor, tearDown, updateCounterValue
 
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

TestNotification

public TestNotification(java.lang.String name)
Method Detail

suite

public static Test suite()

testCounterUpdate

public void testCounterUpdate()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testSubscriptionDestroy

public void testSubscriptionDestroy()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testSubscriptionExpirationTime

public void testSubscriptionExpirationTime()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testRepeatedNotification

public void testRepeatedNotification()
                              throws java.lang.Exception
Throws:
java.lang.Exception

setupSink

public void setupSink()
               throws java.lang.Exception
Specified by:
setupSink in class CounterNotificationTestCase
Throws:
java.lang.Exception