Rename the task test.
authorGunnar Wrobel <p@rdus.de>
Wed, 23 Jun 2010 15:56:56 +0000 (17:56 +0200)
committerGunnar Wrobel <wrobel@temple.(none)>
Wed, 23 Jun 2010 17:29:54 +0000 (19:29 +0200)
framework/Kolab_Format/test/Horde/Kolab/Format/Integration/TaskTest.php [new file with mode: 0644]
framework/Kolab_Format/test/Horde/Kolab/Format/TaskTest.php [deleted file]

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 (file)
index 0000000..9da5506
--- /dev/null
@@ -0,0 +1,52 @@
+<?php
+/**
+ * Test task handling within the Kolab format implementation.
+ *
+ * PHP version 5
+ *
+ * @category   Kolab
+ * @package    Kolab_Format
+ * @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=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 <wrobel@pardus.de>
+ * @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 (file)
index 2bc67f1..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<?php
-/**
- * Test task handling within the Kolab format implementation.
- *
- * $Horde: framework/Kolab_Format/test/Horde/Kolab/Format/TaskTest.php,v 1.1.2.1 2009/04/02 20:14:52 wrobel Exp $
- *
- * @package Kolab_Format
- */
-
-/**
- * The Autoloader allows us to omit "require/include" statements.
- */
-require_once 'Horde/Autoloader.php';
-
-/**
- * Test task handling.
- *
- * $Horde: framework/Kolab_Format/test/Horde/Kolab/Format/TaskTest.php,v 1.1.2.1 2009/04/02 20:14:52 wrobel Exp $
- *
- * Copyright 2007-2009 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.
- *
- * @author  Gunnar Wrobel <wrobel@pardus.de>
- * @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');
-    }
-}