com.atlassian.crowd.acceptance.tests.persistence.importer
Class ImporterFactoryImplTest

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 com.atlassian.crowd.acceptance.tests.persistence.importer.ImporterFactoryImplTest
All Implemented Interfaces:
junit.framework.Test

public class ImporterFactoryImplTest
extends org.springframework.test.AbstractDependencyInjectionSpringContextTests

ImporterFactoryImpl Tester.


Field Summary
 
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
ImporterFactoryImplTest()
           
 
Method Summary
protected  void customizeBeanFactory(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory)
           
protected  String[] getConfigLocations()
           
protected  void onSetUp()
           
 void setImporterFactory(ImporterFactory importerFactory)
           
 void testGetAtlassianSupportedImporterApplications()
           
 void testGetAtlassianSupportedImporterApplicationsIsAnUnmodifiableSet()
           
 void testGetImporterDAO()
           
 void testGetImporterDAOWithBadConfiguration()
           
 void testGetImporterDAOWithNullConfiguration()
           
 void testGetSupportedImporterApplications()
           
 void testGetSupportedImporterApplicationsIsAnUnmodifiableSet()
           
 
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, getApplicationContext, getConfigPath, getConfigPaths, getLoadCount, loadContext, loadContextLocations, onTearDown, 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
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImporterFactoryImplTest

public ImporterFactoryImplTest()
Method Detail

getConfigLocations

protected String[] getConfigLocations()
Overrides:
getConfigLocations in class org.springframework.test.AbstractSingleSpringContextTests

customizeBeanFactory

protected void customizeBeanFactory(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory)
Overrides:
customizeBeanFactory in class org.springframework.test.AbstractSingleSpringContextTests

onSetUp

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

testGetImporterDAO

public void testGetImporterDAO()
                        throws Exception
Throws:
Exception

testGetImporterDAOWithNullConfiguration

public void testGetImporterDAOWithNullConfiguration()
                                             throws ImporterConfigurationException
Throws:
ImporterConfigurationException

testGetImporterDAOWithBadConfiguration

public void testGetImporterDAOWithBadConfiguration()

testGetSupportedImporterApplications

public void testGetSupportedImporterApplications()
                                          throws Exception
Throws:
Exception

testGetAtlassianSupportedImporterApplications

public void testGetAtlassianSupportedImporterApplications()
                                                   throws Exception
Throws:
Exception

testGetSupportedImporterApplicationsIsAnUnmodifiableSet

public void testGetSupportedImporterApplicationsIsAnUnmodifiableSet()

testGetAtlassianSupportedImporterApplicationsIsAnUnmodifiableSet

public void testGetAtlassianSupportedImporterApplicationsIsAnUnmodifiableSet()

setImporterFactory

public void setImporterFactory(ImporterFactory importerFactory)


Copyright © 2013 Atlassian. All Rights Reserved.