 <cfif !isStruct(testresults)>
 	<cfoutput><p>No tests found.</p></cfoutput>
 <cfelse>
-<cfset linkParams = "view=tests&type=#params.type#">
+<cfset linkParams = "?controller=wheels&action=wheels&view=tests&type=#params.type#">
 <style type="text/css">
 #content a {text-decoration:none; font-weight:bold;}
 .failed {color:red;font-weight:bold}

<tr><th>Package</th><th>Test Name</th><th>Time</th><th>Status</th></tr>
<cfloop from="1" to="#arrayLen(testresults.results)#" index="testIndex">
	<tr>
		<td>#linkTo(params=linkParams & "&package=#testresults.results[testIndex].packageName#", text="#testresults.results[testIndex].cleanTestCase#")#</td>
		<td>#linkTo(params=linkParams & "&package=#testresults.results[testIndex].packageName#&test=#testresults.results[testIndex].testName#", text="#testresults.results[testIndex].cleanTestName#")#</td>
		<td class="n">#testresults.results[testIndex].time#</td>
		<td class="<cfif testresults.results[testIndex].status eq 'Success'>success<cfelse>failed</cfif>">#testresults.results[testIndex].status#</td>
	</tr>

			<cfset a = ListToArray(testresults.summary[testIndex].packageName, ".")>
			<cfset b = createObject("java", "java.util.ArrayList").Init(a)>
			<cfset c = arraylen(a)>
			<cfloop from="1" to="#c#" index="i"><a href="#linkParams#&package=#ArrayToList(b.subList(JavaCast('int', 0), JavaCast('int', i)), '.')#">#a[i]#</a><cfif i neq c>.</cfif></cfloop>
		</td>
		<td class="n">#testresults.summary[testIndex].numTests#</td>
		<td class="n<cfif testresults.summary[testIndex].numFailures neq 0> failed</cfif>">#testresults.summary[testIndex].numFailures#</td>
