Package com.atlassian.confluence.it
Class WebTesterFactory
- java.lang.Object
-
- com.atlassian.confluence.it.WebTesterFactory
-
@Deprecated public class WebTesterFactory extends Object
Deprecated.Please use confluence-test-utils module instead. See {com.atlassian.confluence.test.jwebunit.WebTesterFactory} alternativeCreates and returns new JWebUnit WebTester objects with the correct parameters set.Use this class rather than calling
WebTester()
;- See Also:
ConfluenceHtmlUnitTestingEngine
-
-
Constructor Summary
Constructors Constructor Description WebTesterFactory()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
configureWebTester(net.sourceforge.jwebunit.junit.WebTester webTester, String baseUrl, boolean enableJavascript)
Deprecated.This should only be used in JWebUnit WebTestCases, where the WebTester has already been created.static net.sourceforge.jwebunit.junit.WebTester
getInstance(String baseUrl)
Deprecated.Returns a web tester with scripting disabled.static net.sourceforge.jwebunit.junit.WebTester
getInstance(String baseUrl, boolean enableJavascript)
Deprecated.
-
-
-
Method Detail
-
getInstance
public static net.sourceforge.jwebunit.junit.WebTester getInstance(String baseUrl)
Deprecated.Returns a web tester with scripting disabled.
-
getInstance
public static net.sourceforge.jwebunit.junit.WebTester getInstance(String baseUrl, boolean enableJavascript)
Deprecated.
-
configureWebTester
public static void configureWebTester(net.sourceforge.jwebunit.junit.WebTester webTester, String baseUrl, boolean enableJavascript)
Deprecated.This should only be used in JWebUnit WebTestCases, where the WebTester has already been created.- See Also:
getInstance(String, boolean)
-
-