com.canoo.webtest.ant
Class CountWebtestResults

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.canoo.webtest.ant.CountWebtestResults
All Implemented Interfaces:
Cloneable

public class CountWebtestResults
extends Task

Ant task that reads the WebTest results from a WebTest results file.

Author:
Marc Guillemot

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
CountWebtestResults()
           
 
Method Summary
 void execute()
           
 String getFailureProperty()
           
protected  int getNbFailed()
           
protected  int getNbSuccessful()
           
 File getResultFile()
           
 String getSuccessProperty()
           
 boolean isFailOnError()
           
 void setFailOnError(boolean _failOnError)
           
 void setFailureProperty(String _failuresProperty)
           
 void setResultFile(File _resultFile)
           
 void setSuccessProperty(String _successProperty)
           
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountWebtestResults

public CountWebtestResults()
Method Detail

execute

public void execute()
             throws BuildException
Overrides:
execute in class Task
Throws:
BuildException

isFailOnError

public boolean isFailOnError()
Returns:
the failOnError.

setFailOnError

public void setFailOnError(boolean _failOnError)
Parameters:
_failOnError - the failOnError to set

getFailureProperty

public String getFailureProperty()

setFailureProperty

public void setFailureProperty(String _failuresProperty)

getSuccessProperty

public String getSuccessProperty()
Returns:
the successProperty.

setSuccessProperty

public void setSuccessProperty(String _successProperty)
Parameters:
_successProperty - the successProperty to set

getResultFile

public File getResultFile()
Returns:
the fResultFile.

setResultFile

public void setResultFile(File _resultFile)
Parameters:
_resultFile - the fResultFile to set

getNbSuccessful

protected int getNbSuccessful()
Returns:
the nbSuccessful.

getNbFailed

protected int getNbFailed()
Returns:
the nbFailed.

Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved.