org.itracker
Class AbstractDependencyInjectionTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.test.ConditionalTestCase
              extended by org.springframework.test.AbstractSpringContextTests
                  extended by org.springframework.test.AbstractSingleSpringContextTests
                      extended by org.springframework.test.AbstractDependencyInjectionSpringContextTests
                          extended by org.itracker.AbstractDependencyInjectionTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AbstractSeleniumTestCase, AdminHomeActionIT, AuthenticatorForProjectPermissionIT, BaseHibernateDaoImplIT, ComponentDAOImplIT, ConfigurationDAOImplIT, ConfigurationServiceImplIT, CustomFieldDAOImplIT, CustomFieldIT, CustomFieldValueDAOImplIT, DisplayReportActionIT, EditIssueActionIT, ImportExportUtilitiesIT, IssueActivityDAOImplIT, IssueAttachmentDAOImplIT, IssueDAOImplIT, IssueFieldIT, IssueHistoryDAOImplIT, IssueRelationDAOImplIT, IssueServiceIT, IssueUtilitiesIT, ItrackerResourceBundleIT, ItrackerResourcesIT, LanguageDAOImplIT, ListAttachmentsActionIT, NamingUtilitiesIT, NotificationDAOImplIT, NotificationServiceIT, NotificationUtilitiesIT, PermissionDAOImplIT, ProjectDAOImplIT, ProjectScriptDAOImplIT, ProjectServiceImplIT, ProjectUtilitiesIT, ReportDAOImplIT, ReportServiceImplIT, UserDAOImplIT, UserPreferencesDAOImplIT, UserServiceImplIT, UserUtilitiesIT, VersionDAOImplIT, WorkflowScriptDAOImplIT, WorkflowUtilitiesIT

public abstract class AbstractDependencyInjectionTest
extends org.springframework.test.AbstractDependencyInjectionSpringContextTests


Field Summary
 ClassLoader classLoader
           
 org.dbunit.dataset.IDataSet dataSet
           
 
Fields inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests
AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO
 
Fields inherited from class org.springframework.test.AbstractSingleSpringContextTests
applicationContext
 
Fields inherited from class org.springframework.test.ConditionalTestCase
logger
 
Constructor Summary
protected AbstractDependencyInjectionTest()
           
 
Method Summary
 void callSetup()
           
 void callTeardown()
           
protected abstract  String[] getDataSetFiles()
          must make sure, that the order is correct, so no constraints will be violated.
 DataSource getDataSource()
           
 org.springframework.orm.hibernate3.LocalSessionFactoryBean getSessionFactoryBean()
           
 void onSetUp()
           
 void onTearDown()
           
protected  void resetConfiguration()
           
 void setDataSource(DataSource dataSource)
           
 void setSessionFactoryBean(org.springframework.orm.hibernate3.LocalSessionFactoryBean sessionFactoryBean)
           
 
Methods inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests
getAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariables
 
Methods inherited from class org.springframework.test.AbstractSingleSpringContextTests
contextKey, createApplicationContext, createBeanDefinitionReader, customizeBeanFactory, getApplicationContext, getConfigLocations, getConfigPath, getConfigPaths, getLoadCount, loadContext, loadContextLocations, prepareApplicationContext, setDirty, setUp, tearDown
 
Methods inherited from class org.springframework.test.AbstractSpringContextTests
addContext, contextKeyString, getContext, hasCachedContext, isContextKeyEmpty, setDirty
 
Methods inherited from class org.springframework.test.ConditionalTestCase
getDisabledTestCount, isDisabledInThisEnvironment, recordDisabled, runBare
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, setName, 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
 

Field Detail

classLoader

public ClassLoader classLoader

dataSet

public org.dbunit.dataset.IDataSet dataSet
Constructor Detail

AbstractDependencyInjectionTest

protected AbstractDependencyInjectionTest()
Method Detail

onSetUp

public void onSetUp()
             throws Exception
Overrides:
onSetUp in class org.springframework.test.AbstractSingleSpringContextTests
Throws:
Exception

onTearDown

public void onTearDown()
                throws Exception
Overrides:
onTearDown in class org.springframework.test.AbstractSingleSpringContextTests
Throws:
Exception

resetConfiguration

protected final void resetConfiguration()

getDataSetFiles

protected abstract String[] getDataSetFiles()
must make sure, that the order is correct, so no constraints will be violated.


getSessionFactoryBean

public org.springframework.orm.hibernate3.LocalSessionFactoryBean getSessionFactoryBean()

setSessionFactoryBean

public void setSessionFactoryBean(org.springframework.orm.hibernate3.LocalSessionFactoryBean sessionFactoryBean)

getDataSource

public DataSource getDataSource()

setDataSource

public void setDataSource(DataSource dataSource)

callSetup

public final void callSetup()
                     throws Exception
Throws:
Exception

callTeardown

public final void callTeardown()
                        throws Exception
Throws:
Exception


Copyright © 2002-2013 itracker. All Rights Reserved.