blob: 30e0b9a4529eba5083a37823839de3e1d7469fbc [file] [log] [blame]
ndai91f5c9b2006-03-12 13:56:45 +00001<html>
2<head>
3
4<?php
david_williams9e7f5842011-03-06 03:32:03 +00005 $parts = explode("/", getcwd());
6 $parts2 = explode("-", $parts[count($parts) - 1]);
7 $buildName = $parts2[1];
8
9 echo "<title>Test Results for $buildName </title>";
ndai91f5c9b2006-03-12 13:56:45 +000010?>
11
12<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
tle170c7902008-10-02 03:15:49 +000013
14<style>
15.bold, .bold TD, .bold TH, .bold TR
16{
17font-weight:bold;
18}
19.numeric, .numeric TD
20{
21text-align:right;
22padding-right:2em;
23}
24.normaltable, .normaltable TD, .normaltable TH
25{
26font-family:Bitstream Vera Sans Mono, monospace;
27font-size:0.9em;
28color:Black;
29background-color:White;
30}
31.errorltable, .errortable TD, .errortable TH
32{
33font-family:Bitstream Vera Sans Mono, monospace;
34font-size:0.9em;
35color:Black;
36background-color:Red;
37font-weight:Bold;
38}
39.warningtable, .warningtable TD, .warningtable TH
40{
41font-family:Bitstream Vera Sans Mono, monospace;
42font-size:0.9em;
43color:Black;
44background-color:khaki;
45}
46.extraWarningTable, .extraWarningTable TD, .extraWarningTable TH
47{
48font-family:Bitstream Vera Sans Mono, monospace;
49font-size:0.9em;
50color:Black;
51background-color:Yellow;
52
53}
54</style>
55
56
ndai91f5c9b2006-03-12 13:56:45 +000057</head>
58<body>
59<p><b><font face="Verdana" size="+3">Test Results</font></b> </p>
60
61<table border=0 cellspacing=5 cellpadding=2 width="100%" >
62 <tr>
63 <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
david_williamsbc583e92006-10-25 06:08:40 +000064 Unit Test Results for <?php echo "$buildName"; ?> on Various Platforms and JRE</font></b></td>
ndai91f5c9b2006-03-12 13:56:45 +000065 </tr>
66</table>
67
68<?php
tle170c7902008-10-02 03:15:49 +000069if (file_exists("testResults"))
70{
ndai91f5c9b2006-03-12 13:56:45 +000071$dir = dir("testResults");
72while ($anEntry = $dir->read())
73{
74 if ($anEntry != "." && $anEntry != ".." && $anEntry != "consolelogs" && $anEntry != "html" && $anEntry != "xml")
75 {
76 $link = "testResults/".$anEntry."/results/index.php";
77 echo "<p><a href=\"$link\">$anEntry</a></p>";
78 }
79}
tle170c7902008-10-02 03:15:49 +000080}
ndai91f5c9b2006-03-12 13:56:45 +000081?>
82
83<table border=0 cellspacing=5 cellpadding=2 width="100%" >
84 <tr>
85 <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Unit
david_williamsbc583e92006-10-25 06:08:40 +000086 Test Results for <?php echo "$buildName"; ?> </font></b></td>
ndai91f5c9b2006-03-12 13:56:45 +000087 </tr>
88</table>
ndai91f5c9b2006-03-12 13:56:45 +000089
tle170c7902008-10-02 03:15:49 +000090<table id=tableunittestdata align = "center" width="75%" border="1">
ndai91f5c9b2006-03-12 13:56:45 +000091 <tr>
tle170c7902008-10-02 03:15:49 +000092 <td class="bold" align="center" width="70%">Test Suite</td>
93 <td class="bold" align="center" width="10%">Errors &amp; Failures</td>
94 <td class="bold" align="center" width="10%">Total Tests</td>
95 <td class="bold" align="center" width="10%">Total Time (s)</td>
ndai91f5c9b2006-03-12 13:56:45 +000096 </tr>
david_williams9e7f5842011-03-06 03:32:03 +000097
98
ndai91f5c9b2006-03-12 13:56:45 +000099 %testresults%
david_williams9e7f5842011-03-06 03:32:03 +0000100
ndai91f5c9b2006-03-12 13:56:45 +0000101</table>
102<p></p>
103<br>
104<table border=0 cellspacing=5 cellpadding=2 width="100%" >
105 <tr>
106 <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
107 Console output logs
david_williamsbc583e92006-10-25 06:08:40 +0000108 <?php echo "$buildName"; ?>
ndai91f5c9b2006-03-12 13:56:45 +0000109 </font></b></td>
110 </tr>
111</table>
112<br>
113These <a href="consoleLogs.php">logs</a> contain the console output captured while
114running the JUnit automated tests. <br>
115<br>
ndai91f5c9b2006-03-12 13:56:45 +0000116
ndai91f5c9b2006-03-12 13:56:45 +0000117
118</body>
119</html>