Skip to content

Commit

Permalink
Removing test method for testing inclusion of "test groups", as we're…
Browse files Browse the repository at this point in the history
… dropping supoort in TestManager to load groups in favor of composing test suites in phpunit
  • Loading branch information
lorenzo committed Jun 24, 2010
1 parent 10c0494 commit bd02a2b
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions cake/tests/cases/libs/test_manager.test.php
Expand Up @@ -122,23 +122,6 @@ public function testRunTestCase() {
$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
*
Expand Down

0 comments on commit bd02a2b

Please sign in to comment.