From: Gunnar Wrobel Date: Tue, 2 Nov 2010 17:33:35 +0000 (+0100) Subject: Initial Horde_Nonce skeleton. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=19013c175a4092d17d1ae7e43dd1c77f0aaccead;p=horde.git Initial Horde_Nonce skeleton. --- diff --git a/framework/Nonce/lib/Horde/Nonce.php b/framework/Nonce/lib/Horde/Nonce.php new file mode 100644 index 000000000..b3d9bbc7f --- /dev/null +++ b/framework/Nonce/lib/Horde/Nonce.php @@ -0,0 +1 @@ + + * @license http://www.fsf.org/copyleft/lgpl.html LGPL + * @link http://pear.horde.org/index.php?package=Nonce + */ + +/** + * Define the main method + */ +if (!defined('PHPUnit_MAIN_METHOD')) { + define('PHPUnit_MAIN_METHOD', 'Horde_Nonce_AllTests::main'); +} + +/** + * Prepare the test setup. + */ +require_once 'Horde/Test/AllTests.php'; + +/** + * Combine the tests for this package. + * + * Copyright 2007-2010 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. + * + * @category Horde + * @package Nonce + * @subpackage UnitTests + * @author Gunnar Wrobel + * @license http://www.fsf.org/copyleft/lgpl.html LGPL + * @link http://pear.horde.org/index.php?package=Nonce + */ +class Horde_Nonce_AllTests extends Horde_Test_AllTests +{ +} + +Horde_Nonce_AllTests::init('Horde_Nonce', __FILE__); + +if (PHPUnit_MAIN_METHOD == 'Horde_Nonce_AllTests::main') { + Horde_Nonce_AllTests::main(); +} diff --git a/framework/Nonce/test/Horde/Nonce/Autoload.php b/framework/Nonce/test/Horde/Nonce/Autoload.php new file mode 100644 index 000000000..47545d441 --- /dev/null +++ b/framework/Nonce/test/Horde/Nonce/Autoload.php @@ -0,0 +1,23 @@ + + * @license http://www.fsf.org/copyleft/lgpl.html LGPL + * @link http://pear.horde.org/index.php?package=Nonce + */ + +require_once 'Horde/Test/Autoload.php'; + +/** Catch strict standards */ +error_reporting(E_ALL | E_STRICT); diff --git a/framework/Nonce/test/Horde/Nonce/phpunit.xml b/framework/Nonce/test/Horde/Nonce/phpunit.xml new file mode 100644 index 000000000..502d3c9b8 --- /dev/null +++ b/framework/Nonce/test/Horde/Nonce/phpunit.xml @@ -0,0 +1,8 @@ + + + + + ../../../lib + + +