From: Gunnar Wrobel Date: Tue, 17 Aug 2010 06:15:09 +0000 (+0200) Subject: phpdoc X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f57afbbc344062cc626d2f80fbe2f541f144559b;p=horde.git phpdoc --- diff --git a/imp/lib/Mime/Viewer/Itip.php b/imp/lib/Mime/Viewer/Itip.php index afc9256e5..b6191811c 100644 --- a/imp/lib/Mime/Viewer/Itip.php +++ b/imp/lib/Mime/Viewer/Itip.php @@ -11,6 +11,7 @@ * * @author Chuck Hagenbuch * @author Mike Cochrane + * @author Gunnar Wrobel * @category Horde * @license http://www.fsf.org/copyleft/gpl.html GPL * @package IMP diff --git a/imp/lib/tests/Imp/AllTests.php b/imp/lib/tests/Imp/AllTests.php index 8c1da100d..135b7c0e1 100644 --- a/imp/lib/tests/Imp/AllTests.php +++ b/imp/lib/tests/Imp/AllTests.php @@ -21,7 +21,10 @@ if (!defined('PHPUnit_MAIN_METHOD')) { /** * Prepare the test setup. + * + * @todo: fix autoloading */ +require_once dirname(__FILE__) . '/Autoload.php'; require_once 'Horde/Test/AllTests.php'; /** diff --git a/imp/lib/tests/Imp/Stub/Browser.php b/imp/lib/tests/Imp/Stub/Browser.php index 4d2387a5f..5357ca8f5 100644 --- a/imp/lib/tests/Imp/Stub/Browser.php +++ b/imp/lib/tests/Imp/Stub/Browser.php @@ -1,5 +1,32 @@ + * @license http://www.fsf.org/copyleft/lgpl.html LGPL + * @link http://pear.horde.org/index.php?package=Imp + */ +/** + * Dummy Horde_Browser stub. + * + * Copyright 2010 The Horde Project (http://www.horde.org/) + * + * See the enclosed file COPYING for license information (GPL). If you + * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. + * + * @category Horde + * @package IMP + * @subpackage UnitTests + * @author Gunnar Wrobel + * @license http://www.fsf.org/copyleft/gpl.html GPL + * @link http://pear.horde.org/index.php?package=Imp + */ class IMP_Stub_Browser { public function hasQuirk($quirk) diff --git a/imp/lib/tests/Imp/Stub/Identity.php b/imp/lib/tests/Imp/Stub/Identity.php index 8c54f2528..ec2e06ebf 100644 --- a/imp/lib/tests/Imp/Stub/Identity.php +++ b/imp/lib/tests/Imp/Stub/Identity.php @@ -1,5 +1,32 @@ + * @license http://www.fsf.org/copyleft/lgpl.html LGPL + * @link http://pear.horde.org/index.php?package=Imp + */ +/** + * Dummy IMP_Prefs_Identity stub. + * + * Copyright 2010 The Horde Project (http://www.horde.org/) + * + * See the enclosed file COPYING for license information (GPL). If you + * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. + * + * @category Horde + * @package IMP + * @subpackage UnitTests + * @author Gunnar Wrobel + * @license http://www.fsf.org/copyleft/gpl.html GPL + * @link http://pear.horde.org/index.php?package=Imp + */ class IMP_Stub_Identity { private $_id = 'default'; diff --git a/imp/lib/tests/Imp/Stub/Injector.php b/imp/lib/tests/Imp/Stub/Injector.php index 09071a241..2d859a053 100644 --- a/imp/lib/tests/Imp/Stub/Injector.php +++ b/imp/lib/tests/Imp/Stub/Injector.php @@ -1,5 +1,32 @@ + * @license http://www.fsf.org/copyleft/lgpl.html LGPL + * @link http://pear.horde.org/index.php?package=Imp + */ +/** + * Dummy Horde_Injector stub. + * + * Copyright 2010 The Horde Project (http://www.horde.org/) + * + * See the enclosed file COPYING for license information (GPL). If you + * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. + * + * @category Horde + * @package IMP + * @subpackage UnitTests + * @author Gunnar Wrobel + * @license http://www.fsf.org/copyleft/gpl.html GPL + * @link http://pear.horde.org/index.php?package=Imp + */ class IMP_Stub_Injector { private $_mail; diff --git a/imp/lib/tests/Imp/Stub/Prefs.php b/imp/lib/tests/Imp/Stub/Prefs.php index ec504723f..0fdb53f35 100644 --- a/imp/lib/tests/Imp/Stub/Prefs.php +++ b/imp/lib/tests/Imp/Stub/Prefs.php @@ -1,5 +1,32 @@ + * @license http://www.fsf.org/copyleft/lgpl.html LGPL + * @link http://pear.horde.org/index.php?package=Imp + */ +/** + * Dummy Horde_Prefs stub. + * + * Copyright 2010 The Horde Project (http://www.horde.org/) + * + * See the enclosed file COPYING for license information (GPL). If you + * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. + * + * @category Horde + * @package IMP + * @subpackage UnitTests + * @author Gunnar Wrobel + * @license http://www.fsf.org/copyleft/gpl.html GPL + * @link http://pear.horde.org/index.php?package=Imp + */ class IMP_Stub_Prefs { public function getValue($pref) diff --git a/imp/lib/tests/Imp/Stub/Registry.php b/imp/lib/tests/Imp/Stub/Registry.php index e9f2e96c7..1f4e0b054 100644 --- a/imp/lib/tests/Imp/Stub/Registry.php +++ b/imp/lib/tests/Imp/Stub/Registry.php @@ -1,5 +1,32 @@ + * @license http://www.fsf.org/copyleft/lgpl.html LGPL + * @link http://pear.horde.org/index.php?package=Imp + */ +/** + * Dummy Horde_Registry stub. + * + * Copyright 2010 The Horde Project (http://www.horde.org/) + * + * See the enclosed file COPYING for license information (GPL). If you + * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. + * + * @category Horde + * @package IMP + * @subpackage UnitTests + * @author Gunnar Wrobel + * @license http://www.fsf.org/copyleft/gpl.html GPL + * @link http://pear.horde.org/index.php?package=Imp + */ class IMP_Stub_Registry { private $_charset = 'UTF-8'; diff --git a/imp/lib/tests/Imp/Unit/Mime/Viewer/ItipTest.php b/imp/lib/tests/Imp/Unit/Mime/Viewer/ItipTest.php index 6d2968816..f5f6703d8 100644 --- a/imp/lib/tests/Imp/Unit/Mime/Viewer/ItipTest.php +++ b/imp/lib/tests/Imp/Unit/Mime/Viewer/ItipTest.php @@ -20,7 +20,7 @@ require_once dirname(__FILE__) . '/../../../Autoload.php'; /** * Test the itip response handling. * - * Copyright 2002-2010 The Horde Project (http://www.horde.org/) + * Copyright 2010 The Horde Project (http://www.horde.org/) * * See the enclosed file COPYING for license information (GPL). If you * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. @@ -451,8 +451,8 @@ extends PHPUnit_Framework_TestCase $this->assertEquals('Tentative: Test Invitation', $this->_getMailHeaders()->getValue('Subject')); } public function testResultMimeMessageHeadersContainsReplyToForAlternateIdentity() - { - $_GET['identity'] = 'other'; + { + $_GET['identity'] = 'other'; $_GET['itip_action'] = array(0 => 'accept'); $viewer = $this->_getViewer($this->_getInvitation()->exportvCalendar()); $viewer->render('inline'); diff --git a/imp/lib/tests/Imp/phpunit.xml b/imp/lib/tests/Imp/phpunit.xml index 5d19e9d58..574f19886 100644 --- a/imp/lib/tests/Imp/phpunit.xml +++ b/imp/lib/tests/Imp/phpunit.xml @@ -2,7 +2,7 @@ - ../.. + ../../Mime