com.atlassian.crowd.selenium.tests.console
Class PreventAdminGroupUserPickerRemoveTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.selenium.SeleniumTest
              extended by com.atlassian.crowd.selenium.utils.CrowdSeleniumTestCase
                  extended by com.atlassian.crowd.selenium.tests.console.PreventAdminGroupUserPickerRemoveTest
All Implemented Interfaces:
com.atlassian.performance.junit.PerformanceTest, junit.framework.Test

public class PreventAdminGroupUserPickerRemoveTest
extends CrowdSeleniumTestCase


Field Summary
 
Fields inherited from class com.atlassian.crowd.selenium.utils.CrowdSeleniumTestCase
ADMIN_EMAIL, ADMIN_FULL_NAME, ADMIN_GROUP, ADMIN_PW, ADMIN_USER, END_OF_WARNING_MESSAGE, logger
 
Fields inherited from class com.atlassian.selenium.SeleniumTest
assertThat, client, config, recorder
 
Constructor Summary
PreventAdminGroupUserPickerRemoveTest()
           
 
Method Summary
protected  void onSetUp()
           
 void testRemoveLastAdminMembership()
          Testing removing memberships related to logged in user
 void testRemoveLastAdminMembershipForOtherUser()
          Testing removing group memberships of other users
 void testRemoveNonLastAdminMembership()
           
 
Methods inherited from class com.atlassian.crowd.selenium.utils.CrowdSeleniumTestCase
_loginAdminUser, _loginAsUser, _logout, getSeleniumConfiguration, getText, gotoHome, goToImportUsersCSV, gotoRestore, gotoViewGroup, gotoViewRole, gotoViewUser, htmlButton, log, restoreCrowdFromXML, seleniumJsElementNotPresent, seleniumJsElementPresent, seleniumJsTextNotPresent, seleniumJsTextPresent
 
Methods inherited from class com.atlassian.selenium.SeleniumTest
getRecorder, getSeleniumClient, onTearDown, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface junit.framework.Test
countTestCases, run
 

Constructor Detail

PreventAdminGroupUserPickerRemoveTest

public PreventAdminGroupUserPickerRemoveTest()
Method Detail

onSetUp

protected void onSetUp()
Overrides:
onSetUp in class CrowdSeleniumTestCase

testRemoveLastAdminMembership

public void testRemoveLastAdminMembership()
Testing removing memberships related to logged in user


testRemoveNonLastAdminMembership

public void testRemoveNonLastAdminMembership()

testRemoveLastAdminMembershipForOtherUser

public void testRemoveLastAdminMembershipForOtherUser()
Testing removing group memberships of other users



Copyright © 2012 Atlassian. All Rights Reserved.