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 -
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
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 interfacecom.sun.ts.tests.common.webclient.validation.ValidationStrategy
- Overrides:
validate
in classcom.sun.ts.tests.common.webclient.validation.WebValidatorBase
- Parameters:
testCase
- - The test case to validate- Returns:
- true if the test passes, otherwise, false.
-