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

Migrate22_24TestCase - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.migration
Class Migrate22_24TestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.portal.test.migration.MigrationTestCase
          extended byorg.jboss.portal.test.migration.Migrate22_24TestCase

public class Migrate22_24TestCase
extends MigrationTestCase

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

Field Summary
private static java.lang.String FROM_CFG
           
private static java.lang.String FROM_HBM_DIR
           
private static java.lang.String FROM_REF_SET
           
(package private)  MigrationModule22_24 migrationModule
           
private static java.lang.String TO_CFG
           
private static java.lang.String TO_HBM_DIR
           
 
Fields inherited from class org.jboss.portal.test.migration.MigrationTestCase
cfgPath, fromConnection, fromFactory, fromRefDataSet, fromSession, fromTx, toConnection, toFactory, toRefDataSet, toSession, toTx
 
Constructor Summary
Migrate22_24TestCase(java.lang.String name)
           
 
Method Summary
protected  java.lang.String getFromRefDatasetFile()
           
protected  org.hibernate.cfg.Configuration getFromTestConfiguration()
           
protected  org.hibernate.cfg.Configuration getToTestConfiguration()
           
protected  void populate()
           
 void setUp()
           
 void testBasic()
           
 void testInstancesMigration()
           
 void testPortalObjectsMigration()
           
 void testSecurity()
           
 void testUserMigration()
           
 
Methods inherited from class org.jboss.portal.test.migration.MigrationTestCase
nextFromSession, nextToSession, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FROM_CFG

private static java.lang.String FROM_CFG

TO_CFG

private static java.lang.String TO_CFG

FROM_HBM_DIR

private static java.lang.String FROM_HBM_DIR

TO_HBM_DIR

private static java.lang.String TO_HBM_DIR

FROM_REF_SET

private static java.lang.String FROM_REF_SET

migrationModule

MigrationModule22_24 migrationModule
Constructor Detail

Migrate22_24TestCase

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

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class MigrationTestCase
Throws:
java.lang.Exception

testBasic

public void testBasic()

testUserMigration

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

testPortalObjectsMigration

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

testInstancesMigration

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

testSecurity

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

getFromTestConfiguration

protected org.hibernate.cfg.Configuration getFromTestConfiguration()
Specified by:
getFromTestConfiguration in class MigrationTestCase

getToTestConfiguration

protected org.hibernate.cfg.Configuration getToTestConfiguration()
Specified by:
getToTestConfiguration in class MigrationTestCase

getFromRefDatasetFile

protected java.lang.String getFromRefDatasetFile()
Specified by:
getFromRefDatasetFile in class MigrationTestCase

populate

protected void populate()
                 throws java.lang.Exception
Overrides:
populate in class MigrationTestCase
Throws:
java.lang.Exception