com.atlassian.crowd.acceptance.tests.persistence.dao.property
Class PropertyDAOHibernateTest

java.lang.Object
  extended by com.atlassian.crowd.acceptance.tests.persistence.dao.property.PropertyDAOHibernateTest

@ContextConfiguration(locations={"classpath:/applicationContext-config.xml","classpath:/applicationContext-CrowdDAO.xml"})
@TestExecutionListeners(value={org.springframework.test.context.transaction.TransactionalTestExecutionListener.class,org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class})
@Transactional
public class PropertyDAOHibernateTest
extends Object


Constructor Summary
PropertyDAOHibernateTest()
           
 
Method Summary
 void fixHiLo()
           
 void loadTestData()
           
 void testAdd()
           
 void testAddDuplication()
           
 void testFindAll()
           
 void testFindAllByKey()
           
 void testFindByName()
           
 void testRemoveProperty()
           
 void testUpdate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyDAOHibernateTest

public PropertyDAOHibernateTest()
Method Detail

loadTestData

@BeforeTransaction
public void loadTestData()
                  throws Exception
Throws:
Exception

fixHiLo

public void fixHiLo()

testFindByName

public void testFindByName()
                    throws Exception
Throws:
Exception

testAdd

public void testAdd()
             throws Exception
Throws:
Exception

testAddDuplication

public void testAddDuplication()

testUpdate

public void testUpdate()
                throws Exception
Throws:
Exception

testFindAllByKey

public void testFindAllByKey()

testFindAll

public void testFindAll()
                 throws PersistenceException
Throws:
PersistenceException

testRemoveProperty

public void testRemoveProperty()


Copyright © 2013 Atlassian. All Rights Reserved.