From 2ca27afe365daeb6c3a041bc7da7faa28b0d3416 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Wed, 23 Jun 2010 17:56:56 +0200 Subject: [PATCH] Rename the task test. --- .../Horde/Kolab/Format/Integration/TaskTest.php | 52 ++++++++++++++++++++++ .../test/Horde/Kolab/Format/TaskTest.php | 44 ------------------ 2 files changed, 52 insertions(+), 44 deletions(-) create mode 100644 framework/Kolab_Format/test/Horde/Kolab/Format/Integration/TaskTest.php delete mode 100644 framework/Kolab_Format/test/Horde/Kolab/Format/TaskTest.php diff --git a/framework/Kolab_Format/test/Horde/Kolab/Format/Integration/TaskTest.php b/framework/Kolab_Format/test/Horde/Kolab/Format/Integration/TaskTest.php new file mode 100644 index 000000000..9da55068d --- /dev/null +++ b/framework/Kolab_Format/test/Horde/Kolab/Format/Integration/TaskTest.php @@ -0,0 +1,52 @@ + + * @license http://www.fsf.org/copyleft/lgpl.html LGPL + * @link http://pear.horde.org/index.php?package=Kolab_Format + */ + +/** + * Prepare the test setup. + */ +require_once dirname(__FILE__) . '/../Autoload.php'; + +/** + * Test task handling. + * + * Copyright 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 Kolab + * @package Kolab_Format + * @subpackage UnitTests + * @author Gunnar Wrobel + * @license http://www.fsf.org/copyleft/lgpl.html LGPL + * @link http://pear.horde.org/index.php?package=Kolab_Format + */ +class Horde_Kolab_Format_Integration_TaskTest +extends PHPUnit_Framework_TestCase +{ + + /** + * Test basic task handling + */ + public function testBasicTask() + { + $xml = Horde_Kolab_Format::factory('XML', 'task'); + + // Load XML + $task = file_get_contents(dirname(__FILE__) . '/../fixtures/task.xml'); + $result = $xml->load($task); + // Check that the xml loads fine + $this->assertEquals($result['body'], 'TEST'); + } +} diff --git a/framework/Kolab_Format/test/Horde/Kolab/Format/TaskTest.php b/framework/Kolab_Format/test/Horde/Kolab/Format/TaskTest.php deleted file mode 100644 index 2bc67f1fd..000000000 --- a/framework/Kolab_Format/test/Horde/Kolab/Format/TaskTest.php +++ /dev/null @@ -1,44 +0,0 @@ - - * @package Kolab_Format - */ -class Horde_Kolab_Format_TaskTest extends PHPUnit_Framework_TestCase -{ - - /** - * Test basic task handling - */ - public function testBasicTask() - { - $xml = Horde_Kolab_Format::factory('XML', 'task'); - - // Load XML - $task = file_get_contents(dirname(__FILE__) . '/fixtures/task.xml'); - $result = $xml->load($task); - // Check that the xml loads fine - $this->assertEquals($result['body'], 'TEST'); - } -} -- 2.11.0