continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r794004 - /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractSeleniumTest.java
Date Tue, 14 Jul 2009 18:33:43 GMT
Author: carlos
Date: Tue Jul 14 18:33:43 2009
New Revision: 794004

URL: http://svn.apache.org/viewvc?rev=794004&view=rev
Log:
Fail early if selenium can't be started

Modified:
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractSeleniumTest.java

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractSeleniumTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractSeleniumTest.java?rev=794004&r1=794003&r2=794004&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractSeleniumTest.java
(original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractSeleniumTest.java
Tue Jul 14 18:33:43 2009
@@ -76,8 +76,9 @@
 
         if ( getSelenium() == null )
         {
-            selenium.set( new DefaultSelenium( seleniumHost, seleniumPort, browser, baseUrl
) );
-            getSelenium().start();
+            DefaultSelenium s = new DefaultSelenium( seleniumHost, seleniumPort, browser,
baseUrl );
+            s.start();
+            selenium.set( s );
         }
     }
 



Mime
View raw message