Class Horde_Kolab_Server_ObjectTest

Description

The the handling of objects.

$Horde: framework/Kolab_Server/test/Horde/Kolab/Server/ObjectTest.php,v 1.3.2.5 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/ObjectTest.php (line 40)

PHPUnit_Extensions_Story_TestCase
   |
   --Horde_Kolab_Test_Server
      |
      --Horde_Kolab_Server_ObjectTest
Method Summary
 static array provideConstructDn ()
 static array provideGetFn ()
 NULL setUp ()
 NULL testConstruct ()
 NULL testConstructDn (string $dn, string $data, string $expect)
 NULL testGetFn (string $data, string $expect)
Methods
static provideConstructDn (line 81)

Provide test data for the ConstructDn test.

  • return: The test object data.
  • access: public
static array provideConstructDn ()
static provideGetFn (line 115)

Provide test data for the GetFn test.

  • return: The test object data.
  • access: public
static array provideGetFn ()
setUp (line 49)

Set up a dummy db object that will not be used during the tests. We just need it so that PHP does not complain about the inability to refernce the storage class.

  • access: protected
NULL setUp ()
testConstruct (line 59)

Test construction of the class.

  • access: public
NULL testConstruct ()
testConstructDn (line 102)

Check a few DN values when constructing the object.

  • access: public
NULL testConstructDn (string $dn, string $data, string $expect)
  • string $dn: The uid for the object.
  • string $data: Object data.
  • string $expect: Expect this uid.
testGetFn (line 136)

Check the generating of the "First Name" attribute.

  • access: public
NULL testGetFn (string $data, string $expect)
  • string $data: Object data.
  • string $expect: Expect this full name.

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:20:07 +0000 by phpDocumentor 1.4.3