com.atlassian.jira.local.testutils
Class UtilsForTestSetup

java.lang.Object
  extended by com.atlassian.jira.local.testutils.UtilsForTestSetup

public class UtilsForTestSetup
extends Object


Nested Class Summary
static interface UtilsForTestSetup.ServiceOverrider
           
 
Constructor Summary
UtilsForTestSetup()
           
 
Method Summary
static void configureOsWorkflow()
          Register the default TypeResolver with OSWorkflow instead of the production DefaultOSWorkflowConfigurator.JiraTypeResolverDelegator which is initialised by the DefaultOSWorkflowConfigurator.
static void deleteAllEntities()
           
static DatabaseConfig getDatabaseConfig()
           
static void loadDatabaseDriver()
           
static void mockTestCaseSetup(UtilsForTestSetup.ServiceOverrider serviceOverrider)
           
static void mockTestCaseTearDown()
           
static void setupJiraHome()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtilsForTestSetup

public UtilsForTestSetup()
Method Detail

configureOsWorkflow

public static void configureOsWorkflow()
Register the default TypeResolver with OSWorkflow instead of the production DefaultOSWorkflowConfigurator.JiraTypeResolverDelegator which is initialised by the DefaultOSWorkflowConfigurator.


deleteAllEntities

public static void deleteAllEntities()
                              throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

loadDatabaseDriver

public static void loadDatabaseDriver()

mockTestCaseSetup

public static void mockTestCaseSetup(UtilsForTestSetup.ServiceOverrider serviceOverrider)
                              throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getDatabaseConfig

public static DatabaseConfig getDatabaseConfig()

setupJiraHome

public static void setupJiraHome()

mockTestCaseTearDown

public static void mockTestCaseTearDown()


Copyright © 2002-2013 Atlassian. All Rights Reserved.