com.atlassian.crowd.acceptance.tests.persistence.migration
Class CrowdDatabaseMigrationTest

java.lang.Object
  extended by org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
      extended by org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests
          extended by com.atlassian.crowd.acceptance.tests.persistence.migration.CrowdDatabaseMigrationTest
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@ContextConfiguration(locations={"classpath:/applicationContext-databasemigrator-config.xml","classpath:/applicationContext-CrowdDAO.xml","classpath:/applicationContext-CrowdUtils.xml","classpath:/applicationContext-CrowdEncryption.xml","classpath:/applicationContext-CrowdUpgrader.xml"})
public class CrowdDatabaseMigrationTest
extends org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests


Field Summary
 
Fields inherited from class org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests
simpleJdbcTemplate
 
Fields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger
 
Constructor Summary
CrowdDatabaseMigrationTest()
           
 
Method Summary
 void assertApplicationTables()
           
 void assertDirectoryTables()
           
 void assertGroupTables()
           
 void assertMembershipTables()
           
 void assertPropertyTables()
           
 void assertUserTables()
           
 void setUp()
           
 void testDatabaseMigration()
           
 
Methods inherited from class org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests
countRowsInTable, countRowsInTableWhere, deleteFromTables, dropTables, executeSqlScript, setDataSource, setSqlScriptEncoding
 
Methods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrowdDatabaseMigrationTest

public CrowdDatabaseMigrationTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testDatabaseMigration

public void testDatabaseMigration()
                           throws Exception
Throws:
Exception

assertDirectoryTables

public void assertDirectoryTables()

assertUserTables

public void assertUserTables()

assertGroupTables

public void assertGroupTables()

assertMembershipTables

public void assertMembershipTables()

assertApplicationTables

public void assertApplicationTables()

assertPropertyTables

public void assertPropertyTables()


Copyright © 2014 Atlassian. All Rights Reserved.