[jboss-cvs] JBossAS SVN: r78970 - trunk/testsuite/src/main/org/jboss/test/ejb/lifecycle/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Sep 30 17:08:55 EDT 2008
Author: emuckenhuber
Date: 2008-09-30 17:08:55 -0400 (Tue, 30 Sep 2008)
New Revision: 78970
Modified:
trunk/testsuite/src/main/org/jboss/test/ejb/lifecycle/test/AbstractLifeCycleTestWrapper.java
Log:
[JBAS-5332] oops
Modified: trunk/testsuite/src/main/org/jboss/test/ejb/lifecycle/test/AbstractLifeCycleTestWrapper.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/ejb/lifecycle/test/AbstractLifeCycleTestWrapper.java 2008-09-30 19:39:57 UTC (rev 78969)
+++ trunk/testsuite/src/main/org/jboss/test/ejb/lifecycle/test/AbstractLifeCycleTestWrapper.java 2008-09-30 21:08:55 UTC (rev 78970)
@@ -34,6 +34,7 @@
import junit.framework.Protectable;
import junit.framework.TestCase;
import junit.framework.TestResult;
+import junit.framework.TestSuite;
import org.jboss.ejb.MessageDrivenContainer;
import org.jboss.logging.Logger;
@@ -243,7 +244,7 @@
{
if(testClass == null ) return Collections.enumeration(Collections.EMPTY_SET);
- Enumeration<TestCase> testCases = getTestCases(testClass);
+ Enumeration<TestCase> testCases = new TestSuite(testClass).tests();
if(excludes == null || excludes.isEmpty()) return testCases;
List<TestCase> filtered = new ArrayList<TestCase>();
More information about the jboss-cvs-commits
mailing list