mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Removing indents from comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4864 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
a053a1aa7c
commit
a152849bde
1 changed files with 85 additions and 85 deletions
|
@ -36,14 +36,14 @@ vendor('simpletest'.DS.'unit_tester');
|
|||
* @subpackage cake.cake.tests.lib
|
||||
*/
|
||||
class CakeTestCase extends UnitTestCase {
|
||||
/**
|
||||
/**
|
||||
* Methods used internally.
|
||||
*
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
var $methods = array('start', 'end', 'startcase', 'endcase', 'starttest', 'endtest');
|
||||
/**
|
||||
/**
|
||||
* Called when a test case (group of methods) is about to start (to be overriden when needed.)
|
||||
*
|
||||
* @param string $method Test method about to get executed.
|
||||
|
@ -52,7 +52,7 @@ class CakeTestCase extends UnitTestCase {
|
|||
*/
|
||||
function startCase() {
|
||||
}
|
||||
/**
|
||||
/**
|
||||
* Called when a test case (group of methods) has been executed (to be overriden when needed.)
|
||||
*
|
||||
* @param string $method Test method about that was executed.
|
||||
|
@ -61,7 +61,7 @@ class CakeTestCase extends UnitTestCase {
|
|||
*/
|
||||
function endCase() {
|
||||
}
|
||||
/**
|
||||
/**
|
||||
* Called when a test case method is about to start (to be overriden when needed.)
|
||||
*
|
||||
* @param string $method Test method about to get executed.
|
||||
|
@ -70,7 +70,7 @@ class CakeTestCase extends UnitTestCase {
|
|||
*/
|
||||
function startTest($method) {
|
||||
}
|
||||
/**
|
||||
/**
|
||||
* Called when a test case method has been executed (to be overriden when needed.)
|
||||
*
|
||||
* @param string $method Test method about that was executed.
|
||||
|
@ -79,7 +79,7 @@ class CakeTestCase extends UnitTestCase {
|
|||
*/
|
||||
function endTest($method) {
|
||||
}
|
||||
/**
|
||||
/**
|
||||
* Executes a Cake URL, optionally getting the view rendering or what is returned
|
||||
* when params['requested'] is set.
|
||||
*
|
||||
|
@ -111,7 +111,7 @@ class CakeTestCase extends UnitTestCase {
|
|||
|
||||
return @Object::requestAction($url, $params);
|
||||
}
|
||||
/**
|
||||
/**
|
||||
* Announces the start of a test.
|
||||
*
|
||||
* @param string $method Test method just started.
|
||||
|
@ -170,7 +170,7 @@ class CakeTestCase extends UnitTestCase {
|
|||
$this->startTest($method);
|
||||
}
|
||||
}
|
||||
/**
|
||||
/**
|
||||
* Runs as first test to create tables.
|
||||
*
|
||||
* @access public
|
||||
|
@ -186,7 +186,7 @@ class CakeTestCase extends UnitTestCase {
|
|||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
/**
|
||||
* Runs as last test to drop tables.
|
||||
*
|
||||
* @access public
|
||||
|
@ -202,7 +202,7 @@ class CakeTestCase extends UnitTestCase {
|
|||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
/**
|
||||
* Announces the end of a test.
|
||||
*
|
||||
* @param string $method Test method just finished.
|
||||
|
@ -226,7 +226,7 @@ class CakeTestCase extends UnitTestCase {
|
|||
|
||||
parent::after($method);
|
||||
}
|
||||
/**
|
||||
/**
|
||||
* Gets a list of test names. Normally that will be all internal methods that start with the
|
||||
* name "test". This method should be overridden if you want a different rule.
|
||||
*
|
||||
|
@ -234,12 +234,12 @@ class CakeTestCase extends UnitTestCase {
|
|||
*
|
||||
* @access public
|
||||
*/
|
||||
function getTests() {
|
||||
function getTests() {
|
||||
$methods = am(am(array('start', 'startCase'), parent::getTests()), array('endCase', 'end'));
|
||||
|
||||
return $methods;
|
||||
}
|
||||
/**
|
||||
/**
|
||||
* Load fixtures specified in var $fixtures.
|
||||
*
|
||||
* @access private
|
||||
|
|
Loading…
Add table
Reference in a new issue