com.atlassian.confluence.it
Class WebTesterFactory
java.lang.Object
com.atlassian.confluence.it.WebTesterFactory
public class WebTesterFactory
- extends java.lang.Object
Creates and returns new JWebUnit WebTester objects with the correct parameters set.
Use this class rather than calling WebTester.WebTester()
;
- See Also:
ConfluenceHtmlUnitDialog
Method Summary |
static void |
configureWebTester(net.sourceforge.jwebunit.junit.WebTester webTester,
java.lang.String baseUrl,
boolean enableJavascript)
This should only be used in JWebUnit WebTestCases, where the WebTester has already been created. |
static net.sourceforge.jwebunit.junit.WebTester |
getInstance(java.lang.String baseUrl)
Returns a web tester with scripting disabled. |
static net.sourceforge.jwebunit.junit.WebTester |
getInstance(java.lang.String baseUrl,
boolean enableJavascript)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebTesterFactory
public WebTesterFactory()
getInstance
public static net.sourceforge.jwebunit.junit.WebTester getInstance(java.lang.String baseUrl)
- Returns a web tester with scripting disabled.
getInstance
public static net.sourceforge.jwebunit.junit.WebTester getInstance(java.lang.String baseUrl,
boolean enableJavascript)
configureWebTester
public static void configureWebTester(net.sourceforge.jwebunit.junit.WebTester webTester,
java.lang.String baseUrl,
boolean enableJavascript)
- This should only be used in JWebUnit WebTestCases, where the WebTester has already been created.
- See Also:
getInstance(String, boolean)
Copyright © 2003-2010 Atlassian. All Rights Reserved.