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

PreferencesModelTestCase - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.test.core
Class PreferencesModelTestCase

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.PreferencesModelTestCase
All Implemented Interfaces:
junit.framework.Test

public class PreferencesModelTestCase
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
PreferencesModelTestCase(java.lang.String name)
           
 
Method Summary
protected  void populate()
           
 void testSetTwice()
           
 void testStore()
           
 
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

PreferencesModelTestCase

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

testSetTwice

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

testStore

public void testStore()
               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