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

ModelTestCase - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.test.core
Class ModelTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jboss.portal.test.core.AbstractHibernateTestCase
              extended byorg.jboss.portal.test.core.ModelTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
PreferencesModelTestCase, PropertyMappingTestCase, RoleModelTestCase, UserModelTestCase

public abstract class ModelTestCase
extends AbstractHibernateTestCase


Field Summary
protected  RoleModule roleModule
           
protected  UserModule userModule
           
 
Fields inherited from class org.jboss.portal.test.core.AbstractHibernateTestCase
cfg, currentSession, currentTransaction, dbName, factory, mappings
 
Constructor Summary
ModelTestCase(java.lang.String name)
           
 
Method Summary
protected  void populate()
           
 void setUp()
           
 
Methods inherited from class org.jboss.portal.test.core.AbstractHibernateTestCase
beginTransaction, closeSession, commitTransaction, createConfiguration, createSchema, createSessionFactory, destroyConfiguration, destroySchema, destroySessionFactory, getCurrentSession, openSession, rollbackTransaction, 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
 

Field Detail

userModule

protected UserModule userModule

roleModule

protected RoleModule roleModule
Constructor Detail

ModelTestCase

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

setUp

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

populate

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