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

AdminPollPostEditTestCase - JBOSS Portal 2.2 API 英文版文档


org.jboss.portlet.test.forums
Class AdminPollPostEditTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bynet.sourceforge.jwebunit.WebTestCase
              extended byorg.jboss.portlet.test.forums.AdminPollPostEditTestCase
All Implemented Interfaces:
junit.framework.Test, TestConstants

public class AdminPollPostEditTestCase
extends net.sourceforge.jwebunit.WebTestCase
implements TestConstants


Field Summary
 
Fields inherited from class net.sourceforge.jwebunit.WebTestCase
tester
 
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_MAXIMIZED_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 net.sourceforge.jwebunit.WebTestCase
assertButtonNotPresent, assertButtonPresent, assertCheckboxNotSelected, assertCheckboxSelected, assertCookiePresent, assertCookieValueEquals, assertElementNotPresent, assertElementPresent, assertFormElementEmpty, assertFormElementEquals, assertFormElementNotPresent, assertFormElementNotPresentWithLabel, assertFormElementPresent, assertFormElementPresentWithLabel, assertFormNotPresent, assertFormNotPresent, assertFormPresent, assertFormPresent, assertFramePresent, assertKeyInTable, assertKeyNotInTable, assertKeyNotPresent, assertKeyPresent, assertKeysInTable, assertLinkNotPresent, assertLinkNotPresentWithImage, assertLinkNotPresentWithText, assertLinkNotPresentWithText, assertLinkPresent, assertLinkPresentWithImage, assertLinkPresentWithText, assertLinkPresentWithText, assertOptionEquals, assertOptionsEqual, assertOptionsNotEqual, assertOptionValuesEqual, assertOptionValuesNotEqual, assertRadioOptionNotPresent, assertRadioOptionNotSelected, assertRadioOptionPresent, assertRadioOptionSelected, assertSubmitButtonNotPresent, assertSubmitButtonPresent, assertSubmitButtonValue, assertTableEquals, assertTableEquals, assertTableNotPresent, assertTablePresent, assertTableRowsEqual, assertTableRowsEqual, assertTextInElement, assertTextInTable, assertTextInTable, assertTextNotInElement, assertTextNotInTable, assertTextNotInTable, assertTextNotPresent, assertTextPresent, assertTitleEquals, assertTitleEqualsKey, assertWindowPresent, beginAt, checkCheckbox, checkCheckbox, clickButton, clickLink, clickLinkWithImage, clickLinkWithText, clickLinkWithText, clickLinkWithTextAfterText, dumpCookies, dumpCookies, dumpResponse, dumpTable, dumpTable, getDialog, getMessage, getTestContext, getTester, gotoFrame, gotoPage, gotoRootWindow, gotoWindow, reset, selectOption, setFormElement, setFormElementWithLabel, setWorkingForm, submit, submit, uncheckCheckbox, uncheckCheckbox
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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

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