Updating method names and doc blocks in model.test. Closes #5516

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7704 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2008-10-05 22:26:40 +00:00
parent 3ddc5e6be2
commit a5feed0284

View file

@ -1038,7 +1038,7 @@ class ModelTest extends CakeTestCase {
// $this->assertTrue(empty($result)); // $this->assertTrue(empty($result));
} }
/** /**
* testFindAll method * test find('all') method
* *
* @access public * @access public
* @return void * @return void
@ -1134,12 +1134,12 @@ class ModelTest extends CakeTestCase {
} }
} }
/** /**
* testGenerateList method * test find('list') method
* *
* @access public * @access public
* @return void * @return void
*/ */
function testGenerateList() { function testGenerateFindList() {
$this->loadFixtures('Article', 'Apple', 'Post', 'Author', 'User'); $this->loadFixtures('Article', 'Apple', 'Post', 'Author', 'User');
$TestModel =& new Article(); $TestModel =& new Article();
@ -1560,7 +1560,7 @@ class ModelTest extends CakeTestCase {
$this->assertEqual($result, $expected); $this->assertEqual($result, $expected);
} }
/** /**
* testFindCount method * test find('count'') method
* *
* @access public * @access public
* @return void * @return void
@ -4036,12 +4036,12 @@ class ModelTest extends CakeTestCase {
$this->assertEqual($result, $expected); $this->assertEqual($result, $expected);
} }
/** /**
* testFindNeighbours method * test find('neighbors')
* *
* @return void * @return void
* @access public * @access public
*/ */
function testFindNeighbours() { function testFindNeighbors() {
$this->loadFixtures('User', 'Article'); $this->loadFixtures('User', 'Article');
$TestModel =& new Article(); $TestModel =& new Article();
@ -4171,7 +4171,7 @@ class ModelTest extends CakeTestCase {
$this->assertEqual($result, $expected); $this->assertEqual($result, $expected);
} }
/** /**
* testFindNeighboursLegacy method * test findNeighbours() method
* *
* @return void * @return void
* @access public * @access public