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} alternative
Creates 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
    Deprecated.
     
  • Method Summary

    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
    Deprecated.
    Returns a web tester with scripting disabled.
    static net.sourceforge.jwebunit.junit.WebTester
    getInstance(String baseUrl, boolean enableJavascript)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebTesterFactory

      public WebTesterFactory()
      Deprecated.
  • Method Details

    • 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: