[HtmlUnit] SVN: [13837] branches/huThread/htmlunit/src/test/java/com/gargoylesoftware /htmlunit

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[HtmlUnit] SVN: [13837] branches/huThread/htmlunit/src/test/java/com/gargoylesoftware /htmlunit

asashour-2
Revision: 13837
          http://sourceforge.net/p/htmlunit/code/13837
Author:   asashour
Date:     2017-03-20 08:41:59 +0000 (Mon, 20 Mar 2017)
Log Message:
-----------
thread: test pass

Modified Paths:
--------------
    branches/huThread/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebDriverTestCase.java
    branches/huThread/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Window2Test.java

Modified: branches/huThread/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebDriverTestCase.java
===================================================================
--- branches/huThread/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebDriverTestCase.java 2017-03-20 07:57:19 UTC (rev 13836)
+++ branches/huThread/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebDriverTestCase.java 2017-03-20 08:41:59 UTC (rev 13837)
@@ -435,7 +435,6 @@
                     final FirefoxOptions options = new FirefoxOptions();
                     options.setBinary(FF45_BIN_);
                     return new FirefoxDriver(options);
-
                 }
                 return new FirefoxDriver();
             }

Modified: branches/huThread/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Window2Test.java
===================================================================
--- branches/huThread/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Window2Test.java 2017-03-20 07:57:19 UTC (rev 13836)
+++ branches/huThread/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Window2Test.java 2017-03-20 08:41:59 UTC (rev 13837)
@@ -46,7 +46,7 @@
 
     @Override
     protected boolean supportsWebDriver() {
-        return false;
+        return true;
     }
 
     /**
@@ -527,6 +527,7 @@
         loadPageWithAlerts2(html);
 
         // for unknown reason, the selenium driven browser is in an invalid state after this test
+        releaseResources();
         shutDownAll();
     }
 
@@ -561,6 +562,7 @@
         loadPageWithAlerts2(html);
 
         // for unknown reason, the selenium driven browser is in an invalid state after this test
+        releaseResources();
         shutDownAll();
     }
 
@@ -595,6 +597,7 @@
         loadPageWithAlerts2(html);
 
         // for unknown reason, the selenium driven browser is in an invalid state after this test
+        releaseResources();
         shutDownAll();
     }
 
@@ -637,6 +640,7 @@
 
         loadPageWithAlerts2(html);
         // for some reason, the selenium driven browser is in an invalid state after this test
+        releaseResources();
         shutDownAll();
     }
 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
HtmlUnit-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop
Loading...