[seam-commits] Seam SVN: r11565 - in branches: community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium and 2 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Oct 8 11:28:33 EDT 2009


Author: jharting
Date: 2009-10-08 11:28:32 -0400 (Thu, 08 Oct 2009)
New Revision: 11565

Modified:
   branches/community/Seam_2_2/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/utils/SeleniumTestListener.java
   branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumFunctionalTestListener.java
   branches/enterprise/JBPAPP_5_0/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/utils/SeleniumTestListener.java
   branches/enterprise/JBPAPP_5_0/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumFunctionalTestListener.java
Log:
minor

Modified: branches/community/Seam_2_2/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/utils/SeleniumTestListener.java
===================================================================
--- branches/community/Seam_2_2/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/utils/SeleniumTestListener.java	2009-10-08 15:16:10 UTC (rev 11564)
+++ branches/community/Seam_2_2/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/utils/SeleniumTestListener.java	2009-10-08 15:28:32 UTC (rev 11565)
@@ -53,10 +53,10 @@
    {
       String logPath = OUTPUT_DIR + APP_NAME + "/" + arg0.getName();
       try {
-         browser.logHTMLContext(logPath + ".html");
          browser.captureScreenshot(logPath + ".png");
       } catch (Exception e) {         
       } finally {
+         browser.logHTMLContext(logPath + ".html");
          stopBrowser();   
       }  
    }

Modified: branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumFunctionalTestListener.java
===================================================================
--- branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumFunctionalTestListener.java	2009-10-08 15:16:10 UTC (rev 11564)
+++ branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumFunctionalTestListener.java	2009-10-08 15:28:32 UTC (rev 11565)
@@ -52,9 +52,9 @@
       String logPath = OUTPUT_DIR + APP_NAME + "/" + arg0.getName();
       try {
          SeamSeleniumTest.browser.captureScreenshot(logPath + ".png");
-         SeamSeleniumTest.browser.logHTMLContext(logPath + ".html");
       } catch (Exception e) {         
       } finally {
+         SeamSeleniumTest.browser.logHTMLContext(logPath + ".html");
          stopBrowser();   
       }      
    }

Modified: branches/enterprise/JBPAPP_5_0/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/utils/SeleniumTestListener.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/utils/SeleniumTestListener.java	2009-10-08 15:16:10 UTC (rev 11564)
+++ branches/enterprise/JBPAPP_5_0/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/utils/SeleniumTestListener.java	2009-10-08 15:28:32 UTC (rev 11565)
@@ -53,10 +53,10 @@
    {
       String logPath = OUTPUT_DIR + APP_NAME + "/" + arg0.getName();
       try {
-         browser.logHTMLContext(logPath + ".html");
          browser.captureScreenshot(logPath + ".png");
       } catch (Exception e) {         
       } finally {
+         browser.logHTMLContext(logPath + ".html");
          stopBrowser();   
       }
    }

Modified: branches/enterprise/JBPAPP_5_0/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumFunctionalTestListener.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumFunctionalTestListener.java	2009-10-08 15:16:10 UTC (rev 11564)
+++ branches/enterprise/JBPAPP_5_0/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumFunctionalTestListener.java	2009-10-08 15:28:32 UTC (rev 11565)
@@ -52,9 +52,9 @@
       String logPath = OUTPUT_DIR + APP_NAME + "/" + arg0.getName();
       try {
          SeamSeleniumTest.browser.captureScreenshot(logPath + ".png");
-         SeamSeleniumTest.browser.logHTMLContext(logPath + ".html");
       } catch (Exception e) {         
       } finally {
+         SeamSeleniumTest.browser.logHTMLContext(logPath + ".html");
          stopBrowser();   
       }      
    }



More information about the seam-commits mailing list