Overview

Packages

  • Test

Classes

  • Horde_Test_AllTests
  • Horde_Test_Case
  • Horde_Test_Exception
  • Horde_Test_Factory_Alarm
  • Horde_Test_Factory_Cache
  • Horde_Test_Factory_Db
  • Horde_Test_Factory_Group
  • Horde_Test_Factory_History
  • Horde_Test_Factory_KolabStorage
  • Horde_Test_Factory_Perms
  • Horde_Test_Factory_Prefs
  • Horde_Test_Factory_Registry
  • Horde_Test_Factory_Session
  • Horde_Test_Factory_Share
  • Horde_Test_Functional
  • Horde_Test_Log
  • Horde_Test_Setup
  • Horde_Test_Stub_Cli
  • Horde_Test_Stub_Factory
  • Horde_Test_Stub_Parser
  • Horde_Test_Stub_Registry
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Test_AllTests

Horde base test suite

Copyright 2009-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: Test
Category: Horde
License: LGPL
Author: Jan Schneider jan@horde.org
Author: Gunnar Wrobel wrobel@pardus.de
Link: http://www.horde.org/components/Horde_Test
Located at Horde/Test/AllTests.php
Methods summary
public static
# main( mixed $package = null, mixed $file = null )

Main entry point for running the suite.

Main entry point for running the suite.

public static null
# init( string $package, string $file )

Initialize the test suite class.

Initialize the test suite class.

Parameters

$package
The name of the package tested by this suite.
$file
The path of the AllTests class.

Returns

null
public static PHPUnit_Framework_TestSuite
# suite( )

Collect the unit tests of this directory into a new suite.

Collect the unit tests of this directory into a new suite.

Returns

PHPUnit_Framework_TestSuite
The test suite.
public static null
# setup( )

Basic test suite setup. This includes error checking and autoloading.

Basic test suite setup. This includes error checking and autoloading.

In the default situation this will set the error reporting to E_ALL | E_STRICT and pull in Horde/Test/Autoload.php as autoloading definition. If there is an Autoload.php alongside the AllTests.php represented by self::$_file, then only this file will be used.

In addition the setup() call will attempt to detect the "lib" directory of the component currently under test and add it to the include_path. This ensures that the component code from the checkout is preferred over whatever else might be available in the default include_path.

Returns

null
API documentation generated by ApiGen