1402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<html>
2402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<head>
3402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
4402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<?php
5402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll	$parts = explode("/", getcwd());
6402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll	$parts2 = explode("-", $parts[count($parts) - 1]);
7402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll	$buildName = $parts2[1];
8402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
9402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll	// Get build type names
10402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
11402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll	$fileHandle = fopen("/dlconfig.txt", "r");
12402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll	while (!feof($fileHandle)) {
13402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
14402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll		$aLine = fgets($fileHandle, 4096); // Length parameter only optional after 4.2.0
15402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll		$parts = explode(",", $aLine);
16402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll		$dropNames[trim($parts[0])] = trim($parts[1]);
17402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll 	}
18402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll	fclose($fileHandle);
19402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
20402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll	$buildType = $dropNames[$parts2[0]];
21402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
22402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll	echo "<title>Test Results for $buildType $buildName </title>";
23402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll?>
24402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
25402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
26402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
27402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll</head>
28402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<body>
29402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<p><b><font face="Verdana" size="+3">Test Results</font></b> </p>
30402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<table border=0 cellspacing=5 cellpadding=2 width="100%" >
31402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll  <tr>
32402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll    <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Unit
33402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll      Test Results for <?php echo "$buildType $buildName"; ?> </font></b></td>
34402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll  </tr>
35402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll</table>
36402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<p></p><table border="0">
37402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll</table>
38402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
39402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<table width="77%" border="1">
40402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll  <tr>
41402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll    <td width="81%"><b>Tests Performed</b></td>
42402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll    <td width="19%"><b>Errors &amp; Failures</b></td>
43402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll  </tr>
44402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
45402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll  %testresults%
46402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
47402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll</table>
48402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<p></p>
49402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<br>
50402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<table border=0 cellspacing=5 cellpadding=2 width="100%" >
51402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll  <tr>
52402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll    <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
53402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll      Console output logs
54402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll      <?php echo "$buildType $buildName"; ?>
55402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll      </font></b></td>
56402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll  </tr>
57402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll</table>
58402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<br>
59402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael MollThese <a href="consoleLogs.php">logs</a> contain the console output captured while
60402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Mollrunning the JUnit automated tests. <br>
61402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<br>
62402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<table border=0 cellspacing=5 cellpadding=2 width="100%" >
63402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll  <tr>
64402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll    <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Plugins
65402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll      containing compile errors </font></b></td>
66402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll  </tr>
67402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll</table>
68402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
69402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<table width="77%" border="1">
70402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll  <tr>
71402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll    <td><b>Compile Logs (Jar Files)</b></td>
72402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll    <td><b>Errors</b></td>
73402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll    <td><b>Warnings</b></td>
74402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll  </tr>
75402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
76402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll  %compilelogs%
77402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
78402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll</table>
79402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
80402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll<table width="77%" border="1">
81402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll  <tr>
82402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll    <td><b>Compile Logs (Jar Files)</b></td>
83402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll    <td><b>Forbidden Access Warnings</b></td>
84402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll    <td><b>Discouraged Access Warnings</b></td>
85402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll  </tr>
86402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
87402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll  %accesseslogs%
88402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
89402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll</table>
90402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll
91402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll</body>
92402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll</html>
93