com.atlassian.user.impl.hibernate.configuration
Class TestHibernateRepositoryProcessor

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.user.configuration.AbstractRepositoryProcessorTestCase
              extended by com.atlassian.user.impl.hibernate.configuration.TestHibernateRepositoryProcessor
All Implemented Interfaces:
junit.framework.Test

public class TestHibernateRepositoryProcessor
extends AbstractRepositoryProcessorTestCase

NOTE - this is a test which essentially tests the values of a au_hibernate.properties and the initialization order of the abstract class HibernateRepositoryProcessor.

Each application will provide their own extension of HibernateRepositoryProcessor, to define how the sessionFactory and the HibernateConfigurationProvider should be found.


Field Summary
 
Fields inherited from class com.atlassian.user.configuration.AbstractRepositoryProcessorTestCase
config, delegationAccessor, hib1XML, ldap1XML, memXML, memXML2, osuser1XML, parser
 
Constructor Summary
TestHibernateRepositoryProcessor()
           
 
Method Summary
protected  void initializeConfiguration(String str)
           
 void setUp()
           
 void tearDown()
           
 void testProcess()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestHibernateRepositoryProcessor

public TestHibernateRepositoryProcessor()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class AbstractRepositoryProcessorTestCase
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class AbstractRepositoryProcessorTestCase
Throws:
Exception

testProcess

public void testProcess()

initializeConfiguration

protected void initializeConfiguration(String str)
Overrides:
initializeConfiguration in class AbstractRepositoryProcessorTestCase


Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.