org.apache.cactus.ant
Class RunServerTestsTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.cactus.integration.ant.RunServerTestsTask
              extended byorg.apache.cactus.ant.RunServerTestsTask

Deprecated. The implementation of this task has moved to RunServerTestsTask.

public class RunServerTestsTask
extends RunServerTestsTask

Task to automate running in-container unit test. It has the following syntax when used in Ant:

   <runservertests testURL="&t;url>"
          startTarget="<start target name>"
          stopTarget="<stop target name>"
          testTarget="<test target name>"/>
 
where <url> is the URL that is used by this task to ensure that the server is running. Indeed, the algorithm is as follow :

Version:
$Id: RunServerTestsTask.java,v 1.4 2003/05/14 18:33:46 vmassol Exp $
Author:
Vincent Massol, Christopher Lenz

Constructor Summary
RunServerTestsTask()
          Deprecated.  
 
Method Summary
 void execute()
          Deprecated.  
 
Methods inherited from class org.apache.cactus.integration.ant.RunServerTestsTask
createStart, createStop, createTest, setStartTarget, setStopTarget, setTestTarget, setTestUrl, setTimeout
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunServerTestsTask

public RunServerTestsTask()
Deprecated. 
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Deprecated. 
Overrides:
execute in class RunServerTestsTask
Throws:
org.apache.tools.ant.BuildException
See Also:
Task.execute()


Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.