Overview

Packages

  • Kolab
    • Filter
    • Test

Classes

  • Horde_Kolab_Test_Filter
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Kolab_Test_Filter

Base for PHPUnit scenarios.

Copyright 2008-2012 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.

Package: Kolab\Test
Category: Kolab
License: LGPL 2.1
Author: Gunnar Wrobel wrobel@pardus.de
Link: http://pear.horde.org/index.php?package=Kolab_Storage
Located at Horde/Kolab/Test/Filter.php
Methods summary
public mixed
# runGiven( array & $world, string $action, array $arguments )

Handle a "given" step.

Handle a "given" step.

Parameters

$world
$world Joined "world" of variables.
$action
The description of the step.
$arguments
Additional arguments to the step.

Returns

mixed
The outcome of the step.
public mixed
# runWhen( array & $world, string $action, array $arguments )

Handle a "when" step.

Handle a "when" step.

Parameters

$world
$world Joined "world" of variables.
$action
The description of the step.
$arguments
Additional arguments to the step.

Returns

mixed
The outcome of the step.
public mixed
# runThen( array & $world, string $action, array $arguments )

Handle a "then" step.

Handle a "then" step.

Parameters

$world
$world Joined "world" of variables.
$action
The description of the step.
$arguments
Additional arguments to the step.

Returns

mixed
The outcome of the step.
public Horde_Kolab_Server
# prepareUsers( Kolab_Server & $server )

Fill a Kolab Server with test users.

Fill a Kolab Server with test users.

Parameters

$server
$server The server to populate.

Returns

Horde_Kolab_Server
The empty server.
public null
# prepareConfiguration( )

Prepare the configuration.

Prepare the configuration.

Returns

null
public array
# provideFilterUserOne( )

Return a test user.

Return a test user.

Returns

array
The test user.
public array
# provideFilterUserTwo( )

Return a test user.

Return a test user.

Returns

array
The test user.
public array
# provideFilterUserThree( )

Return a test user.

Return a test user.

Returns

array
The test user.
public array
# provideFilterCalendarUser( )

Return the calendar user.

Return the calendar user.

Returns

array
The calendar user.
public
# sendFixture( mixed $infile, mixed $outfile, mixed $user, mixed $client, mixed $from, mixed $to, mixed $host, mixed $params = array() )
API documentation generated by ApiGen