Class TokenizedValidator
java.lang.Object
com.sun.ts.tests.common.webclient.validation.WebValidatorBase
com.sun.ts.tests.common.webclient.validation.TokenizedValidator
- All Implemented Interfaces:
- ValidationStrategy
- Direct Known Subclasses:
- CheckOneOfStatusesTokenizedValidator
This class provides all of the functionality of the WebValidatorBase class. Additionally, it will compare the server's response body with the test case's configured goldenfile using a StringTokenizer.
- 
Field SummaryFields inherited from class com.sun.ts.tests.common.webclient.validation.WebValidatorBase_case, _req, _res, CLIENT_ERROR, SERVER_ERROR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanCompare the server response and golenfile using a StringTokenizer.Methods inherited from class com.sun.ts.tests.common.webclient.validation.WebValidatorBasecheckExpectedHeaders, checkReasonPhrase, checkSearchStrings, checkSearchStringsNoCase, checkStatusCode, checkUnexpectedHeaders, checkUnexpectedSearchStrings, checkUnorderedSearchStrings, isEmpty, validate
- 
Constructor Details- 
TokenizedValidatorpublic TokenizedValidator()Creates a new instance of TokenizedValidator
 
- 
- 
Method Details- 
checkGoldenfileCompare the server response and golenfile using a StringTokenizer.- Specified by:
- checkGoldenfilein class- WebValidatorBase
- Returns:
- true if response and goldenfile are the same.
- Throws:
- IOException- if an error occurs will processing the Goldenfile
 
 
-