Skip to content
Permalink
Browse files

Fixing a group test case to show how to create one, and to make pass …

…TestManager test case
  • Loading branch information...
lorenzo committed May 5, 2010
1 parent fd4a82d commit b53d21ff523a0021f7dc78c6cc451b9f33f4c259
Showing with 4 additions and 4 deletions.
  1. +1 −1 cake/tests/cases/libs/view/helpers/xml.test.php
  2. +3 −3 cake/tests/groups/xml.group.php
@@ -28,7 +28,7 @@
* @package cake
* @subpackage cake.tests.cases.libs.view.helpers
*/
class TestXml extends Object {
class TestXmlHelper extends Object {
/**
* content property
@@ -26,7 +26,7 @@
* @package cake
* @subpackage cake.tests.groups
*/
class XmlGroupTest extends TestSuite {
class XmlGroupTest extends PHPUnit_Framework_TestSuite {
/**
* label property
@@ -37,12 +37,12 @@ class XmlGroupTest extends TestSuite {
public $label = 'Xml based classes (Xml, XmlHelper and RssHelper)';
/**
* XmlGroupTest method
* __construct method
*
* @access public
* @return void
*/
function XmlGroupTest() {
function __construct() {
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'xml');
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helpers' . DS .'rss');
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helpers' . DS .'xml');

0 comments on commit b53d21f

Please sign in to comment.
You can’t perform that action at this time.