Revision: 865
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=865&view=rev
Author: henryju
Date: 2010-10-19 10:22:03 +0000 (Tue, 19 Oct 2010)
Log Message:
-----------
[2868961] Implemented setTimeout method on Selenium testing engine. Thanks to
Stefan Friedrich Birkner.
Modified Paths:
--------------
trunk/jwebunit-selenium-plugin/src/main/java/net/sourceforge/jwebunit/selenium/SeleniumTestingEngineImpl.java
Modified:
trunk/jwebunit-selenium-plugin/src/main/java/net/sourceforge/jwebunit/selenium/SeleniumTestingEngineImpl.java
===================================================================
---
trunk/jwebunit-selenium-plugin/src/main/java/net/sourceforge/jwebunit/selenium/SeleniumTestingEngineImpl.java
2010-10-19 10:02:15 UTC (rev 864)
+++
trunk/jwebunit-selenium-plugin/src/main/java/net/sourceforge/jwebunit/selenium/SeleniumTestingEngineImpl.java
2010-10-19 10:22:03 UTC (rev 865)
@@ -63,7 +63,7 @@
private Selenium selenium;
// Timeout in milliseconds. It's a string 'cause Selenium wants a
string.
- private static final String timeout = "3000";
+ private String timeout = "3000";
private static final int port = 4444;
private TestContext testContext;
@@ -752,8 +752,7 @@
}
public void setTimeout(int milliseconds) {
- // TODO implement method
- throw new UnsupportedOperationException("setTimeout");
+ timeout = Integer.toString(milliseconds);
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development