Hi,

I didn't tried because 1.14 is still not on Maven repository (please vote for 
http://jira.codehaus.org/browse/MAVENUPLOAD-1887).

Looking at the stack trace I can say it's the unit test that need to be fixed, 
so you could update to 1.14

Regards,

Julien

----- Message d'origine ----
De : Magnus Grimsell <[EMAIL PROTECTED]>
À : JWebUnit-users@lists.sourceforge.net
Envoyé le : Mercredi, 16 Janvier 2008, 17h05mn 19s
Objet : [JWebUnit-users] upgrading to htmlunit 1.14

I've had some issues with htmlunit 1.11 and got the advice on the
 htmlunit mailing list to upgrade.
Is there any ongoing work to make jwebunit support htmlunit 1.14?

When I tries to build jwebunit with htmlunit 1.14 one unit test broke. 
Does anybody have an idea of what might be the problem?

Thanks
Magnus Grimsell

------------------------------------------------------------------------------- 
Test set: net.sourceforge.jwebunit.htmlunit.JWebUnitTest 
------------------------------------------------------------------------------- 
Tests run: 212, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
 10.937 sec <<< FAILURE!
testSetFileField(net.sourceforge.jwebunit.tests.FormSubmissionTest)
  Time elapsed: 0.11 sec  <<< FAILURE! 
junit.framework.AssertionFailedError: Expected text not found in
 current page: [file=data3477.txt{abcdefgh}]
 Page content was: [Submitted parameters Submitted parameters Params
 are: color= checkBox= button=Submit Query
 myReferer=FormSubmissionTest/InputFileForm.html
 file=c:\docume~1\maggr\locals~1\temp\data3477.txt{abcdefgh} return]
     at junit.framework.Assert.fail(Assert.java:47)
     at
 net.sourceforge.jwebunit.junit.WebTester.assertTextPresent(WebTester.java:329)
     at
 
net.sourceforge.jwebunit.junit.WebTestCase.assertTextPresent(WebTestCase.java:226)
     at
 
net.sourceforge.jwebunit.tests.FormSubmissionTest.testSetFileField(FormSubmissionTest.java:80)
     at
 
net.sourceforge.jwebunit.tests.FormSubmissionTest.testSetFileField(FormSubmissionTest.java:80)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at
 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at junit.framework.TestCase.runTest(TestCase.java:164)
     at junit.framework.TestCase.runBare(TestCase.java:130)
     at
 net.sourceforge.jwebunit.junit.WebTestCase.runBare(WebTestCase.java:58)
     at junit.framework.TestResult$1.protect(TestResult.java:106)
     at junit.framework.TestResult.runProtected(TestResult.java:124)
     at junit.framework.TestResult.run(TestResult.java:109)
      ...

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users





      
_____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
http://mail.yahoo.fr

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to