Skip to content

Commit

Permalink
Fixing a group test case to show how to create one, and to make pass …
Browse files Browse the repository at this point in the history
…TestManager test case
  • Loading branch information
lorenzo committed May 5, 2010
1 parent fd4a82d commit b53d21f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cake/tests/cases/libs/view/helpers/xml.test.php
Expand Up @@ -28,7 +28,7 @@
* @package cake
* @subpackage cake.tests.cases.libs.view.helpers
*/
class TestXml extends Object {
class TestXmlHelper extends Object {

/**
* content property
Expand Down
6 changes: 3 additions & 3 deletions cake/tests/groups/xml.group.php
Expand Up @@ -26,7 +26,7 @@
* @package cake
* @subpackage cake.tests.groups
*/
class XmlGroupTest extends TestSuite {
class XmlGroupTest extends PHPUnit_Framework_TestSuite {

/**
* label property
Expand All @@ -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');
Expand Down

0 comments on commit b53d21f

Please sign in to comment.