blob: ddad0b782bcb23d0a2994168942a98306cfa7524 [file] [log] [blame]
david_williams2e87efa2008-09-01 02:56:08 +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>
david_williams13e2a2c2009-11-14 08:06:12 +000093 <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>
david_williams2e87efa2008-09-01 02:56:08 +000096 </tr>
97
98
99 %testresults%
100
101</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
108 <?php echo "$buildName"; ?>
109 </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>
116
117
118</body>
119</html>