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

java.lang.Object
  extended by com.atlassian.jira.functest.framework.AbstractFuncTestUtil
      extended by com.atlassian.jira.functest.framework.assertions.UserAssertions
All Implemented Interfaces:
FuncTestLogger

public class UserAssertions
extends AbstractFuncTestUtil

Since:
v4.3

Field Summary
 
Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
environmentData, FS, locators, logger, logIndentLevel, tester
 
Constructor Summary
UserAssertions(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData, Assertions assertions)
           
 
Method Summary
 void assertGroupDoesNotExist(String name)
           
 void assertGroupExists(String name)
           
 void assertUserBelongsToGroup(String username, String groupname)
           
 void assertUserDetails(String username, String displayName, String emailAddress, String directoryName)
           
 void assertUserDoesNotBelongToGroup(String username, String groupname)
           
 void assertUserDoesNotExist(String username)
           
 void assertUserExists(String username)
           
 boolean userExists(String username)
           
 
Methods inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserAssertions

public UserAssertions(net.sourceforge.jwebunit.WebTester tester,
                      JIRAEnvironmentData environmentData,
                      Assertions assertions)
Method Detail

userExists

public boolean userExists(String username)

assertUserExists

public void assertUserExists(String username)

assertUserDoesNotExist

public void assertUserDoesNotExist(String username)

assertUserDetails

public void assertUserDetails(String username,
                              String displayName,
                              String emailAddress,
                              String directoryName)

assertGroupExists

public void assertGroupExists(String name)

assertGroupDoesNotExist

public void assertGroupDoesNotExist(String name)

assertUserBelongsToGroup

public void assertUserBelongsToGroup(String username,
                                     String groupname)

assertUserDoesNotBelongToGroup

public void assertUserDoesNotBelongToGroup(String username,
                                           String groupname)


Copyright © 2002-2012 Atlassian. All Rights Reserved.