org.apache.tomcat.util.test.matchers
Class ResponseMatchFile

java.lang.Object
  extended byorg.apache.tomcat.util.test.Matcher
      extended byorg.apache.tomcat.util.test.matchers.ResponseMatchFile

public class ResponseMatchFile
extends Matcher

Check if the response matches a response file


Field Summary
 
Fields inherited from class org.apache.tomcat.util.test.Matcher
client, debug, magnitude, request, response, result
 
Constructor Summary
ResponseMatchFile()
           
 
Method Summary
 void execute()
          Execute the test
 java.lang.String getTestDescription()
          A test description of the test beeing made
 void setFile(java.lang.String s)
          Verify that response matches a list of strings in a file
 void setResponseMatchFile(java.lang.String s)
           
 
Methods inherited from class org.apache.tomcat.util.test.Matcher
getHttpClient, getHttpRequest, getHttpResponse, getMessage, getResult, log, setDebug, setExpectedResult, setHttpClient, setHttpRequest, setHttpResponse, setIf, setMagnitude, setUnless, skipTest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseMatchFile

public ResponseMatchFile()
Method Detail

setFile

public void setFile(java.lang.String s)
Verify that response matches a list of strings in a file


setResponseMatchFile

public void setResponseMatchFile(java.lang.String s)

getTestDescription

public java.lang.String getTestDescription()
A test description of the test beeing made

Overrides:
getTestDescription in class Matcher

execute

public void execute()
Description copied from class: Matcher
Execute the test

Overrides:
execute in class Matcher


Copyright ? 2001 Apache Software Foundation. All Rights Reserved.