Class Horde_Kolab_Server_UserHandlingTest

Description

Handling users.

$Horde: framework/Kolab_Server/test/Horde/Kolab/Server/UserHandlingTest.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/UserHandlingTest.php (line 37)

PHPUnit_Extensions_Story_TestCase
   |
   --Horde_Kolab_Test_Server
      |
      --Horde_Kolab_Server_UserHandlingTest
Method Summary
 void countingUsersCanBeRestrictedByContentsInAnAttribute ( $attribute,  $content,  $count)
 void disallowInvalidMailAddresses ( $address)
 NULL listingUserCount (array $user_list)
 NULL listingUsersAfterAddingUsers (array $user_list)
 NULL listingUsersHasAttributeEmail (array $user_list)
 NULL listingUsersHasAttributeFullName (array $user_list)
 NULL listingUsersHasAttributeId (array $user_list)
 NULL listingUsersHasAttributeType (array $user_list)
 NULL listingUsersHasAttributeUid (array $user_list)
Methods
addedUserCanLogin (line 534)
  • access: public
void addedUserCanLogin ()
addedUserHasPreferencesInitialized (line 604)

kolab/issue3035 (Initialise internal Horde parameters when creating a user)

  • access: public
void addedUserHasPreferencesInitialized ()
addingUserInUndefinedDomainIsNotAllowed (line 415)
  • access: public
void addingUserInUndefinedDomainIsNotAllowed ()
addingUserOnUndefinedHomeServer (line 452)
  • access: public
void addingUserOnUndefinedHomeServer ()
addingUserOnUndefinedImapServer (line 463)
  • access: public
void addingUserOnUndefinedImapServer ()
addingUserWithDelegateInUndefinedDomainIsNotAllowed (line 428)

kolab/issue444 (a kolab user may delegate to an external user which should not be possible)

  • access: public
void addingUserWithDelegateInUndefinedDomainIsNotAllowed ()
allowCustomFullnameHandling (line 671)

kolab/issue3036 (cn = "givenName sn" ?)

  • access: public
void allowCustomFullnameHandling ()
allowToCheckUserPasswords (line 559)
  • access: public
void allowToCheckUserPasswords ()
allowToSetAttributeDefaults (line 570)
  • access: public
void allowToSetAttributeDefaults ()
allowToSetDomainSpecificAttributeDefaults (line 584)

kolab/issue2742 (Have a default quota value when creating new users via the web interface)

  • access: public
void allowToSetDomainSpecificAttributeDefaults ()
allowToSetTheMiddleName (line 631)

kolab/issue606 (It is not possible to register people with middlename correctly)

  • access: public
void allowToSetTheMiddleName ()
allowUserToUseExternalAddressAsSender (line 658)

kolab/issue1677 (Allow a user to use an external address as sender)

  • access: public
void allowUserToUseExternalAddressAsSender ()
allowUserWithExtendedObjectClasses (line 547)
  • access: public
void allowUserWithExtendedObjectClasses ()
conflictBetweenAliasAndAliasIsNotAllowed (line 372)
  • access: public
void conflictBetweenAliasAndAliasIsNotAllowed ()
conflictBetweenMailAndAliasIsNotAllowed (line 361)
  • access: public
void conflictBetweenMailAndAliasIsNotAllowed ()
conflictBetweenMailAndMailIsNotAllowed (line 350)
  • access: public
void conflictBetweenMailAndMailIsNotAllowed ()
conflictBetweenMailAndUidIsNotAllowed (line 383)
  • access: public
void conflictBetweenMailAndUidIsNotAllowed ()
conflictBetweenUidAndUidIsNotAllowed (line 394)
  • access: public
void conflictBetweenUidAndUidIsNotAllowed ()
correctlyEscapeApostrophesInNames (line 645)

kolab/issue1880 (Poor handling of apostrophes in ldap and admin webpages)

  • access: public
void correctlyEscapeApostrophesInNames ()
countingUsersCanBeRestrictedByContentsInAnAttribute (line 202)
  • access: public
void countingUsersCanBeRestrictedByContentsInAnAttribute ( $attribute,  $content,  $count)
  • $attribute
  • $content
  • $count
countingUsersCanBeRestrictedByStartLetterOfTheLastName (line 190)
  • access: public
void countingUsersCanBeRestrictedByStartLetterOfTheLastName ( $letter,  $count)
  • $letter
  • $count
creatingUserForDistributedKolabWithoutImapServerFails (line 283)
  • access: public
void creatingUserForDistributedKolabWithoutImapServerFails ()
creatingUserWithFreeBusyServerFailsOnNonDistributedKolab (line 305)
  • access: public
void creatingUserWithFreeBusyServerFailsOnNonDistributedKolab ()
creatingUserWithImapServerFailsOnNonDistributedKolab (line 294)
  • access: public
void creatingUserWithImapServerFailsOnNonDistributedKolab ()
creatingUserWithoutGivenName (line 213)
  • access: public
void creatingUserWithoutGivenName ()
creatingUserWithoutHomeServerFails (line 273)
  • access: public
void creatingUserWithoutHomeServerFails ()
creatingUserWithoutInvitationPolicySetsManualPolicy (line 263)
  • access: public
void creatingUserWithoutInvitationPolicySetsManualPolicy ()
creatingUserWithoutLastName (line 223)
  • access: public
void creatingUserWithoutLastName ()
creatingUserWithoutPassword (line 233)
  • access: public
void creatingUserWithoutPassword ()
creatingUserWithoutPrimaryMail (line 243)
  • access: public
void creatingUserWithoutPrimaryMail ()
creatingUserWithoutTypeCreatesStandardUser (line 253)
  • access: public
void creatingUserWithoutTypeCreatesStandardUser ()
disallowInvalidMailAddresses (line 442)

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

  • access: public
void disallowInvalidMailAddresses ( $address)
  • $address
extendedObjectAttributeDescriptionsCanBeRetrieved (line 487)
  • access: public
void extendedObjectAttributeDescriptionsCanBeRetrieved ()
listingUserCount (line 81)

Test listing users after adding some users.

  • access: public
NULL listingUserCount (array $user_list)
  • array $user_list: The users to add.
listingUsersAfterAddingUsers (line 63)

Test listing users after adding some users.

  • access: public
NULL listingUsersAfterAddingUsers (array $user_list)
  • array $user_list: The users to add.
listingUsersCanBeRestrictedByStartLetterOfTheLastName (line 178)
  • access: public
void listingUsersCanBeRestrictedByStartLetterOfTheLastName ( $letter,  $count)
  • $letter
  • $count
listingUsersHasAttributeEmail (line 150)

Test the list of users for the user mail.

  • access: public
NULL listingUsersHasAttributeEmail (array $user_list)
  • array $user_list: The users to add.
listingUsersHasAttributeFullName (line 133)

Test the list of users for the user full name.

  • access: public
NULL listingUsersHasAttributeFullName (array $user_list)
  • array $user_list: The users to add.
listingUsersHasAttributeId (line 99)

Test the list of users for the user id.

  • access: public
NULL listingUsersHasAttributeId (array $user_list)
  • array $user_list: The users to add.
listingUsersHasAttributeType (line 116)

Test the list of users for the user type.

  • access: public
NULL listingUsersHasAttributeType (array $user_list)
  • array $user_list: The users to add.
listingUsersHasAttributeUid (line 167)

Test the list of users for the user uid.

  • access: public
NULL listingUsersHasAttributeUid (array $user_list)
  • array $user_list: The users to add.
listingUsersOnEmptyServer (line 46)

Test listing userss if there are no users.

  • access: public
NULL listingUsersOnEmptyServer ()
modifyingUserHomeServerIsNotAllowd (line 327)
  • access: public
void modifyingUserHomeServerIsNotAllowd ()
modifyingUserImapServerIsNotAllowd (line 338)
  • access: public
void modifyingUserImapServerIsNotAllowd ()
modifyingUserMailAddressIsNotAllowed (line 316)
  • access: public
void modifyingUserMailAddressIsNotAllowed ()
nonExistingDelegateIsNotAllowed (line 405)
  • access: public
void nonExistingDelegateIsNotAllowed ()
removingUserByIdSucceeds (line 522)
  • access: public
void removingUserByIdSucceeds ()
removingUserByMailSucceeds (line 510)
  • access: public
void removingUserByMailSucceeds ()
removingUserFailsIfUserDoesNotExist (line 499)
  • access: public
void removingUserFailsIfUserDoesNotExist ()
userAttributesCanBeExtended (line 475)
  • access: public
void userAttributesCanBeExtended ()
userUidsShouldNotResembleTheLocalPartOfMailAddresses (line 618)

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:23:03 +0000 by phpDocumentor 1.4.3