Class TestCommentResource

java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraRestTest
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.TestCommentResource

public class TestCommentResource extends BaseJiraRestTest
Since:
v4.2
  • Constructor Details

    • TestCommentResource

      public TestCommentResource()
  • Method Details

    • setUpTest

      public void setUpTest()
    • testViewCommentNotFound

      public void testViewCommentNotFound() throws Exception
      Throws:
      Exception
    • testAnonymousComment

      public void testAnonymousComment() throws Exception
      Throws:
      Exception
    • testRestrictedByRole

      public void testRestrictedByRole() throws Exception
      Throws:
      Exception
    • testViewCommentJson

      public void testViewCommentJson() throws Exception
      Throws:
      Exception
    • testViewComments

      public void testViewComments()
    • testCommentOrderingAndPaging

      public void testCommentOrderingAndPaging()
    • testGetCommentExpandRendered

      public void testGetCommentExpandRendered() throws ParseException
      Throws:
      ParseException
    • testGetCommentsExpandRendered

      public void testGetCommentsExpandRendered() throws ParseException
      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

      public void testAdminCanEditAndDeleteAllComments() throws Exception
      Throws:
      Exception
    • testFredCanEditAndDeleteOwnComments

      public void testFredCanEditAndDeleteOwnComments() throws Exception
      Throws:
      Exception
    • testAnonCanEditAndDeleteNothing

      public void testAnonCanEditAndDeleteNothing() throws Exception
      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)