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

UserModelTestCase - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.test.core
Class UserModelTestCase

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
                  extended byorg.jboss.portal.test.core.UserModelTestCase
All Implemented Interfaces:
junit.framework.Test

public class UserModelTestCase
extends ModelTestCase


Field Summary
 
Fields inherited from class org.jboss.portal.test.core.ModelTestCase
roleModule, userModule
 
Fields inherited from class org.jboss.portal.test.core.AbstractHibernateTestCase
cfg, currentSession, currentTransaction, dbName, factory, mappings
 
Constructor Summary
UserModelTestCase(java.lang.String name)
           
 
Method Summary
protected  void populate()
           
 void testFindUsersUsingFilter()
           
 
Methods inherited from class org.jboss.portal.test.core.ModelTestCase
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
 

Constructor Detail

UserModelTestCase

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

testFindUsersUsingFilter

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

populate

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