Class JspWriterValidator

java.lang.Object
com.sun.ts.tests.common.webclient.validation.WebValidatorBase
com.sun.ts.tests.common.webclient.validation.TokenizedValidator
ee.jakarta.tck.pages.api.jakarta_servlet.jsp.jspwriter.JspWriterValidator
All Implemented Interfaces:
com.sun.ts.tests.common.webclient.validation.ValidationStrategy

public class JspWriterValidator extends com.sun.ts.tests.common.webclient.validation.TokenizedValidator
  • Field Summary

    Fields inherited from class com.sun.ts.tests.common.webclient.validation.WebValidatorBase

    _case, _req, _res, CLIENT_ERROR, SERVER_ERROR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    validate(com.sun.ts.tests.common.webclient.WebTestCase testCase)
    This validator preprocesses the search strings of the test case.

    Methods inherited from class com.sun.ts.tests.common.webclient.validation.TokenizedValidator

    checkGoldenfile

    Methods inherited from class com.sun.ts.tests.common.webclient.validation.WebValidatorBase

    checkExpectedHeaders, checkReasonPhrase, checkSearchStrings, checkSearchStringsNoCase, checkStatusCode, checkUnexpectedHeaders, checkUnexpectedSearchStrings, checkUnorderedSearchStrings, isEmpty

    Methods inherited from class java.lang.Object

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

    • JspWriterValidator

      public JspWriterValidator()
  • Method Details

    • validate

      public boolean validate(com.sun.ts.tests.common.webclient.WebTestCase testCase)
      This validator preprocesses the search strings of the test case. It will replace all intances of #eol# with the line separator used by the container.
      Specified by:
      validate in interface com.sun.ts.tests.common.webclient.validation.ValidationStrategy
      Overrides:
      validate in class com.sun.ts.tests.common.webclient.validation.WebValidatorBase
      Parameters:
      testCase - - The test case to validate
      Returns:
      true if the test passes, otherwise, false.