|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.user.configuration.AbstractRepositoryProcessorTestCase
com.atlassian.user.impl.hibernate.configuration.TestHibernateRepositoryProcessor
public class TestHibernateRepositoryProcessor
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 |
|---|
public TestHibernateRepositoryProcessor()
| Method Detail |
|---|
public void setUp()
throws Exception
setUp in class AbstractRepositoryProcessorTestCaseException
public void tearDown()
throws Exception
tearDown in class AbstractRepositoryProcessorTestCaseExceptionpublic void testProcess()
protected void initializeConfiguration(String str)
initializeConfiguration in class AbstractRepositoryProcessorTestCase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||