Eclipse and JUnit [was: Re: Font work (CLA needed)]
On Mon, Dec 19, 2005 at 08:52:59PM +0100, Jeremias Maerki wrote: On 19.12.2005 20:06:26 Vincent Hennebert wrote: Moreover my patched Fop still doesn't pass the unitary tests. I'm trying to figure out what is going on but so far I've spent more time fighting against Eclipse to make the debugger work on the junit system than searching for errors. Not sure yet if I've won. Hmm, so far I've had no problems debugging inside Eclipse's JUnit environment. I try to avoid it by running fop directly with the XSL stylesheet test/layoutengine/testcase2fo.xsl, or I even generate the FO using this stylesheet. Maybe unnecessary, but if you are not so experienced with eclipse, you can have a hard time to make it do what you want. Avoiding JUnit in the debugging process helps me. Simon -- Simon Pepping home page: http://www.leverkruid.nl
Re: Eclipse and JUnit [was: Re: Font work (CLA needed)]
That's very unfortunate. Can you guys explain to me what exactly the problems are? Maybe I can help. It is very helpful to simply run a single test under JUnit control directly from Eclipse. I simply have to specify the test case I want to run in the system properties and off I go. On 21.12.2005 09:34:07 Simon Pepping wrote: On Mon, Dec 19, 2005 at 08:52:59PM +0100, Jeremias Maerki wrote: On 19.12.2005 20:06:26 Vincent Hennebert wrote: Moreover my patched Fop still doesn't pass the unitary tests. I'm trying to figure out what is going on but so far I've spent more time fighting against Eclipse to make the debugger work on the junit system than searching for errors. Not sure yet if I've won. Hmm, so far I've had no problems debugging inside Eclipse's JUnit environment. I try to avoid it by running fop directly with the XSL stylesheet test/layoutengine/testcase2fo.xsl, or I even generate the FO using this stylesheet. Maybe unnecessary, but if you are not so experienced with eclipse, you can have a hard time to make it do what you want. Avoiding JUnit in the debugging process helps me. Simon -- Simon Pepping home page: http://www.leverkruid.nl Jeremias Maerki