diff --git a/lib/Cake/TestSuite/CakeTestCase.php b/lib/Cake/TestSuite/CakeTestCase.php index 5d302707c35..16b4ee57bc0 100644 --- a/lib/Cake/TestSuite/CakeTestCase.php +++ b/lib/Cake/TestSuite/CakeTestCase.php @@ -531,6 +531,7 @@ protected function _arrayPermute($items, $perms = array()) { * @param mixed $result * @param mixed $expected * @param string $message the text to display if the assertion is not correct + * @deprecated This is a compatiblity wrapper for 1.x. It will be removed in 3.0 * @return void */ protected static function assertEqual($result, $expected, $message = '') { @@ -543,6 +544,7 @@ protected static function assertEqual($result, $expected, $message = '') { * @param mixed $result * @param mixed $expected * @param string $message the text to display if the assertion is not correct + * @deprecated This is a compatiblity wrapper for 1.x. It will be removed in 3.0 * @return void */ protected static function assertNotEqual($result, $expected, $message = '') { @@ -555,6 +557,7 @@ protected static function assertNotEqual($result, $expected, $message = '') { * @param mixed $pattern a regular expression * @param string $string the text to be matched * @param string $message the text to display if the assertion is not correct + * @deprecated This is a compatiblity wrapper for 1.x. It will be removed in 3.0 * @return void */ protected static function assertPattern($pattern, $string, $message = '') { @@ -567,6 +570,7 @@ protected static function assertPattern($pattern, $string, $message = '') { * @param mixed $actual * @param mixed $expected * @param string $message the text to display if the assertion is not correct + * @deprecated This is a compatiblity wrapper for 1.x. It will be removed in 3.0 * @return void */ protected static function assertIdentical($actual, $expected, $message = '') { @@ -579,6 +583,7 @@ protected static function assertIdentical($actual, $expected, $message = '') { * @param mixed $actual * @param mixed $expected * @param string $message the text to display if the assertion is not correct + * @deprecated This is a compatiblity wrapper for 1.x. It will be removed in 3.0 * @return void */ protected static function assertNotIdentical($actual, $expected, $message = '') { @@ -591,6 +596,7 @@ protected static function assertNotIdentical($actual, $expected, $message = '') * @param mixed $pattern a regular expression * @param string $string the text to be matched * @param string $message the text to display if the assertion is not correct + * @deprecated This is a compatiblity wrapper for 1.x. It will be removed in 3.0 * @return void */ protected static function assertNoPattern($pattern, $string, $message = '') { @@ -599,6 +605,9 @@ protected static function assertNoPattern($pattern, $string, $message = '') { /** * assert no errors + * + * @deprecated This is a compatiblity wrapper for 1.x. It will be removed in 3.0 + * @return void */ protected function assertNoErrors() { } @@ -608,6 +617,7 @@ protected function assertNoErrors() { * * @param mixed $expected the name of the Exception or error * @param string $message the text to display if the assertion is not correct + * @deprecated This is a compatiblity wrapper for 1.x. It will be removed in 3.0 * @return void */ protected function expectError($expected = false, $message = '') { @@ -622,6 +632,7 @@ protected function expectError($expected = false, $message = '') { * * @param mixed $expected the name of the Exception * @param string $message the text to display if the assertion is not correct + * @deprecated This is a compatiblity wrapper for 1.x. It will be removed in 3.0 * @return void */ protected function expectException($name = 'Exception', $message = '') { @@ -634,6 +645,7 @@ protected function expectException($name = 'Exception', $message = '') { * @param mixed $first * @param mixed $second * @param string $message the text to display if the assertion is not correct + * @deprecated This is a compatiblity wrapper for 1.x. It will be removed in 3.0 * @return void */ protected static function assertReference(&$first, &$second, $message = '') { @@ -646,6 +658,7 @@ protected static function assertReference(&$first, &$second, $message = '') { * @param string $object * @param string $type * @param string $message + * @deprecated This is a compatiblity wrapper for 1.x. It will be removed in 3.0 * @return void */ protected static function assertIsA($object, $type, $message = '') {