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

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.PreventAdminUserGroupPickerRemoveTest
All Implemented Interfaces:
com.atlassian.performance.junit.PerformanceTest, junit.framework.Test

public class PreventAdminUserGroupPickerRemoveTest
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
PreventAdminUserGroupPickerRemoveTest()
           
 
Method Summary
protected  void onSetUp()
           
 void testRemoveAllAdminGroupsFromOtherUser()
           
 void testRemoveAllFromOtherUser()
          Testing removing groups for another user (should be able to do anything)
 void testRemoveOnlyAdminGroup()
           
 void testRemoveOnlyAdminSubGroup()
           
 void testRemoveSubsetOfAdminGroups()
           
 void testRemoveSubsetOfAdminGroupsWithNormal()
           
 void testSelectAllNoGroupsRemoved()
           
 void testSelectAllNonAdminGroupsRemoved()
          Testing removing groups from own account
 
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

PreventAdminUserGroupPickerRemoveTest

public PreventAdminUserGroupPickerRemoveTest()
Method Detail

onSetUp

protected void onSetUp()
Overrides:
onSetUp in class CrowdSeleniumTestCase

testSelectAllNonAdminGroupsRemoved

public void testSelectAllNonAdminGroupsRemoved()
Testing removing groups from own account


testSelectAllNoGroupsRemoved

public void testSelectAllNoGroupsRemoved()

testRemoveOnlyAdminGroup

public void testRemoveOnlyAdminGroup()

testRemoveOnlyAdminSubGroup

public void testRemoveOnlyAdminSubGroup()

testRemoveSubsetOfAdminGroups

public void testRemoveSubsetOfAdminGroups()

testRemoveSubsetOfAdminGroupsWithNormal

public void testRemoveSubsetOfAdminGroupsWithNormal()

testRemoveAllFromOtherUser

public void testRemoveAllFromOtherUser()
Testing removing groups for another user (should be able to do anything)


testRemoveAllAdminGroupsFromOtherUser

public void testRemoveAllAdminGroupsFromOtherUser()


Copyright © 2012 Atlassian. All Rights Reserved.