Revision: 718
          http://jwebunit.svn.sourceforge.net/jwebunit/?rev=718&view=rev
Author:   henryju
Date:     2008-01-28 01:29:57 -0800 (Mon, 28 Jan 2008)

Log Message:
-----------
Update to HtmlUnit 1.14 (unit test fix needed)

Modified Paths:
--------------
    
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormSubmissionTest.java
    trunk/jwebunit-htmlunit-plugin/pom.xml
    trunk/pom.xml
    trunk/src/changes/changes.xml

Modified: 
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormSubmissionTest.java
===================================================================
--- 
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormSubmissionTest.java
   2008-01-22 08:29:12 UTC (rev 717)
+++ 
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormSubmissionTest.java
   2008-01-28 09:29:57 UTC (rev 718)
@@ -77,7 +77,8 @@
         setTextField("file", filename);
         submit("button");
         assertTextPresent("Submitted parameters");
-        assertTextPresent("file=" + temp.getName() + "{abcdefgh}");
+        //The following depend on the browser: IE send full path but FF send 
only file name.
+        assertTextPresent("file=" + temp.getAbsolutePath() + "{abcdefgh}");
     }
     
     public void testSubmitImageInput() {

Modified: trunk/jwebunit-htmlunit-plugin/pom.xml
===================================================================
--- trunk/jwebunit-htmlunit-plugin/pom.xml      2008-01-22 08:29:12 UTC (rev 
717)
+++ trunk/jwebunit-htmlunit-plugin/pom.xml      2008-01-28 09:29:57 UTC (rev 
718)
@@ -34,7 +34,7 @@
             <scope>test</scope>
         </dependency>
         <dependency>
-            <groupId>htmlunit</groupId>
+            <groupId>net.sourceforge.htmlunit</groupId>
             <artifactId>htmlunit</artifactId>
         </dependency>
         <dependency>

Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml       2008-01-22 08:29:12 UTC (rev 717)
+++ trunk/pom.xml       2008-01-28 09:29:57 UTC (rev 718)
@@ -292,9 +292,9 @@
                 <version>1.3.1</version>
             </dependency>
             <dependency>
-                <groupId>htmlunit</groupId>
+                <groupId>net.sourceforge.htmlunit</groupId>
                 <artifactId>htmlunit</artifactId>
-                <version>1.13</version>
+                <version>1.14</version>
             </dependency>
             <dependency>
                 <groupId>org.openqa.selenium.client-drivers</groupId>

Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml       2008-01-22 08:29:12 UTC (rev 717)
+++ trunk/src/changes/changes.xml       2008-01-28 09:29:57 UTC (rev 718)
@@ -8,6 +8,9 @@
     </properties>
     <body>
         <release version="1.5" date="UNKNOW">
+            <action type="update" dev="henryju">
+                Update to HtmlUnit 1.14.
+            </action>
             <action type="add" dev="henryju" issue="1874212" due-to="Mike C">
                 Support multiple selects with same name.
             </action>
@@ -15,9 +18,6 @@
                 assertButtonPresentWithText and clickButtonWithText now work 
for input button
                 (submit, reset, button) matching the value attribute.
             </action>
-            <action type="update" dev="henryju">
-                Update to HtmlUnit 1.13.
-            </action>
             <action type="add" dev="henryju">
                 Add basic Selenium support.
             </action>


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
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-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to