Class AbstractUrlClient

java.lang.Object
ee.jakarta.tck.pages.common.client.BaseUrlClient
ee.jakarta.tck.pages.common.client.AbstractUrlClient
Direct Known Subclasses:
URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT, URLClientIT

public abstract class AbstractUrlClient extends BaseUrlClient
Base client for JSP tests.
  • Field Details

    • url

      @ArquillianResource @OperateOnDeployment("_DEFAULT_") public URL url
    • APITEST

      protected static final String APITEST
      Identifier for a set of properties to be used for API Tests.
      See Also:
    • APITEST1

      protected static final String APITEST1
      Alternate API test identifier,
      See Also:
    • goldenFileStream

      protected InputStream goldenFileStream
  • Constructor Details

    • AbstractUrlClient

      public AbstractUrlClient()
  • Method Details

    • getGoldenFileStream

      public InputStream getGoldenFileStream()
    • setGoldenFileStream

      public void setGoldenFileStream(InputStream gfStream)
    • setTestProperties

      protected void setTestProperties(WebTestCase testCase)
      Sets the test properties for this testCase.
      Overrides:
      setTestProperties in class BaseUrlClient
      Parameters:
      testCase - - the current test case
    • isNullOrEmpty

      protected boolean isNullOrEmpty(String val)
    • setup

      @BeforeEach public void setup() throws Exception
      Throws:
      Exception
    • setTestJsp

      public void setTestJsp(String jsp)
      Sets the name of the JSP when building the request.
      Parameters:
      jsp - - JSP name
    • toString

      public static String toString(InputStream inStream) throws IOException
      Throws:
      IOException