*
* @author Chuck Hagenbuch <chuck@horde.org>
* @author Mike Cochrane <mike@graftonhall.co.nz>
+ * @author Gunnar Wrobel <wrobel@pardus.de>
* @category Horde
* @license http://www.fsf.org/copyleft/gpl.html GPL
* @package IMP
/**
* Prepare the test setup.
+ *
+ * @todo: fix autoloading
*/
+require_once dirname(__FILE__) . '/Autoload.php';
require_once 'Horde/Test/AllTests.php';
/**
<?php
+/**
+ * Dummy Horde_Browser stub.
+ *
+ * PHP version 5
+ *
+ * @category Horde
+ * @package IMP
+ * @subpackage UnitTests
+ * @author Gunnar Wrobel <wrobel@pardus.de>
+ * @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 <wrobel@pardus.de>
+ * @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)
<?php
+/**
+ * Dummy IMP_Prefs_Identity stub.
+ *
+ * PHP version 5
+ *
+ * @category Horde
+ * @package IMP
+ * @subpackage UnitTests
+ * @author Gunnar Wrobel <wrobel@pardus.de>
+ * @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 <wrobel@pardus.de>
+ * @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';
<?php
+/**
+ * Dummy Horde_Injector stub.
+ *
+ * PHP version 5
+ *
+ * @category Horde
+ * @package IMP
+ * @subpackage UnitTests
+ * @author Gunnar Wrobel <wrobel@pardus.de>
+ * @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 <wrobel@pardus.de>
+ * @license http://www.fsf.org/copyleft/gpl.html GPL
+ * @link http://pear.horde.org/index.php?package=Imp
+ */
class IMP_Stub_Injector
{
private $_mail;
<?php
+/**
+ * Dummy Horde_Prefs stub.
+ *
+ * PHP version 5
+ *
+ * @category Horde
+ * @package IMP
+ * @subpackage UnitTests
+ * @author Gunnar Wrobel <wrobel@pardus.de>
+ * @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 <wrobel@pardus.de>
+ * @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)
<?php
+/**
+ * Dummy Horde_Registry stub.
+ *
+ * PHP version 5
+ *
+ * @category Horde
+ * @package IMP
+ * @subpackage UnitTests
+ * @author Gunnar Wrobel <wrobel@pardus.de>
+ * @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 <wrobel@pardus.de>
+ * @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';
/**
* 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.
$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');
<phpunit>
<filter>
<whitelist>
- <directory suffix=".php">../..</directory>
+ <directory suffix=".php">../../Mime</directory>
</whitelist>
</filter>
</phpunit>