DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20547>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20547

Make <batchtest> to ignore abstract test cases





------- Additional Comments From [EMAIL PROTECTED]  2003-06-06 17:52 -------
I looked quickly at the code, BatchTest only works with filenames indeed, but
JUnitTestRunner performs a "Class.forName" and then instantiates a suite with
"new TestSuite(testClass)". Maybe an additional check on testClass could be
inserted there, something like :

if (!Modifier.isAbstract(testClass.getModifiers)) {
    suite = new TestSuite(testClass);
}

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to