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

ForumsModelTestCase - JBOSS Portal 2.4 API 英文版文档


org.jboss.portlet.test.forums
Class ForumsModelTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jboss.portlet.test.forums.ForumsModelTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
CategoryModelTestCase, ForumModelTestCase, PostModelTestCase, TopicModelTestCase

public abstract class ForumsModelTestCase
extends junit.framework.TestCase


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 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

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