org.globus.ogsa.impl.base.servicegroup.test
Class TestHelper

java.lang.Object
  extended byorg.globus.ogsa.impl.base.servicegroup.test.TestHelper

public class TestHelper
extends java.lang.Object


Constructor Summary
TestHelper()
           
 
Method Summary
 java.util.Hashtable addMember(java.net.URL url, java.net.URL memberServiceURL)
           
 java.util.Hashtable addMemberForFactory(LocatorType locatorType, java.net.URL memberServiceURL)
           
 LocatorType createServiceGroup(java.net.URL url)
           
static java.util.Calendar getCalendarInstance()
           
static org.w3c.dom.Document getErrorSampleAddContent()
           
 ExtensibilityType getMatchElementForRemove(java.util.ArrayList stringArray)
           
 HandleType getMemberServiceHandle(java.net.URL url)
           
static org.w3c.dom.Document getSampleAddContent()
           
static java.lang.String getServiceGroupHandle(LocatorType locatorType)
           
static java.lang.String getTestServiceGroupEntryServiceData(GridService serviceGroupEntryGridService)
           
static java.lang.String getTestServiceGroupServiceData(ServiceGroupRegistration serviceGroupRegistration)
           
static boolean isFactoryCreate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestHelper

public TestHelper()
Method Detail

isFactoryCreate

public static boolean isFactoryCreate()

addMember

public java.util.Hashtable addMember(java.net.URL url,
                                     java.net.URL memberServiceURL)

addMemberForFactory

public java.util.Hashtable addMemberForFactory(LocatorType locatorType,
                                               java.net.URL memberServiceURL)

createServiceGroup

public LocatorType createServiceGroup(java.net.URL url)

getMemberServiceHandle

public HandleType getMemberServiceHandle(java.net.URL url)

getCalendarInstance

public static java.util.Calendar getCalendarInstance()

getTestServiceGroupServiceData

public static java.lang.String getTestServiceGroupServiceData(ServiceGroupRegistration serviceGroupRegistration)
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

getTestServiceGroupEntryServiceData

public static java.lang.String getTestServiceGroupEntryServiceData(GridService serviceGroupEntryGridService)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

getServiceGroupHandle

public static java.lang.String getServiceGroupHandle(LocatorType locatorType)

getMatchElementForRemove

public ExtensibilityType getMatchElementForRemove(java.util.ArrayList stringArray)

getSampleAddContent

public static org.w3c.dom.Document getSampleAddContent()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

getErrorSampleAddContent

public static org.w3c.dom.Document getErrorSampleAddContent()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception