|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
net.sourceforge.jwebunit.junit.WebTestCase
com.atlassian.confluence.AbstractAtlassianWebTestCase
com.atlassian.confluence.AbstractConfluenceAcceptanceTest
com.atlassian.confluence.CommentsAcceptanceTest
public class CommentsAcceptanceTest
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.AbstractAtlassianWebTestCase |
|---|
SITE_TITLE_SUFFIX, TITLE_SEPARATOR |
| Fields inherited from class net.sourceforge.jwebunit.junit.WebTestCase |
|---|
tester |
| Constructor Summary | |
|---|---|
CommentsAcceptanceTest()
|
|
| Method Summary | |
|---|---|
void |
setUp()
|
void |
testAttemptToByPassCaptcha()
|
void |
testCanEditOwnCommentWhenCaptchaDisabled()
|
void |
testCannotAddCommentWhenCaptchaEnabled()
|
void |
testCannotAddEmptyComment()
|
void |
testCannotEditOthersCommentWhenCaptchaDisabled()
|
void |
testCannotEditOwnCommentWhenCaptchaEnabled()
|
void |
testCannotReplyToCommentWhenCaptchaEnabled()
|
void |
testCollapsedCommentTextIsProperlyEscaped()
|
void |
testCollapsedCommentTruncation()
|
void |
testCommentContentsAreHtmlEncoded()
|
void |
testCommentDoesNotWatchByDefault()
|
void |
testCommentPermalink()
|
void |
testCommentsForAnonymousUser()
|
void |
testCommentsHaveCorrectUserProfilePics()
|
void |
testCommentWatch()
|
void |
testEditComment()
|
void |
testEmptyCommentErrorPageHasCaptchaWhenEnabled()
|
void |
testGlobalAdminCanEditComment()
|
void |
testRemoveComment()
|
void |
testSpaceAdminCanEditOtherCommentInSpace()
|
| Methods inherited from class net.sourceforge.jwebunit.junit.WebTestCase |
|---|
assertButtonNotPresent, assertButtonNotPresentWithText, assertButtonPresent, assertButtonPresentWithText, assertCheckboxNotPresent, assertCheckboxNotPresent, assertCheckboxNotSelected, assertCheckboxNotSelected, assertCheckboxPresent, assertCheckboxPresent, assertCheckboxSelected, assertCheckboxSelected, assertCookiePresent, assertCookieValueEquals, assertCookieValueMatch, assertDownloadedFileEquals, assertElementNotPresent, assertElementPresent, assertFormElementEmpty, assertFormElementEquals, assertFormElementMatch, assertFormElementNotPresent, assertFormElementPresent, assertFormNotPresent, assertFormNotPresent, assertFormPresent, assertFormPresent, assertFramePresent, assertHiddenFieldPresent, assertImagePresent, assertImageValidAndStore, assertKeyInTable, assertKeyInTable, assertKeyNotInTable, assertKeyNotPresent, assertKeyNotPresent, assertKeyPresent, assertKeyPresent, assertKeysInTable, assertKeysInTable, assertLinkNotPresent, assertLinkNotPresentWithExactText, assertLinkNotPresentWithExactText, assertLinkNotPresentWithImage, assertLinkNotPresentWithText, assertLinkNotPresentWithText, assertLinkPresentWithExactText, assertLinkPresentWithExactText, assertLinkPresentWithText, assertMatch, assertMatchInElement, assertMatchInTable, assertMatchInTable, assertNoMatch, assertNoMatchInElement, assertNoMatchInTable, assertNoMatchInTable, assertRadioOptionNotPresent, assertRadioOptionNotSelected, assertRadioOptionPresent, assertRadioOptionSelected, assertResetButtonNotPresent, assertResetButtonNotPresent, assertResetButtonPresent, assertResetButtonPresent, assertSelectedOptionEquals, assertSelectedOptionMatches, assertSelectedOptionsEqual, assertSelectedOptionsMatch, assertSelectedOptionValueEquals, assertSelectedOptionValuesEqual, assertSelectOptionNotPresent, assertSelectOptionPresent, assertSelectOptionsEqual, assertSelectOptionsNotEqual, assertSelectOptionsPresent, assertSelectOptionValueNotPresent, assertSelectOptionValuePresent, assertSelectOptionValuesEqual, assertSelectOptionValuesNotEqual, assertSelectOptionValuesPresent, assertSubmitButtonNotPresent, assertSubmitButtonNotPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertTableEquals, assertTableEquals, assertTableMatch, assertTableMatch, assertTableNotPresent, assertTablePresent, assertTableRowCountEquals, assertTableRowsEqual, assertTableRowsEqual, assertTableRowsMatch, assertTableRowsMatch, assertTextFieldEquals, assertTextInElement, assertTextInTable, assertTextInTable, assertTextNotInElement, assertTextNotInTable, assertTextNotInTable, assertTextPresent, assertTitleEqualsKey, assertTitleEqualsKey, assertTitleMatch, assertWindowCountEquals, assertWindowPresent, assertWindowPresent, assertWindowPresentWithTitle, beginAt, checkCheckbox, checkCheckbox, clickButton, clickButtonWithText, clickElementByXPath, clickLink, clickLinkWithExactText, clickLinkWithExactText, clickLinkWithImage, clickLinkWithText, clickLinkWithText, clickRadioOption, closeBrowser, closeWindow, dumpCookies, dumpHtml, dumpHtml, dumpTable, dumpTable, getDialog, getElementAttributByXPath, getElementTextByXPath, getFormElementValue, getImage, getMessage, getMessage, getPageSource, getServeurResponse, getTable, getTestContext, getTester, getTestingEngineKey, gotoFrame, gotoPage, gotoRootWindow, gotoWindow, gotoWindow, gotoWindowByTitle, reset, runBare, saveAs, selectOption, selectOptionByValue, selectOptions, selectOptionsByValues, setDialog, setExpectedJavaScriptAlert, setExpectedJavaScriptAlert, setExpectedJavaScriptConfirm, setExpectedJavaScriptConfirm, setExpectedJavaScriptPrompt, setExpectedJavaScriptPrompt, setFormElement, setScriptingEnabled, setTestContext, setTestingEngineKey, setTextField, setWorkingForm, setWorkingForm, setWorkingForm, submit, submit, submit, uncheckCheckbox, uncheckCheckbox |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, 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 |
|---|
public CommentsAcceptanceTest()
| Method Detail |
|---|
public void setUp()
throws java.lang.Exception
setUp in class AbstractConfluenceAcceptanceTestjava.lang.Exceptionpublic void testCannotAddEmptyComment()
public void testCollapsedCommentTextIsProperlyEscaped()
throws java.lang.Exception
java.lang.Exceptionpublic void testEmptyCommentErrorPageHasCaptchaWhenEnabled()
public void testCannotAddCommentWhenCaptchaEnabled()
public void testCanEditOwnCommentWhenCaptchaDisabled()
public void testCannotEditOthersCommentWhenCaptchaDisabled()
public void testCannotEditOwnCommentWhenCaptchaEnabled()
public void testGlobalAdminCanEditComment()
public void testSpaceAdminCanEditOtherCommentInSpace()
throws java.io.IOException,
org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcExceptionpublic void testCannotReplyToCommentWhenCaptchaEnabled()
public void testCommentDoesNotWatchByDefault()
public void testCommentWatch()
public void testCommentsHaveCorrectUserProfilePics()
public void testCommentsForAnonymousUser()
public void testCommentPermalink()
public void testEditComment()
public void testCommentContentsAreHtmlEncoded()
public void testCollapsedCommentTruncation()
throws java.lang.Exception
java.lang.Exceptionpublic void testRemoveComment()
public void testAttemptToByPassCaptcha()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||