com.atlassian.jira.functest.framework.assertions
Class DefaultCommentAssertions

java.lang.Object
  extended by com.atlassian.jira.functest.framework.assertions.DefaultCommentAssertions
All Implemented Interfaces:
CommentAssertions

public class DefaultCommentAssertions
extends Object
implements CommentAssertions

Holds assertion methods around an issue's comments.

Since:
v4.2

Method Summary
 void areNotVisibleTo(String userName, String issueKey)
          Asserts whether the specified comments are not visible to a user in a specific issue.
 void areVisibleTo(String userName, String issueKey)
          Asserts whether the specified comments are visible to a user in a specific issue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

areVisibleTo

public void areVisibleTo(String userName,
                         String issueKey)
Description copied from interface: CommentAssertions
Asserts whether the specified comments are visible to a user in a specific issue.

Specified by:
areVisibleTo in interface CommentAssertions
Parameters:
userName - The user-name of the user to check visibility for.
issueKey - The issue key of the issue in play.

areNotVisibleTo

public void areNotVisibleTo(String userName,
                            String issueKey)
Description copied from interface: CommentAssertions
Asserts whether the specified comments are not visible to a user in a specific issue.

Specified by:
areNotVisibleTo in interface CommentAssertions
Parameters:
userName - The user-name of the user to check visibility for.
issueKey - The issue key of the issue in play.


Copyright © 2002-2012 Atlassian. All Rights Reserved.