ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject RE: How to get a list of sub-classes of a class?
Date Mon, 12 Mar 2007 06:22:45 GMT

Why?  Don't you control how you name your test cases?  When the 
system fails, rename the test to fit the system.

Jake

At 01:52 AM 3/12/2007, you wrote:
 >Thank you Jacob, that is what we do today but this solution (?) is not
 >reliable.
 >
 >Zsolt
 >
 >> -----Original Message-----
 >> From: Jacob Kjome [mailto:hoju@visi.com]
 >> Sent: Sunday, March 11, 2007 4:49 PM
 >> To: Ant Users List
 >> Subject: Re: How to get a list of sub-classes of a class?
 >>
 >>
 >> Use consistent naming.   If you have a class named "MyClass", then
 >> name its testcase MyClassTest.  Now included all classes with the
 >> pattern *Test.
 >>
 >> Jake
 >>
 >> At 08:08 AM 3/11/2007, you wrote:
 >>  >Hi,
 >>  >
 >>  >I have this list of all classes. How can I filter them to get only a
 >> list of
 >>  >classes that extend junit.framework.TestCase?
 >>  >
 >>  >Zsolt
 >>  >
 >>  >Zsolt
 >>  >
 >>  >
 >>  >
 >>  >---------------------------------------------------------------------
 >>  >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
 >>  >For additional commands, e-mail: user-help@ant.apache.org
 >>
 >>
 >> ---------------------------------------------------------------------
 >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
 >> For additional commands, e-mail: user-help@ant.apache.org
 >
 >
 >---------------------------------------------------------------------
 >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
 >For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message