|
|
|
@ -45,11 +45,11 @@ class HtmlReporter extends SimpleReporter { |
|
|
|
|
echo '<head>'; |
|
|
|
|
echo '<title>Test Suite</title>'; |
|
|
|
|
echo '</head>'; |
|
|
|
|
echo '<body>'; |
|
|
|
|
echo '<div id="wrapper" style="height:100%;width:100%;clear: both;">';//wrapper |
|
|
|
|
echo '<body style="padding:0px;margin:0px;height:100%;">'; |
|
|
|
|
echo '<div id="wrapper">';//wrapper |
|
|
|
|
echo '<div id="header1">';//header1 |
|
|
|
|
echo '<div id="header3" style="text-align:center;min-height:100px;font-size:25px;background:url(img/header-logo.png) no-repeat left;">';//header3 |
|
|
|
|
echo '<div id="header4" style="float:right;color:#01933E;">';//header4 |
|
|
|
|
echo '<div id="header3" style="height:100px;background:url(img/header-logo.png) no-repeat left;">';//header3 |
|
|
|
|
echo '<div id="header4" style="float:right;font-size:25px;color:#01933E;">';//header4 |
|
|
|
|
echo ''. date('Y - m - d').''; |
|
|
|
|
echo '</div>';//fin header 4 |
|
|
|
|
echo '</div>';//fin header 3 |
|
|
|
@ -109,7 +109,7 @@ class HtmlReporter extends SimpleReporter { |
|
|
|
|
*/ |
|
|
|
|
function paintFooter($test_name) { |
|
|
|
|
$colour = ($this->getFailCount() + $this->getExceptionCount() > 0 ? "red" : "green"); |
|
|
|
|
echo '<div id="header5" style="height: 100%; padding: 8px;background-color:#EFEFEF;border:1px solid #4171B5; margin-top: 1em;color:#00407F;font-size:15px;font-family:Tahoma,Geneva,sans-serif;font-weight:bold;">';//header 5 |
|
|
|
|
echo '<div id="header5" style="background-color:#EFEFEF;border:1px solid #4171B5; margin-top: 1em;color:#00407F;font-size:15px;font-family:Tahoma,Geneva,sans-serif;font-weight:bold;">';//header 5 |
|
|
|
|
echo ' Test cases complete: '; |
|
|
|
|
echo $this->getTestCaseProgress() . '/' . $this->getTestCaseCount().'<br/><br/>'; |
|
|
|
|
echo 'Passes: ' . $this->getPassCount() . ' '; |
|
|
|
@ -117,7 +117,7 @@ class HtmlReporter extends SimpleReporter { |
|
|
|
|
echo 'Exceptions: ' . $this->getExceptionCount() . ' '; |
|
|
|
|
echo '</div>';//fin header5 |
|
|
|
|
echo '</div>';//fin wrapper |
|
|
|
|
echo '<div id="footer1" style= "margin-right:5%;padding-top:60px;height: 8em;clear: both; line-height: 0px;background-image:url(img/bg-footer.gif);background-repeat:repeat-x ">'; |
|
|
|
|
echo '<div id="footer1" style= "height: 8em;background-image:url(img/bg-footer.gif);background-repeat:repeat-x ">'; |
|
|
|
|
echo '</div>';//fin footer 1,2 |
|
|
|
|
echo '</body>'; |
|
|
|
|
echo '</html>'; |
|
|
|
|