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

AdminPollPostEditTestCase - JBOSS Portal 2.6 API 英文版文档


org.jboss.portlet.test.forums
Class AdminPollPostEditTestCase

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

public class AdminPollPostEditTestCase
extends WebTestCase
implements TestConstants

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

Field Summary
private  java.lang.String message
           
private  int msgNum
           
private  java.lang.String pollOption1
           
private  java.lang.String pollOption2
           
private  java.lang.String pollOption3
           
private  java.lang.String pollOption4
           
private  java.lang.String pollQuestion
           
private  java.lang.String replyMessage
           
private  java.lang.String topicName
           
 
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
AdminPollPostEditTestCase(java.lang.String name)
           
 
Method Summary
 void loginAdminUser()
           
 void loginStandartUser()
           
 void logoutUser()
           
 void testCleanUp()
           
 void testPollEdit()
           
 void testPollVote()
           
 void testPostNormalTopic()
           
 void waitFlood()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

topicName

private java.lang.String topicName

message

private java.lang.String message

msgNum

private int msgNum

replyMessage

private java.lang.String replyMessage

pollQuestion

private java.lang.String pollQuestion

pollOption1

private java.lang.String pollOption1

pollOption2

private java.lang.String pollOption2

pollOption3

private java.lang.String pollOption3

pollOption4

private java.lang.String pollOption4
Constructor Detail

AdminPollPostEditTestCase

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

waitFlood

public void waitFlood()

loginAdminUser

public void loginAdminUser()

loginStandartUser

public void loginStandartUser()

logoutUser

public void logoutUser()

testPostNormalTopic

public void testPostNormalTopic()

testPollEdit

public void testPollEdit()

testPollVote

public void testPollVote()

testCleanUp

public void testCleanUp()