[embjopr-commits] EMBJOPR SVN: r424 - in trunk/jsfunit: src and 2 other directories.

embjopr-commits at lists.jboss.org embjopr-commits at lists.jboss.org
Fri May 15 11:02:47 EDT 2009


Author: ozizka at redhat.com
Date: 2009-05-15 11:02:47 -0400 (Fri, 15 May 2009)
New Revision: 424

Added:
   trunk/jsfunit/src/build/
   trunk/jsfunit/src/build/resources/
   trunk/jsfunit/src/build/resources/TEST-TestSuite.xsl
Modified:
   trunk/jsfunit/pom.xml
Log:
JSFUnit - Trying to split the Hudson's tests reports.

Modified: trunk/jsfunit/pom.xml
===================================================================
--- trunk/jsfunit/pom.xml	2009-05-15 14:43:06 UTC (rev 423)
+++ trunk/jsfunit/pom.xml	2009-05-15 15:02:47 UTC (rev 424)
@@ -580,7 +580,7 @@
             <srcDir>${basedir}/target/surefire-reports</srcDir>
             <destDir>${basedir}/target/surefire-reports</destDir>
             <fileNameRegex>TEST-TestSuite.xml</fileNameRegex>
-            <xslFile>${basedir}/TEST-TestSuite.xsl</xslFile>
+            <xslFile>${basedir}/src/build/resources/TEST-TestSuite.xsl</xslFile>
           </configuration>
         </plugin>
 

Added: trunk/jsfunit/src/build/resources/TEST-TestSuite.xsl
===================================================================
--- trunk/jsfunit/src/build/resources/TEST-TestSuite.xsl	                        (rev 0)
+++ trunk/jsfunit/src/build/resources/TEST-TestSuite.xsl	2009-05-15 15:02:47 UTC (rev 424)
@@ -0,0 +1,18 @@
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:param name="packageName"></xsl:param>
+
+  <xsl:output method="xml" encoding="utf-8" indent="no"/>
+
+  
+  <xsl:template match="testcase[not( starts-with(@classname,$packageName) and not(contains(substring-after(@classname,$packageName), '.')) )]">
+  </xsl:template>
+
+  
+  <!-- Vsechny uzly zkopiruj tak, jak jsou. [name(.)!='soubor'] -->
+  <xsl:template match="*|@*|text()">
+    <xsl:copy>
+      <xsl:apply-templates select="node()|@*"/>
+    </xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>
\ No newline at end of file




More information about the embjopr-commits mailing list