Skip to content

Commit

Permalink
Updating doc blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jan 6, 2010
1 parent faafe5a commit f228990
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions cake/tests/lib/reporter/cake_base_reporter.php
Expand Up @@ -83,6 +83,7 @@ function paintGroupEnd($test_name) {
* but in a separate function to reduce dependancies.
*
* @return float Time in microseconds
* @access protected
*/
function _getTime() {
list($usec, $sec) = explode(' ', microtime());
Expand Down
12 changes: 10 additions & 2 deletions cake/tests/lib/reporter/cake_html_reporter.php
Expand Up @@ -87,6 +87,7 @@ function CakeHtmlReporter($character_set = 'ISO-8859-1') {
* title to the name of the starting test.
*
* @param string $test_name Name class of test.
* @return void
* @access public
*/
function paintHeader($testName) {
Expand All @@ -100,8 +101,8 @@ function paintHeader($testName) {
* reloaded on every request. Otherwise you could be
* scratching your head over out of date test data.
*
* @return void
* @access public
* @static
*/
function sendNoCacheHeaders() {
if (!headers_sent()) {
Expand All @@ -118,6 +119,7 @@ function sendNoCacheHeaders() {
* the passes and failures.
*
* @param string $test_name Name class of test.
* @return void
* @access public
*/
function paintFooter($test_name) {
Expand Down Expand Up @@ -147,6 +149,7 @@ function paintFooter($test_name) {
*
* @param string $message Failure message displayed in
* the context of the other tests.
* @return void
* @access public
*/
function paintFail($message) {
Expand All @@ -166,6 +169,7 @@ function paintFail($message) {
* top level test.
*
* @param string $message Pass message displayed in the context of the other tests.
* @return void
* @access public
*/
function paintPass($message) {
Expand All @@ -186,6 +190,7 @@ function paintPass($message) {
* Paints a PHP error.
*
* @param string $message Message is ignored.
* @return void
* @access public
*/
function paintError($message) {
Expand All @@ -203,6 +208,7 @@ function paintError($message) {
* Paints a PHP exception.
*
* @param Exception $exception Exception to display.
* @return void
* @access public
*/
function paintException($exception) {
Expand All @@ -223,7 +229,8 @@ function paintException($exception) {
/**
* Prints the message for skipping tests.
*
* @param string $message Text of skip condition.
* @param string $message Text of skip condition.
* @return void
* @access public
*/
function paintSkip($message) {
Expand All @@ -238,6 +245,7 @@ function paintSkip($message) {
* Paints formatted text such as dumped variables.
*
* @param string $message Text to show.
* @return void
* @access public
*/
function paintFormattedMessage($message) {
Expand Down
7 changes: 7 additions & 0 deletions cake/tests/lib/reporter/cake_text_reporter.php
Expand Up @@ -31,6 +31,7 @@ class CakeTextReporter extends CakeBaseReporter {
* the passes and failures.
*
* @param string $test_name Name class of test.
* @return void
* @access public
*/
function paintFooter($test_name) {
Expand All @@ -54,6 +55,7 @@ function paintFooter($test_name) {
* Paints the title only.
*
* @param string $test_name Name class of test.
* @return void
* @access public
*/
function paintHeader($test_name) {
Expand All @@ -69,6 +71,7 @@ function paintHeader($test_name) {
*
* @param string $message Failure message displayed in
* the context of the other tests.
* @return void
* @access public
*/
function paintFail($message) {
Expand All @@ -84,6 +87,7 @@ function paintFail($message) {
* Paints a PHP error.
*
* @param string $message Message to be shown.
* @return void
* @access public
*/
function paintError($message) {
Expand All @@ -99,6 +103,7 @@ function paintError($message) {
* Paints a PHP exception.
*
* @param Exception $exception Exception to describe.
* @return void
* @access public
*/
function paintException($exception) {
Expand All @@ -118,6 +123,7 @@ function paintException($exception) {
* Prints the message for skipping tests.
*
* @param string $message Text of skip condition.
* @return void
* @access public
*/
function paintSkip($message) {
Expand All @@ -129,6 +135,7 @@ function paintSkip($message) {
* Paints formatted text such as dumped variables.
*
* @param string $message Text to show.
* @return void
* @access public
*/
function paintFormattedMessage($message) {
Expand Down

0 comments on commit f228990

Please sign in to comment.