incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r950907 - /sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/testing/TestAll.java
Date Thu, 03 Jun 2010 08:04:43 GMT
Author: bdelacretaz
Date: Thu Jun  3 08:04:42 2010
New Revision: 950907

URL: http://svn.apache.org/viewvc?rev=950907&view=rev
Log:
SLING-1495 - log number of test classes found

Modified:
    sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/testing/TestAll.java

Modified: sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/testing/TestAll.java
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/testing/TestAll.java?rev=950907&r1=950906&r2=950907&view=diff
==============================================================================
--- sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/testing/TestAll.java
(original)
+++ sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/testing/TestAll.java
Thu Jun  3 08:04:42 2010
@@ -57,7 +57,6 @@ public class TestAll extends TestCase {
                 "**/launchpad/webapp/integrationtest/**/*Test");
         String testRegex = convertToRegex(testPattern);
         Pattern pattern = Pattern.compile(testRegex);
-        LOGGER.info("Using Pattern " + testRegex);
         for (URL u : urls) {
             try {
                 matchingClasses.addAll(scanFile(new File(u.toURI()), pattern));
@@ -83,6 +82,7 @@ public class TestAll extends TestCase {
                 e.printStackTrace();
             }
         }
+        LOGGER.info(classSet.size() + " test classes found using Pattern " + testRegex);
         TestSuite suite = new TestSuite(classSet.toArray(new Class[classSet.size()]),"Sling
Integration Tests matching "+testPattern);
       
         return suite;



Mime
View raw message