Removing test method for testing inclusion of "test groups", as we're dropping supoort in TestManager to load groups in favor of composing test suites in phpunit

This commit is contained in:
José Lorenzo Rodríguez Urdaneta 2010-06-24 10:36:16 -04:30
parent 10c0494b92
commit bd02a2b2b6

View file

@ -122,23 +122,6 @@ class TestManagerTest extends CakeTestCase {
$this->assertType('PHPUnit_Framework_TestResult', $result);
}
/**
* testRunGroupTest method
*
* @return void
*/
public function testRunGroupTest() {
$groups = $this->_getAllTestFiles(CORE_TEST_GROUPS, 'group');
if (empty($groups)) {
$this->markTestSkipped('No test group files');
return;
}
list($groupFile,) = explode('.', array_pop($groups), 2);
$result = $this->TestManager->runGroupTest($groupFile, $this->Reporter);
$this->assertGreaterThan(0, $this->_countFiles);
$this->assertType('PHPUnit_Framework_TestResult', $result);
}
/**
* testAddTestCasesFromDirectory method
*