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

AdminFullTestCase - JBOSS Portal 2.6 API 英文版文档


org.jboss.portlet.test.forums
Class AdminFullTestCase

java.lang.Object
  extended byWebTestCase
      extended byorg.jboss.portlet.test.forums.AdminFullTestCase
All Implemented Interfaces:
TestConstants

public class AdminFullTestCase
extends WebTestCase
implements TestConstants

Version:
$Revision: 5448 $
Author:
Boleslaw Dawidowicz, Martin Giljohann
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.jboss.portlet.test.forums.TestConstants
ADMIN_CATEGORY_1_EDIT_URL, ADMIN_CATEGORY_EDIT_NAME_FORM_ELEMENT, ADMIN_CATEGORY_EDIT_SUBMIT, ADMIN_FORUM_1_EDIT_URL, ADMIN_PANEL_TEXT_LINK, CATEGORY_1_TEXT_LINK, FLOOD_INTERVAL, FORUM_1_TEXT_LINK, FORUM_2_TEXT_LINK, INSTANT_REPLY_MESSAGE_FORM_ELEMENT, MODE_EDIT_IMAGE_LINK, MODE_MAXIMIZE_IMAGE_LINK, MODE_MINIMIZE_IMAGE_LINK, MODE_NORMAL_IMAGE_LINK, MODE_VIEW_IMAGE_LINK, NEW_TOPIC_IMAGE_LINK, POLL_ADD_OPTION_FORM_ELEMENT, POLL_ADD_OPTION_SUBMIT, POLL_OPTION_1_DELETE_SUBMIT, POLL_OPTION_1_TEXT_FORM_ELEMENT, POLL_OPTION_2_DELETE_SUBMIT, POLL_OPTION_2_TEXT_FORM_ELEMENT, POLL_OPTION_3_DELETE_SUBMIT, POLL_OPTION_3_TEXT_FORM_ELEMENT, POLL_OPTION_4_DELETE_SUBMIT, POLL_OPTION_4_TEXT_FORM_ELEMENT, POLL_OPTION_UPDATE_SUBMIT, POLL_TITLE_FORM_ELEMENT, POLL_VIEW_RESULTS_TEXT_LING, POLL_VOTE_RADIO_FORM_ELEMENT, POLL_VOTE_SUBMIT_SUBMIT, PORTAL_FORUMS_MAIN_EDIT_URL, PORTAL_FORUMS_MAIN_MAXIMIZED_URL, PORTAL_FORUMS_MAIN_MINIMIZED_URL, PORTAL_FORUMS_MAIN_NORMAL_URL, PORTAL_FORUMS_TEXT_LINK, PORTAL_LOGIN_PASSWORD_FORM_ELEMENT, PORTAL_LOGIN_TEXT_LINK, PORTAL_LOGIN_USERNAME_FORM_ELEMENT, PORTAL_LOGOUT_TEXT_LINK, PORTAL_MAIN_BEGIN, PORTAL_URL, POST_DELETE_IMAGE_LINK, POST_EDIT_IMAGE_LINK, POST_MESSAGE_FORM_ELEMENT, POST_QUOTE_IMAGE_LINK, POST_REPLY_IMAGE_LINK, POST_SUBJECT_FORM_ELEMENT, POST_SUBMIT, PREFERENCES_POST_PER_TOPIC_FORM_ELEMENT, PREFERENCES_TOPIC_PER_FORUM_FORM_ELEMENT, TOPIC_TYPE_FORM_ELEMENT, WATCHED_FORUMS_TEXT_LINK
 
Constructor Summary
AdminFullTestCase(java.lang.String name)
           
 
Method Summary
private  void fillPost(java.lang.String subject, java.lang.String message, java.lang.String radioOption)
           
 void loginAdminUser()
           
 void loginStandartUser()
           
 void logoutUser()
           
 void testEditPreviewPost()
           
 void testPreviewStickyPost()
          After preview of a sticky post, the "post as" normal radio button is selected rather than the sticky one.
 void testRename1stCat()
          First category cannot be renamed with admin interface
 void waitFlood()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminFullTestCase

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

waitFlood

public void waitFlood()

loginAdminUser

public void loginAdminUser()

loginStandartUser

public void loginStandartUser()

logoutUser

public void logoutUser()

testRename1stCat

public void testRename1stCat()
First category cannot be renamed with admin interface


fillPost

private void fillPost(java.lang.String subject,
                      java.lang.String message,
                      java.lang.String radioOption)
Parameters:
subject -

testPreviewStickyPost

public void testPreviewStickyPost()
After preview of a sticky post, the "post as" normal radio button is selected rather than the sticky one. Definitely a smaller bug... TODO probably same issue with annoucements


testEditPreviewPost

public void testEditPreviewPost()
See Also:
if user wants to edit a post, exception is throwm after preview