Class TestCommentResource
java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraRestTest
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.TestCommentResource
- Since:
- v4.2
-
Field Summary
Fields inherited from class com.atlassian.jira.functest.framework.BaseJiraRestTest
backdoor, environmentData, initClass, initData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassertCommentsEqual(com.atlassian.jira.testkit.client.restclient.Comment comment1, com.atlassian.jira.testkit.client.restclient.Comment comment2) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class com.atlassian.jira.functest.framework.BaseJiraRestTest
getEnvironmentData
-
Constructor Details
-
TestCommentResource
public TestCommentResource()
-
-
Method Details
-
setUpTest
public void setUpTest() -
testViewCommentNotFound
- Throws:
Exception
-
testAnonymousComment
- Throws:
Exception
-
testRestrictedByRole
- Throws:
Exception
-
testViewCommentJson
- Throws:
Exception
-
testViewComments
public void testViewComments() -
testCommentOrderingAndPaging
public void testCommentOrderingAndPaging() -
testGetCommentExpandRendered
- Throws:
ParseException
-
testGetCommentsExpandRendered
- Throws:
ParseException
-
testBidiEscapedInComment
public void testBidiEscapedInComment() -
testBidiNotEscapedInComment
public void testBidiNotEscapedInComment() -
testEditComment
public void testEditComment() -
testEditCommentExpandRendered
public void testEditCommentExpandRendered() -
testEditCommentWhenRoleDoesntExist
public void testEditCommentWhenRoleDoesntExist() -
testEditCommentWhenGroupDoesntExist
public void testEditCommentWhenGroupDoesntExist() -
testAddComment
public void testAddComment() -
testAddCommentExpandRendered
public void testAddCommentExpandRendered() -
testAddCommentWhenRoleDoesntExist
public void testAddCommentWhenRoleDoesntExist() -
testAddCommentWhenGroupDoesntExist
public void testAddCommentWhenGroupDoesntExist() -
testDeleteComment
public void testDeleteComment() -
testIncorrectIssueKey
public void testIncorrectIssueKey() -
testGetCommentFromWrongIssue
public void testGetCommentFromWrongIssue() -
testAdminCanEditAndDeleteAllComments
- Throws:
Exception
-
testFredCanEditAndDeleteOwnComments
- Throws:
Exception
-
testAnonCanEditAndDeleteNothing
- Throws:
Exception
-
testCanAddCommentWhenNoIssueEditPerm
public void testCanAddCommentWhenNoIssueEditPerm() -
testSettingPropertyDuringCreate
public void testSettingPropertyDuringCreate() -
testUpdateCommentWithProperty
public void testUpdateCommentWithProperty() -
assertCommentsEqual
public void assertCommentsEqual(com.atlassian.jira.testkit.client.restclient.Comment comment1, com.atlassian.jira.testkit.client.restclient.Comment comment2)
-