Class Horde_Kolab_Test_FreeBusy

Description

Base for PHPUnit scenarios.

$Horde: framework/Kolab_FreeBusy/lib/Horde/Kolab/Test/FreeBusy.php,v 1.1.2.3 2010-10-10 16:26:50 wrobel 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_FreeBusy/lib/Horde/Kolab/Test/FreeBusy.php (line 37)

PHPUnit_Extensions_Story_TestCase
   |
   --Horde_Kolab_Test_Server
      |
      --Horde_Kolab_Test_Storage
         |
         --Horde_Kolab_Test_FreeBusy
Direct descendents
Class Description
 class Horde_Kolab_FreeBusy_FreeBusyScenarioTest Checks for the Kolab Free/Busy system.
 class Horde_Kolab_FreeBusy_FreeBusyTest Test the Kolab free/busy system.
Method Summary
 NULL addEvent ( $event,  $folder)
 void freeBusyContainsSummary ( $vfb,  $summary)
 mixed runGiven (array &$world, string $action, array $arguments)
 mixed runThen (array &$world, string $action, array $arguments)
 mixed runWhen (array &$world, string $action, array $arguments)
 void setUp ()
 void tearDown ()
 void unlinkDir ( $dir)
Methods
addEvent (line 202)

Add an event.

  • access: public
NULL addEvent ( $event,  $folder)
  • $event
  • $folder
freeBusyContainsSummary (line 184)
  • access: public
void freeBusyContainsSummary ( $vfb,  $summary)
  • $vfb
  • $summary
runGiven (line 104)

Handle a "given" step.

  • return: The outcome of the step.
  • access: public
mixed runGiven (array &$world, string $action, array $arguments)
  • array &$world: Joined "world" of variables.
  • string $action: The description of the step.
  • array $arguments: Additional arguments to the step.

Redefinition of:
Horde_Kolab_Test_Storage::runGiven()
Handle a "given" step.
runThen (line 168)

Handle a "then" step.

  • return: The outcome of the step.
  • access: public
mixed runThen (array &$world, string $action, array $arguments)
  • array &$world: Joined "world" of variables.
  • string $action: The description of the step.
  • array $arguments: Additional arguments to the step.

Redefinition of:
Horde_Kolab_Test_Storage::runThen()
Handle a "then" step.
runWhen (line 121)

Handle a "when" step.

  • return: The outcome of the step.
  • access: public
mixed runWhen (array &$world, string $action, array $arguments)
  • array &$world: Joined "world" of variables.
  • string $action: The description of the step.
  • array $arguments: Additional arguments to the step.

Redefinition of:
Horde_Kolab_Test_Storage::runWhen()
Handle a "when" step.
setUp (line 42)

Set up testing.

  • access: protected
void setUp ()
tearDown (line 63)

Set up testing.

  • access: protected
void tearDown ()
unlinkDir (line 76)
void unlinkDir ( $dir)
  • $dir

Inherited Methods

Inherited From Horde_Kolab_Test_Storage

 Horde_Kolab_Test_Storage::prepareBasicConfiguration()
 Horde_Kolab_Test_Storage::prepareBasicSetup()
 Horde_Kolab_Test_Storage::prepareBrowser()
 Horde_Kolab_Test_Storage::prepareConfiguration()
 Horde_Kolab_Test_Storage::prepareEmptyKolabStorage()
 Horde_Kolab_Test_Storage::prepareFixedConfiguration()
 Horde_Kolab_Test_Storage::prepareKolabSetup()
 Horde_Kolab_Test_Storage::prepareNewFolder()
 Horde_Kolab_Test_Storage::prepareNotification()
 Horde_Kolab_Test_Storage::prepareRegistry()
 Horde_Kolab_Test_Storage::provideHordeBase()
 Horde_Kolab_Test_Storage::provideServerName()
 Horde_Kolab_Test_Storage::runGiven()
 Horde_Kolab_Test_Storage::runThen()
 Horde_Kolab_Test_Storage::runWhen()

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