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

Migrate22_24TestCase - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.test.migration
Class Migrate22_24TestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jboss.portal.test.migration.MigrationTestCase
              extended byorg.jboss.portal.test.migration.Migrate22_24TestCase
All Implemented Interfaces:
junit.framework.Test

public class Migrate22_24TestCase
extends MigrationTestCase


Field Summary
 
Fields inherited from class org.jboss.portal.test.migration.MigrationTestCase
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 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
 

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