junit.quilt.ant
Class AntQuiltRunner

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--junit.quilt.ant.AntQuiltRunner

public class AntQuiltRunner
extends org.apache.tools.ant.Task


Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
AntQuiltRunner()
           
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet fileset)
          This fileset is the tests to be run.
 void addSyproperty(org.apache.tools.ant.types.Environment.Variable sysp)
          Adds a System Property.
 org.apache.tools.ant.types.Path createClasspath()
          This allows for the classpath to be embedded between the tags.
 void execute()
          Ant calls this to start our coverage analasys.
 org.apache.tools.ant.types.Path getClasspath()
          Useful method for getting the ClassPath.
 java.lang.String makeTestName(java.lang.String rawTestName)
          makeTestName Test names come in looking like /a/b/c/d.class or /a/b/c/d.java Change them into a.b.c.d
 void setClasspath(org.apache.tools.ant.types.Path classPath)
          This sets the full ClassPath for running the tests.
 void setClasspathRef(org.apache.tools.ant.types.Reference ref)
          This sets a classpath reference it can use.
 void setFork(boolean value)
          Determines whether to start a new JVM or not.
 void setPackages(java.lang.String packs)
          This is a semicolon list of packages to be instrumented.
 void setRegister(java.lang.String register)
          This will set the Coverage technique.
 void setReport(java.io.File report)
          Sets the output directory for reports.
 void setReporter(java.lang.String reporter)
          This determines which type of reports will be generated.
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntQuiltRunner

public AntQuiltRunner()
Method Detail

setFork

public void setFork(boolean value)
Determines whether to start a new JVM or not.

setReport

public void setReport(java.io.File report)
Sets the output directory for reports.

setPackages

public void setPackages(java.lang.String packs)
This is a semicolon list of packages to be instrumented.

setRegister

public void setRegister(java.lang.String register)
                 throws org.apache.tools.ant.BuildException
This will set the Coverage technique. Current registers are: junit.quilt.cover.state.StateMachineRegister junit.quilt.cover.ball94.B94Register

setReporter

public void setReporter(java.lang.String reporter)
                 throws org.apache.tools.ant.BuildException
This determines which type of reports will be generated. Current values are: junit.quilt.reports.XMLSummary junit.quilt.reports.TreeSummary

setClasspath

public void setClasspath(org.apache.tools.ant.types.Path classPath)
This sets the full ClassPath for running the tests. Instrumented code is determined by the packages parameter.

setClasspathRef

public void setClasspathRef(org.apache.tools.ant.types.Reference ref)
This sets a classpath reference it can use.

createClasspath

public org.apache.tools.ant.types.Path createClasspath()
This allows for the classpath to be embedded between the tags.

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet fileset)
This fileset is the tests to be run.

getClasspath

public org.apache.tools.ant.types.Path getClasspath()
Useful method for getting the ClassPath.

addSyproperty

public void addSyproperty(org.apache.tools.ant.types.Environment.Variable sysp)
Adds a System Property.

makeTestName

public java.lang.String makeTestName(java.lang.String rawTestName)
makeTestName Test names come in looking like /a/b/c/d.class or /a/b/c/d.java Change them into a.b.c.d

execute

public void execute()
Ant calls this to start our coverage analasys.
Overrides:
execute in class org.apache.tools.ant.Task


Copyright © 2001-2002 David Dixon-Peugh. All Rights Reserved.