From: Gunnar Wrobel
Date: Wed, 23 Jun 2010 15:56:56 +0000 (+0200)
Subject: Rename the task test.
X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2ca27afe365daeb6c3a041bc7da7faa28b0d3416;p=horde.git
Rename the task test.
---
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');
- }
-}