From 3ad81af8c11d70e2cae4f7140e86d1cec1e02609 Mon Sep 17 00:00:00 2001 From: Andrew John Hughes Date: Wed, 11 May 2011 14:56:32 +0100 Subject: Reverting unapproved change 235:114a981d3552 --- tests/report-styles/index.html.in | 25 ----- tests/report-styles/index.js | 67 ------------ tests/report-styles/jreport.xsl | 215 -------------------------------------- tests/report-styles/report.css | 21 ---- 4 files changed, 328 deletions(-) delete mode 100644 tests/report-styles/index.html.in delete mode 100644 tests/report-styles/index.js delete mode 100644 tests/report-styles/jreport.xsl delete mode 100644 tests/report-styles/report.css (limited to 'tests/report-styles') diff --git a/tests/report-styles/index.html.in b/tests/report-styles/index.html.in deleted file mode 100644 index e442602..0000000 --- a/tests/report-styles/index.html.in +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - -
-
-Unit-tests: [dist tests] -
-
-
- -
-Dist-tests: [unit tests] -
-
-
- - diff --git a/tests/report-styles/index.js b/tests/report-styles/index.js deleted file mode 100644 index 51093d1..0000000 --- a/tests/report-styles/index.js +++ /dev/null @@ -1,67 +0,0 @@ - -if(typeof String.prototype.trim !== 'function') { String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g, ''); } } - - -function negateIdDisplay(which){ - var e = document.getElementById(which); - if (e.style.display=="block") { - e.style.display="none" - }else{ - e.style.display="block" - } - } - - - function setClassDisplay(which,what) { - var e = document.getElementsByClassName(which); - for ( var i = 0; i < e.length; i++ ){ - e[i].style.display=what - } - } - - - function loadXMLDoc(dname) { - if (window.XMLHttpRequest) { - xhttp=new XMLHttpRequest(); - }else{ - xhttp=new ActiveXObject("Microsoft.XMLHTTP"); - } - xhttp.open("GET",dname,false); - xhttp.send(""); - return xhttp.responseXML; - } - - - function xslt(sheet,data,dest) { - var sheetName=sheet; - var xmlName=data; - var htmlDest=dest; - // code for IE - if (window.ActiveXObject) { - var XML = new ActiveXObject("MSXML2.FreeThreadedDomDocument"); - XML.async = "false"; - XML.load(xmlName); - var XSL = new ActiveXObject("MSXML2.FreeThreadedDomDocument"); - XSL.async = "false"; - XSL.load(sheetName); - var XSLTCompiled = new ActiveXObject("MSXML2.XSLTemplate"); - //Add the stylesheet information - XSLTCompiled.stylesheet = XSL.documentElement; - //Create the XSLT processor - var msSheet = XSLTCompiled.createProcessor(); - msSheet.input = XML - //Perform the transform - msSheet.transform(); - document.getElementById(htmlDest).innerHTML=msSheet.output; - } - // code for Mozilla, Firefox, Opera, etc. - else if (document.implementation && document.implementation.createDocument){ - xsl=loadXMLDoc(sheetName); - xml=loadXMLDoc(xmlName); - xsltProcessor=new XSLTProcessor(); - xsltProcessor.importStylesheet(xsl); - resultDocument = xsltProcessor.transformToFragment(xml,document); - document.getElementById(htmlDest).appendChild(resultDocument); - } - setClassDisplay("trace","none"); //by default allare visible to protect disabled javascript - } diff --git a/tests/report-styles/jreport.xsl b/tests/report-styles/jreport.xsl deleted file mode 100644 index 753a8dc..0000000 --- a/tests/report-styles/jreport.xsl +++ /dev/null @@ -1,215 +0,0 @@ - - - - -

Date:

- -
-

Result: (s)

-
-
-
TOTAL:
-
- -
-
-
-
-
passed:
-
- -
-
-
-
-
failed:
-
- -
-
-
-
-
ignored:
-
- -
-
-
-
-

Classes:

- -
- - - - passed - - - failed - - - - - # - -(ms): - -
-
-
-
-
TOTAL:
-
- -
-
-
-
-
passed:
-
- -
-
-
-
-
failed:
-
- -
-
-
-
-
ignored:
-
- -
-
-
-
-
-
-
- - -

Individual results:

- - - -
- - - - failed - - - passed - - - - - - - - -
-
- -
- - -
- -
-
-
- - -
- PASSED (s) -
-
- -
- FAILED (s) -
-
-
- - - - -
-
-
-                    
-                  
-
-
-
-
-
-
-
-
-
- - -
-
- STD-OUT - -
-
-
-                
-              
-
-
-
-
-
- STD-ERR - -
-
-
-                
-              
-
-
-
- - - diff --git a/tests/report-styles/report.css b/tests/report-styles/report.css deleted file mode 100644 index e0a59c3..0000000 --- a/tests/report-styles/report.css +++ /dev/null @@ -1,21 +0,0 @@ -div.passed {background-color:green;height:auto } -div.failed {background-color:red ;height:auto} -div.ignored {background-color:yellow ;height:auto} - -div.clazz {display:inline } -div.method {display:inline } - -div.result {display:block; border: thin solid black ;height:auto} -div.status {display:inline; } -div.wtrace {display:inline; border: thin solid black; float: right;height:auto} -div.theader {display:block; border: thin solid black} -div.trace {display:block; border: thin solid black} - -div.space-line { clear: both; margin: 0; padding: 0; width: auto;} - -div.tablee {width:200px; border: thin solid black; } -div.row { border: thin solid black; } -div.cell1 {display:inline; float: left;height:auto} -div.cell2 {display:inline; float: right;height:auto} - -a.classSumaryName{font-weight:bold} -- cgit v1.2.3