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

TopicModelTestCase - JBOSS Portal 2.4 API 英文版文档


org.jboss.portlet.test.forums
Class TopicModelTestCase

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

public class TopicModelTestCase
extends ForumsModelTestCase


Field Summary
 
Fields inherited from class org.jboss.portlet.test.forums.ForumsModelTestCase
factory, forumsModule, session, tx
 
Constructor Summary
TopicModelTestCase(java.lang.String name)
           
 
Method Summary
protected  void populate()
           
 void testLastPostTestCase()
           
 void testTopicDeleteTestCase()
           
 void testTopicSavedTestCase()
           
 
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

TopicModelTestCase

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

testTopicSavedTestCase

public void testTopicSavedTestCase()

testLastPostTestCase

public void testLastPostTestCase()

testTopicDeleteTestCase

public void testTopicDeleteTestCase()

populate

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