Re: [wicket-1.2.5] unittest failures when running from wicket-parent
The fix: URI uri = new URI(getClass().getResource("localfileinclasspathdir").toString()); ... new File(uri) ... Martijn On 2/4/07, Frank Bille <[EMAIL PROTECTED]> wrote: On 2/4/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > The file upload field test fails because it can't find the DTD file. I > think this is because the multimodule build keeps the startup > directory inside the wicket-parent folder. > We have talked about it before and I still have an outstanding with using a mock test file which we know will be there. Perhaps I can use your testfile :) Frank -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org
Re: [wicket-1.2.5] unittest failures when running from wicket-parent
On 2/4/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: The file upload field test fails because it can't find the DTD file. I think this is because the multimodule build keeps the startup directory inside the wicket-parent folder. We have talked about it before and I still have an outstanding with using a mock test file which we know will be there. Perhaps I can use your testfile :) Frank
Re: [wicket-1.2.5] unittest failures when running from wicket-parent
OK, I fixed the first one. the second doesn't come up anymore... Martijn On 2/4/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: The file upload field test fails because it can't find the DTD file. I think this is because the multimodule build keeps the startup directory inside the wicket-parent folder. Another one: === wicket.markup.html.panel.PanelWithAttributeModifierPage === [surefire] Tests run: 8, Failures: 0, Errors: 2, Time elapsed: 0.079 sec FAILURE !! Martijn -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org