>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
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
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
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
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
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