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

PostModelTestCase - JBOSS Portal 2.2 API 英文版文档


org.jboss.portlet.test.forums
Class PostModelTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jboss.portlet.test.forums.ForumsModelTestCase
              extended byorg.jboss.portlet.test.forums.PostModelTestCase
All Implemented Interfaces:
junit.framework.Test

public class PostModelTestCase
extends ForumsModelTestCase


Field Summary
 
Fields inherited from class org.jboss.portlet.test.forums.ForumsModelTestCase
factory, forumsModule, session, tx
 
Constructor Summary
PostModelTestCase(java.lang.String name)
           
 
Method Summary
protected  void populate()
           
 void testOnlyPostDeleteTestCase()
           
 void testWholeTreeSavedTestCase()
           
 
Methods inherited from class org.jboss.portlet.test.forums.ForumsModelTestCase
nextSession, setUp, 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

PostModelTestCase

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

testWholeTreeSavedTestCase

public void testWholeTreeSavedTestCase()

testOnlyPostDeleteTestCase

public void testOnlyPostDeleteTestCase()

populate

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