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

ForumsModelTestCase - JBOSS Portal 2.6 API 英文版文档


org.jboss.portlet.test.forums
Class ForumsModelTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.portlet.test.forums.ForumsModelTestCase
Direct Known Subclasses:
CategoryModelTestCase, ForumModelTestCase, PostModelTestCase, TopicModelTestCase

public abstract class ForumsModelTestCase
extends TestCase

Version:
$Revision: 5448 $
Author:
Julien Viet , Boleslaw Dawidowicz
See Also:
Serialized Form

Field Summary
protected  org.hibernate.SessionFactory factory
           
protected  ForumsModule forumsModule
           
protected  org.hibernate.Session session
           
protected  org.hibernate.Transaction tx
           
 
Constructor Summary
ForumsModelTestCase(java.lang.String name)
           
 
Method Summary
protected  void nextSession()
           
protected  void populate()
           
 void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected org.hibernate.SessionFactory factory

session

protected org.hibernate.Session session

tx

protected org.hibernate.Transaction tx

forumsModule

protected ForumsModule forumsModule
Constructor Detail

ForumsModelTestCase

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

setUp

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

tearDown

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

nextSession

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

populate

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