站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

MigrationTestCase - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.migration
Class MigrationTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.portal.test.migration.MigrationTestCase
Direct Known Subclasses:
Migrate22_24TestCase

public abstract class MigrationTestCase
extends TestCase

Version:
$Revision: 5449 $
Author:
Boleslaw Dawidowicz, Julien Viet
See Also:
Serialized Form

Field Summary
(package private)  java.lang.String cfgPath
           
protected  IDatabaseConnection fromConnection
           
protected  org.hibernate.SessionFactory fromFactory
           
protected  IDataSet fromRefDataSet
           
protected  org.hibernate.Session fromSession
           
protected  org.hibernate.Transaction fromTx
           
protected  IDatabaseConnection toConnection
           
protected  org.hibernate.SessionFactory toFactory
           
protected  IDataSet toRefDataSet
           
protected  org.hibernate.Session toSession
           
protected  org.hibernate.Transaction toTx
           
 
Constructor Summary
MigrationTestCase(java.lang.String name)
           
 
Method Summary
protected abstract  java.lang.String getFromRefDatasetFile()
           
protected abstract  org.hibernate.cfg.Configuration getFromTestConfiguration()
           
protected abstract  org.hibernate.cfg.Configuration getToTestConfiguration()
           
protected  void nextFromSession()
           
protected  void nextToSession()
           
protected  void populate()
           
 void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fromFactory

protected org.hibernate.SessionFactory fromFactory

toFactory

protected org.hibernate.SessionFactory toFactory

fromSession

protected org.hibernate.Session fromSession

toSession

protected org.hibernate.Session toSession

fromTx

protected org.hibernate.Transaction fromTx

toTx

protected org.hibernate.Transaction toTx

fromConnection

protected IDatabaseConnection fromConnection

toConnection

protected IDatabaseConnection toConnection

fromRefDataSet

protected IDataSet fromRefDataSet

toRefDataSet

protected IDataSet toRefDataSet

cfgPath

java.lang.String cfgPath
Constructor Detail

MigrationTestCase

public MigrationTestCase(java.lang.String name)
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

nextFromSession

protected void nextFromSession()
                        throws java.lang.Exception
Throws:
java.lang.Exception

nextToSession

protected void nextToSession()
                      throws java.lang.Exception
Throws:
java.lang.Exception

populate

protected void populate()
                 throws java.lang.Exception
Throws:
java.lang.Exception

getFromTestConfiguration

protected abstract org.hibernate.cfg.Configuration getFromTestConfiguration()

getToTestConfiguration

protected abstract org.hibernate.cfg.Configuration getToTestConfiguration()

getFromRefDatasetFile

protected abstract java.lang.String getFromRefDatasetFile()