当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
MigrationTestCase - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.test.migration
Class MigrationTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jboss.portal.test.migration.MigrationTestCase
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- Migrate22_24TestCase
- public abstract class MigrationTestCase
- extends junit.framework.TestCase
Field Summary |
protected org.dbunit.database.IDatabaseConnection |
fromConnection
|
protected org.hibernate.SessionFactory |
fromFactory
|
protected org.dbunit.dataset.IDataSet |
fromRefDataSet
|
protected org.hibernate.Session |
fromSession
|
protected org.hibernate.Transaction |
fromTx
|
protected org.dbunit.database.IDatabaseConnection |
toConnection
|
protected org.hibernate.SessionFactory |
toFactory
|
protected org.dbunit.dataset.IDataSet |
toRefDataSet
|
protected org.hibernate.Session |
toSession
|
protected org.hibernate.Transaction |
toTx
|
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 |
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 org.dbunit.database.IDatabaseConnection fromConnection
toConnection
protected org.dbunit.database.IDatabaseConnection toConnection
fromRefDataSet
protected org.dbunit.dataset.IDataSet fromRefDataSet
toRefDataSet
protected org.dbunit.dataset.IDataSet toRefDataSet
MigrationTestCase
public MigrationTestCase(java.lang.String name)
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()