blob: 2f2fba8fc8ccd05dbd0ab78fef2c4b41f120b15f [file] [log] [blame]
david_williams26f3a5f2008-03-07 22:56:23 +00001<html>
2<head>
3
4<?php
5 $parts = explode("/", getcwd());
6 $parts2 = explode("-", $parts[count($parts) - 1]);
7 $buildName = $parts2[1];
8
9 echo "<title>Test Results for $buildName </title>";
10?>
11
12<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
13
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
57</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">
64 Unit Test Results for <?php echo "$buildName"; ?> on Various Platforms and JRE</font></b></td>
65 </tr>
66</table>
67
68<?php
69if (file_exists("testResults"))
70{
71$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}
80}
81?>
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
86 Test Results for <?php echo "$buildName"; ?> </font></b></td>
87 </tr>
88</table>
89
90<table id=tableunittestdata align = "center" width="75%" border="1">
91 <tr>
92 <td class="bold" align="center" width="70%">Test Suite</td>
93 <td class="bold" align="center" width="15%">Errors &amp; Failures</td>
94 <td class="bold" align="center" width="15%">Total Tests</td>
95 </tr>
96
97
98 %testresults%
99
100</table>
101<p></p>
102<br>
103<table border=0 cellspacing=5 cellpadding=2 width="100%" >
104 <tr>
105 <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
106 Console output logs
107 <?php echo "$buildName"; ?>
108 </font></b></td>
109 </tr>
110</table>
111<br>
112These <a href="consoleLogs.php">logs</a> contain the console output captured while
113running the JUnit automated tests. <br>
114<br>
115
116
117</body>
118</html>