Class Horde_Kolab_Server_GroupHandlingTest

Description

Handling groups.

$Horde: framework/Kolab_Server/test/Horde/Kolab/Server/GroupHandlingTest.php,v 1.1.2.3 2009/01/06 15:23:17 jan Exp $

Copyright 2008-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Located in /Kolab_Server/test/Horde/Kolab/Server/GroupHandlingTest.php (line 39)

PHPUnit_Extensions_Story_TestCase
   |
   --Horde_Kolab_Test_Server
      |
      --Horde_Kolab_Server_GroupHandlingTest
Method Summary
Methods
addedUserCanLoginIfInAllowedGroup (line 395)

kolab/issue2207 (Make it possible to enable and disable users to be able to use the webclient.)

  • access: public
void addedUserCanLoginIfInAllowedGroup ()
addedUserCanLoginIfInNotInDisallowedGroup (line 428)

kolab/issue2207 (Make it possible to enable and disable users to be able to use the webclient.)

  • access: public
void addedUserCanLoginIfInNotInDisallowedGroup ()
addedUserCannotLoginIfInDisallowedGroup (line 445)

kolab/issue2207 (Make it possible to enable and disable users to be able to use the webclient.)

  • access: public
void addedUserCannotLoginIfInDisallowedGroup ()
addedUserCannotLoginIfInNotInAllowedGroup (line 412)

kolab/issue2207 (Make it possible to enable and disable users to be able to use the webclient.)

  • access: public
void addedUserCannotLoginIfInNotInAllowedGroup ()
addingGroupInUndefinedDomainIsNotAllowed (line 322)
  • access: public
void addingGroupInUndefinedDomainIsNotAllowed ()
allowAddingUserToGroup (line 252)
  • access: public
void allowAddingUserToGroup ()
allowAddingUserToGroupWhenCreatingUser (line 266)
  • access: public
void allowAddingUserToGroupWhenCreatingUser ()
allowRemovingUserFromGroup (line 279)
  • access: public
void allowRemovingUserFromGroup ()
conflictBetweenGroupMailAndUserAliasIsNotAllowed (line 213)
  • access: public
void conflictBetweenGroupMailAndUserAliasIsNotAllowed ()
conflictBetweenGroupMailAndUserMailIsNotAllowed (line 189)

Test modifying a group mail address.

  • access: public
void conflictBetweenGroupMailAndUserMailIsNotAllowed ()
conflictBetweenUserAliasAndGroupMailIsNotAllowed (line 225)
  • access: public
void conflictBetweenUserAliasAndGroupMailIsNotAllowed ()
conflictBetweenUserMailAndGroupMailIsNotAllowed (line 201)
  • access: public
void conflictBetweenUserMailAndGroupMailIsNotAllowed ()
creatingGroupsWithoutMailAddressFails (line 143)

Test adding an invalid group.

  • access: public
NULL creatingGroupsWithoutMailAddressFails ()
creatingGroupWithoutVisibilityCreatesVisibleGroup (line 158)

Test adding a group without setting the visibility.

  • access: public
NULL creatingGroupWithoutVisibilityCreatesVisibleGroup ()
deletingUserRemovesUserFromAllDistributionLists (line 293)
  • access: public
void deletingUserRemovesUserFromAllDistributionLists ()
disallowInvalidMailAddresses (line 336)

kolab/issue1368 (Webinterface allows to create email addresses with slash that cyrus cannot handle)

  • access: public
void disallowInvalidMailAddresses ( $address)
  • $address
listingGroups (line 65)

Test listing groups after adding some groups.

  • access: public
NULL listingGroups (array $group_list)
  • array $group_list: The groups to add.
listingGroupsHasAttributeId (line 86)

Test the list of groups for the group id.

  • access: public
NULL listingGroupsHasAttributeId (array $group_list)
  • array $group_list: The groups to add.
listingGroupsHasAttributeMail (line 106)

Test the list of groups for the group mail address.

  • access: public
NULL listingGroupsHasAttributeMail (array $group_list)
  • array $group_list: The groups to add.
listingGroupsHasAttributeVisibility (line 126)

Test the list of groups for the group visibility.

  • access: public
NULL listingGroupsHasAttributeVisibility (array $group_list)
  • array $group_list: The groups to add.
listingGroupsOnEmptyServer (line 47)

Test listing groups if there are no groups.

  • access: public
NULL listingGroupsOnEmptyServer ()
modifyingGroupMailAddressIsNotAllowed (line 175)

Test modifying a group mail address.

  • access: public
NULL modifyingGroupMailAddressIsNotAllowed ()
modifyingUserIDDoesNotChangeGroupMembership (line 309)
  • access: public
void modifyingUserIDDoesNotChangeGroupMembership ()
objectAttributeDescriptionsCanBeRetrieved (line 346)
  • access: public
void objectAttributeDescriptionsCanBeRetrieved ()
removingGroupByMailSucceeds (line 368)
  • access: public
void removingGroupByMailSucceeds ()
removingGroupFailsIfGroupDoesNotExist (line 357)
  • access: public
void removingGroupFailsIfGroupDoesNotExist ()
showGroupsWhenFetchingTheUser (line 239)

kolab/issue890 (Assigning multiple Distribution Lists to user during creation and modification)

  • access: public
void showGroupsWhenFetchingTheUser ()
userUidsShouldNotResembleTheLocalPartOfMailAddresses (line 382)

kolab/issue1189 (IMAP login fails on some specific uids)

  • access: public
void userUidsShouldNotResembleTheLocalPartOfMailAddresses ()

Inherited Methods

Inherited From Horde_Kolab_Test_Server

 Horde_Kolab_Test_Server::assertError()
 Horde_Kolab_Test_Server::assertNoError()
 Horde_Kolab_Test_Server::groupLists()
 Horde_Kolab_Test_Server::invalidMails()
 Horde_Kolab_Test_Server::largeList()
 Horde_Kolab_Test_Server::prepareBasicServer()
 Horde_Kolab_Test_Server::prepareEmptyKolabServer()
 Horde_Kolab_Test_Server::prepareKolabAuthDriver()
 Horde_Kolab_Test_Server::prepareUsers()
 Horde_Kolab_Test_Server::provideBasicAddress()
 Horde_Kolab_Test_Server::provideBasicAdmin()
 Horde_Kolab_Test_Server::provideBasicDomainMaintainer()
 Horde_Kolab_Test_Server::provideBasicGroupOne()
 Horde_Kolab_Test_Server::provideBasicGroupTwo()
 Horde_Kolab_Test_Server::provideBasicMaintainer()
 Horde_Kolab_Test_Server::provideBasicSharedFolder()
 Horde_Kolab_Test_Server::provideBasicUserOne()
 Horde_Kolab_Test_Server::provideBasicUserTwo()
 Horde_Kolab_Test_Server::provideDistributionList()
 Horde_Kolab_Test_Server::provideInvalidUsers()
 Horde_Kolab_Test_Server::provideInvalidUserWithoutGivenName()
 Horde_Kolab_Test_Server::provideInvalidUserWithoutLastName()
 Horde_Kolab_Test_Server::provideInvalidUserWithoutMail()
 Horde_Kolab_Test_Server::provideInvalidUserWithoutPassword()
 Horde_Kolab_Test_Server::runGiven()
 Horde_Kolab_Test_Server::runThen()
 Horde_Kolab_Test_Server::runWhen()
 Horde_Kolab_Test_Server::userAdd()
 Horde_Kolab_Test_Server::userListByAttribute()
 Horde_Kolab_Test_Server::userListByLetter()
 Horde_Kolab_Test_Server::userLists()
 Horde_Kolab_Test_Server::validAddresses()
 Horde_Kolab_Test_Server::validAdmins()
 Horde_Kolab_Test_Server::validDomainMaintainers()
 Horde_Kolab_Test_Server::validGroups()
 Horde_Kolab_Test_Server::validGroupWithoutMembers()
 Horde_Kolab_Test_Server::validMaintainers()
 Horde_Kolab_Test_Server::validSharedFolders()
 Horde_Kolab_Test_Server::validUsers()

Documentation generated on Sun, 30 Jan 2011 05:17:54 +0000 by phpDocumentor 1.4.3