<project name="TestRun" default="main" init="init">

   <target name="init">
     <property name="host" value="localhost" />
     <property name="port" value="8080" />
    
     <taskdef name="gtest" classname="org.apache.tomcat.task.GTest" />
     <property name="wgdir" value="${watchdog.home}/lib/jsp-golden" />
   </target>

  <!-- ==================== Watchdog Servlet tests ==================== -->
   

   <target name="watchdog-Servlet">
      <gtest request="GET /servlet-tests/ResetTest HTTP/1.0"
           debug="0" host="${host}" port="${port}"
           returnCode="HTTP/1.0 200 OK" />
   </target>


   <target name="main" depends="watchdog-Servlet" />


<!-- sample of all the various test options allowed
    <gtest description="Content Type Test"
           request="GET /test/binaries/image1.gif HTTP/1.0"
           goldenFile="${gdir}/image1.gif"
           responseMatch="PreInclude"
           expectHeaders="Content-Type:image/gif" />
           exactMatch="true"  />
-->


</project>

