From d29218be6eaf931c8592ed0daa971871cbec7442 Mon Sep 17 00:00:00 2001 From: Arthur Portugal Date: Fri, 22 Jan 2010 16:51:31 -0500 Subject: [PATCH] Added a header CT#191 --- tests/simpletest/reporter.php | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/tests/simpletest/reporter.php b/tests/simpletest/reporter.php index f2c97d6d86..baf3875e12 100755 --- a/tests/simpletest/reporter.php +++ b/tests/simpletest/reporter.php @@ -41,14 +41,34 @@ class HtmlReporter extends SimpleReporter { function paintHeader($test_name) { $this->sendNoCacheHeaders(); print ""; - print "\n\nhuachin!!\n"; + print "\n\nTest Suite\n"; print "\n"; print "\n"; print "\n\n"; - print "

Probando codigo de Dokeos!

\n"; + + echo '
'; + echo '
'; + echo ''. date('Y - m - d').''; + echo '
'; + echo '
'; + echo '
'; + echo '
'; + echo '
+

These results showing how many functions has been tested in the code of chamilo 1.8.6.2

+
+

This page showing the kind results different than have been tested and showing the lines the problems.

+
  1. This results show the amount of the tests than have been tested.
  2. +
  3. This results show the amount of the tests than have passed.
  4. +
  5. This results show the amount of the tests than have failed.
  6. +
  7. This results show the amount of exceptions in the tests.
+

You can always find more information about simpletest on the website: http://www.lastcraft.com

+

"Only a well software like Chamilo, is perfect when has been tested by excellent The Testing Engineers".

+
+
'; + echo '
'; flush(); } @@ -78,6 +98,7 @@ class HtmlReporter extends SimpleReporter { return ".fail { background-color: inherit; color: red; }" . ".pass { background-color: inherit; color: green; }" . " pre { background-color: lightgray; color: inherit; }"; + } /** @@ -98,6 +119,12 @@ class HtmlReporter extends SimpleReporter { print "" . $this->getExceptionCount() . " exceptions."; print "
\n"; print "\n\n"; + echo '
'; + + + //padding-top:60px; + //margin-right:5%; + } /**