User: kimptoc Date: 02/04/12 11:32:36 Modified: src/stylesheets summary1a.xsl Log: changes to provide links from test summary to specific test results Revision Changes Path 1.5 +8 -42 jbosstest/src/stylesheets/summary1a.xsl Index: summary1a.xsl =================================================================== RCS file: /cvsroot/jboss/jbosstest/src/stylesheets/summary1a.xsl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- summary1a.xsl 6 Feb 2002 08:23:10 -0000 1.4 +++ summary1a.xsl 12 Apr 2002 18:32:36 -0000 1.5 @@ -11,35 +11,26 @@ <xsl:param name="os_name"/> <xsl:param name="os_arch"/> <xsl:param name="os_version"/> +<xsl:param name="builduid"/> <xsl:output method='text'/> <xsl:template match='/'> - <xsl:variable name="numberOfTests" select="sum(//@tests)"/> <xsl:variable name="numberOfErrors" select="sum(//@errors)"/> <xsl:variable name="numberOfFailures" select="sum(//@failures)"/> <xsl:variable name="numberOfSuccesses" select="$numberOfTests - $numberOfErrors - $numberOfFailures"/> - -JBoss daily test results - -SUMMARY - Number of tests run: <xsl:value-of select="$numberOfTests"/> -------------------------------------------- Successful tests: <xsl:value-of select="$numberOfSuccesses"/> - Errors: <xsl:value-of select="$numberOfErrors"/> - Failures: <xsl:value-of select="$numberOfFailures"/> -------------------------------------------- - - [time of test: <xsl:value-of select="$thedate"/> GMT] [java.version: <xsl:value-of select="$java_version"/>] [java.vendor: <xsl:value-of select="$java_vendor"/>] @@ -50,7 +41,9 @@ [os.arch: <xsl:value-of select="$os_arch"/>] [os.version: <xsl:value-of select="$os_version"/>] -See http://lubega.com for full details +See http://lubega.com/testarchive/<xsl:value-of select="$builduid"/> for details of this test. + +See http://lubega.com for general test information. NOTE: If there are any errors shown above - this mail is only highlighting them - it is NOT indicating that they are being looked at by anyone. @@ -60,42 +53,15 @@ <xsl:if test='$numberOfFailures!=0 or $numberOfErrors!=0'> -DETAILS OF ERRORS - -[details not shown -as this makes the mail too big to reach the sf mailing list] +Oh dear - still got some errors! </xsl:if> +<xsl:if test='$numberOfFailures=0 and $numberOfErrors=0'> -PS BEFORE you commit, run the test suite! - -Its really is easy, just use the ant target 'run-basic-testsuite' from the -build directory. - - -To just run the unit tests (they are quite quick): - -In the testsuite directory, -./build.sh tests-unit - - -You can run a single test case using: -./build.sh -Dtest=[XXXTestCase] one-test - -The XXXTestCase is the classname of the junit class to run. So, to run the -EJBSpecUnitTestCase use: -./build.sh -Dtest=EJBSpecUnitTestCase one-test - - -To run all tests within a package, use -./build.sh -Dtest=[package] test - -The package is name of the directory under the org/jboss/test directory that -contains the tests to run. So, to run the unit tests in the -org.jboss.test.security package use: -./build.sh -Dtest=security test - +HURRAY - everything worked! +</xsl:if> Thanks for all your effort - we really do love you!
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
