From 8db7c5195b08aa91be6d7933282637d3dede578f Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Thu, 13 Jan 2011 16:25:11 +0100 Subject: [PATCH] Stubs for the Kolab tests. --- .../Share/test/Horde/Share/Kolab/MockTest.php | 44 ++++++++++++++++++++++ .../Share/test/Horde/Share/Kolab/UnitTest.php | 43 +++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 framework/Share/test/Horde/Share/Kolab/MockTest.php create mode 100644 framework/Share/test/Horde/Share/Kolab/UnitTest.php diff --git a/framework/Share/test/Horde/Share/Kolab/MockTest.php b/framework/Share/test/Horde/Share/Kolab/MockTest.php new file mode 100644 index 000000000..80da0ce04 --- /dev/null +++ b/framework/Share/test/Horde/Share/Kolab/MockTest.php @@ -0,0 +1,44 @@ + + * @license http://www.fsf.org/copyleft/lgpl.html LGPL + * @link http://pear.horde.org/index.php?package=Share + */ + +/** + * Prepare the test setup. + */ +require_once dirname(__FILE__) . '/../Base.php'; + +/** + * Integration test for the Kolab driver based on the in-memory mock driver. + * + * Copyright 2011 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 Share + * @subpackage UnitTests + * @author Gunnar Wrobel + * @license http://www.fsf.org/copyleft/lgpl.html LGPL + * @link http://pear.horde.org/index.php?package=Share + */ +class Horde_Share_Kolab_MockTest extends Horde_Share_Test_Base +{ + public static function setUpBeforeClass() + { + $group = new Horde_Group_Test(); + self::$share = new Horde_Share_Kolab('test', 'john', new Horde_Perms(), $group); + } + + +} \ No newline at end of file diff --git a/framework/Share/test/Horde/Share/Kolab/UnitTest.php b/framework/Share/test/Horde/Share/Kolab/UnitTest.php new file mode 100644 index 000000000..74bb917e6 --- /dev/null +++ b/framework/Share/test/Horde/Share/Kolab/UnitTest.php @@ -0,0 +1,43 @@ + + * @license http://www.fsf.org/copyleft/lgpl.html LGPL + * @link http://pear.horde.org/index.php?package=Share + */ + +/** + * Prepare the test setup. + */ +require_once dirname(__FILE__) . '/../Autoload.php'; + +/** + * Unit testing for the Kolab driver. + * + * Copyright 2011 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 Share + * @subpackage UnitTests + * @author Gunnar Wrobel + * @license http://www.fsf.org/copyleft/lgpl.html LGPL + * @link http://pear.horde.org/index.php?package=Share + */ +class Horde_Share_Kolab_UnitTest +extends PHPUnit_Framework_TestCase +{ + + public function test() + { + } + +} \ No newline at end of file -- 2.11.0