Class Horde_Kolab_Test_Storage

Description

Base for PHPUnit scenarios.

$Horde: framework/Kolab_Storage/lib/Horde/Kolab/Test/Storage.php,v 1.1.2.5 2009/04/25 18:43:40 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_Storage/lib/Horde/Kolab/Test/Storage.php (line 42)

PHPUnit_Extensions_Story_TestCase
   |
   --Horde_Kolab_Test_Server
      |
      --Horde_Kolab_Test_Storage
Direct descendents
Class Description
 class Horde_Kolab_Test_Filter Base for PHPUnit scenarios.
 class Horde_Kolab_Test_FreeBusy Base for PHPUnit scenarios.
 class Horde_Kolab_Storage_AttachmentTest Test the handling of attachments.
 class Horde_Kolab_Storage_DataTest Test the Kolab data handler.
 class Horde_Kolab_Storage_FolderTest Test the Kolab folder handler.
 class Horde_Kolab_Storage_ListTest Test the Kolab list handler.
 class VFS_KolabTest Test the Kolab based virtual file system.
Method Summary
 NULL prepareBrowser ()
 Kolab_Folder &prepareNewFolder ( &$storage, string $name, string $type, [boolean $default = false])
 NULL prepareRegistry ()
 mixed runGiven (array &$world, string $action, array $arguments)
 mixed runThen (array &$world, string $action, array $arguments)
 mixed runWhen (array &$world, string $action, array $arguments)
Methods
prepareBasicConfiguration (line 342)

Prepare a basic Kolab configuration.

  • access: public
NULL prepareBasicConfiguration ()
prepareBasicSetup (line 148)

Prepare a Kolab server with some basic entries.

  • return: The empty server.
  • access: public
Horde_Kolab_Server &prepareBasicSetup ()
prepareBrowser (line 175)

Prepare the browser setup.

  • access: public
NULL prepareBrowser ()
prepareConfiguration (line 187)

Prepare the configuration.

  • access: public
NULL prepareConfiguration ()
prepareEmptyKolabStorage (line 160)

Prepare an empty Kolab storage.

  • return: The empty storage.
  • access: public
Kolab_List &prepareEmptyKolabStorage ()
prepareFixedConfiguration (line 332)

Fix the read configuration.

  • access: public
NULL prepareFixedConfiguration ()
prepareKolabSetup (line 284)

Prepare a Kolab setup.

  • access: public
NULL &prepareKolabSetup ()
prepareNewFolder (line 360)

Create a new folder.

  • return: The new folder.
  • access: public
Kolab_Folder &prepareNewFolder ( &$storage, string $name, string $type, [boolean $default = false])
  • string $name: Name of the new folder.
  • string $type: Type of the new folder.
  • boolean $default: Should the new folder be a default folder?
  • &$storage
prepareNotification (line 264)

Prepare the notification setup.

  • access: public
NULL prepareNotification ()
prepareRegistry (line 241)

Prepare the registry.

  • access: public
NULL prepareRegistry ()
provideHordeBase (line 373)
void provideHordeBase ()
provideServerName (line 369)
void provideServerName ()
runGiven (line 53)

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_Server::runGiven()
Handle a "given" step.

Redefined in descendants as:
runThen (line 127)

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_Server::runThen()
Handle a "then" step.

Redefined in descendants as:
runWhen (line 87)

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_Server::runWhen()
Handle a "when" step.

Redefined in descendants as:

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