PHP Class Horde_Kolab_Storage_Scenario, horde

Copyright 2008-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: extends Horde_Kolab_Server_Integration_Scenario
显示文件 Open project: horde/horde

Public Methods

Method Description
authenticate ( Horde_Auth_Base $auth, $username = 'test', $password = 'test' )
prepareBasicConfiguration ( ) : null Prepare a basic Kolab configuration.
prepareBasicSetup ( ) : Horde_Kolab_Server Prepare a Kolab server with some basic entries.
prepareBrowser ( ) : null Prepare the browser setup.
prepareConfiguration ( ) : null Prepare the configuration.
prepareEmptyKolabStorage ( $params = null ) : Horde_Kolab_Storage_List Prepare an empty Kolab storage.
prepareFixedConfiguration ( ) : null Fix the read configuration.
prepareKolabSetup ( $username = 'test', $password = 'test' ) : null Prepare a Kolab setup.
prepareNewFolder ( &$storage, string $name, string $type, boolean $default = false ) : Kolab_Folder Create a new folder.
prepareNotification ( ) : null Prepare the notification setup.
prepareRegistry ( ) : null Prepare the registry.
provideHordeBase ( )
provideServerName ( )
runGiven ( &$world, string $action, array $arguments ) : mixed Handle a "given" step.
runThen ( &$world, string $action, array $arguments ) : mixed Handle a "then" step.
runWhen ( &$world, string $action, array $arguments ) : mixed Handle a "when" step.

Protected Methods

Method Description
getConfiguration ( )

Method Details

authenticate() public method

public authenticate ( Horde_Auth_Base $auth, $username = 'test', $password = 'test' )
$auth Horde_Auth_Base

getConfiguration() protected method

protected getConfiguration ( )

prepareBasicConfiguration() public method

Prepare a basic Kolab configuration.
public prepareBasicConfiguration ( ) : null
return null

prepareBasicSetup() public method

Prepare a Kolab server with some basic entries.
public prepareBasicSetup ( ) : Horde_Kolab_Server
return Horde_Kolab_Server The empty server.

prepareBrowser() public method

Prepare the browser setup.
public prepareBrowser ( ) : null
return null

prepareConfiguration() public method

Prepare the configuration.
public prepareConfiguration ( ) : null
return null

prepareEmptyKolabStorage() public method

Prepare an empty Kolab storage.
public prepareEmptyKolabStorage ( $params = null ) : Horde_Kolab_Storage_List
return Horde_Kolab_Storage_List The empty storage.

prepareFixedConfiguration() public method

Fix the read configuration.
public prepareFixedConfiguration ( ) : null
return null

prepareKolabSetup() public method

Prepare a Kolab setup.
public prepareKolabSetup ( $username = 'test', $password = 'test' ) : null
return null

prepareNewFolder() public method

Create a new folder.
public prepareNewFolder ( &$storage, string $name, string $type, boolean $default = false ) : Kolab_Folder
$name string Name of the new folder.
$type string Type of the new folder.
$default boolean Should the new folder be a default folder?
return Kolab_Folder The new folder.

prepareNotification() public method

Prepare the notification setup.
public prepareNotification ( ) : null
return null

prepareRegistry() public method

Prepare the registry.
public prepareRegistry ( ) : null
return null

provideHordeBase() public method

public provideHordeBase ( )

provideServerName() public method

public provideServerName ( )

runGiven() public method

Handle a "given" step.
public runGiven ( &$world, string $action, array $arguments ) : mixed
$action string The description of the step.
$arguments array Additional arguments to the step.
return mixed The outcome of the step.

runThen() public method

Handle a "then" step.
public runThen ( &$world, string $action, array $arguments ) : mixed
$action string The description of the step.
$arguments array Additional arguments to the step.
return mixed The outcome of the step.

runWhen() public method

Handle a "when" step.
public runWhen ( &$world, string $action, array $arguments ) : mixed
$action string The description of the step.
$arguments array Additional arguments to the step.
return mixed The outcome of the step.