AW: Remove duplicate JAR file names from an XML file

2010-07-26 Thread Jan.Materne
>I have an xml file which lists JAR file names in it with space >specified as a delimiter. There are duplications of JAR files >name in the file and I was wondering if there is a way to some >how get ride of the duplication, to get a file which has a >unique set of JAR file names? > > >Example

Re: junit tests running slower in 1.8 than in 1.7

2010-07-26 Thread Laura Dean
It's definitely one JVM for all the tests. I added code to increment a static counter and to print it when each test ran. The number never reset to its initial value, which it would have done, if there had been multiple VMs involved. Laura > On Fri, Jul 23, 2010 at 1:10 AM, Stefan Bodewig wrot

Remove duplicate JAR file names from an XML file

2010-07-26 Thread Rao Chaudhri
I have an xml file which lists JAR file names in it with space specified as a delimiter. There are duplications of JAR files name in the file and I was wondering if there is a way to some how get ride of the duplication, to get a file which has a unique set of JAR file names? Example of file

Re: How to test a junit test case against multiple value of a property

2010-07-26 Thread shailja kumari
Used testing framework is Junit with Ant, that's the reason of this post. Thanks in advance for further help. >> extract the property to an external class and then build two tests that mocks that class with each value. >> I passed the value of class property to Ant junit task like this

Re: How to test a junit test case against multiple value of a property

2010-07-26 Thread Leif Ershag
On Mon, Jul 26, 2010 at 12:50 PM, shailja kumari wrote: > > Hi All, > > I've got a class whose behavior changes based on a boolean property. This > property is read in the static block of the class. Is there a way to write > test JUnit testcase that can verify the behavior of the class for both th

How to test a junit test case against multiple value of a property

2010-07-26 Thread shailja kumari
Hi All, I've got a class whose behavior changes based on a boolean property. This property is read in the static block of the class. Is there a way to write test JUnit testcase that can verify the behavior of the class for both the values of this property? If I specify the value in build.xml, I