1<html>
2<head>
3
4<?php
5	$parts = explode("/", getcwd());
6	$parts2 = explode("-", $parts[count($parts) - 1]);
7	$buildName = $parts2[1];
8
9	// Get build type names
10
11	$fileHandle = fopen("../../dlconfig.txt", "r");
12	while (!feof($fileHandle)) {
13
14		$aLine = fgets($fileHandle, 4096); // Length parameter only optional after 4.2.0
15		$parts = explode(",", $aLine);
16		$dropNames[trim($parts[0])] = trim($parts[1]);
17 	}
18	fclose($fileHandle);
19
20	$buildType = $dropNames[$parts2[0]];
21
22	echo "<title>Test Results for $buildType $buildName </title>";
23?>
24
25<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
26<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
27</head>
28<body>
29<p><b><font face="Verdana" size="+3">Test Results</font></b> </p>
30<table border=0 cellspacing=5 cellpadding=2 width="100%" >
31  <tr>
32    <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Unit
33      Test Results for <?php echo "$buildType $buildName"; ?> </font></b></td>
34  </tr>
35</table>
36<p></p><table border="0">
37</table>
38
39<table width="77%" border="1">
40  <tr>
41    <td width="81%"><b>Tests Performed</b></td>
42    <td width="19%"><b>Errors &amp; Failures</b></td>
43  </tr>
44
45  %testresults%
46
47</table>
48<p></p>
49<br>
50<table border=0 cellspacing=5 cellpadding=2 width="100%" >
51  <tr>
52    <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
53      Console output logs
54      <?php echo "$buildType $buildName"; ?>
55      </font></b></td>
56  </tr>
57</table>
58<br>
59These <a href="consoleLogs.php">logs</a> contain the console output captured while
60running the JUnit automated tests. <br>
61<br>
62<table border=0 cellspacing=5 cellpadding=2 width="100%" >
63  <tr>
64    <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Plugins
65      containing compile errors </font></b></td>
66  </tr>
67</table>
68
69<table width="77%" border="1">
70  <tr>
71    <td><b>Compile Logs (Jar Files)</b></td>
72    <td><b>Errors</b></td>
73    <td><b>Warnings</b></td>
74  </tr>
75
76  %compilelogs%
77
78</table>
79
80<table width="77%" border="1">
81  <tr>
82    <td><b>Compile Logs (Jar Files)</b></td>
83    <td><b>Forbidden Access Warnings</b></td>
84    <td><b>Discouraged Access Warnings</b></td>
85  </tr>
86
87  %accesseslogs%
88
89</table>
90
91</body>
92</html>
93