| csdl.jblanket.ant.JBlanketTask
All known Subclasses: csdl.jblanket.ant.JBlanketModifierTask, csdl.jblanket.ant.JBlanketAppTask, csdl.jblanket.ant.JBlanketReportTask,
JBlanketTask | abstract public class JBlanketTask extends Task (Code) | | Provides description for JBlanket related Apache Ant taskdefs.
author: Joy M. Agustin version: $Id: JBlanketTask.java,v 1.1 2004/11/07 00:32:32 timshadel Exp $id |
Constructor Summary | |
public | JBlanketTask() Constructs a new JBlanketTask object. |
Method Summary | |
public void | addConfiguredSysproperty(Environment.Variable systemProperty) Adds a system property. | public void | setConstructorfile(String constructorFile) Sets the name of the XML file for constructors. | public void | setEnable(String enable) Describes whether the task should be enabled. | public void | setExcludeconstructors(String excludeConstructors) Describes whether constructors should be excluded from the coverage measurement. | public void | setExcludedindividualfile(String excludedIndividualFile) Sets the name of the XML file for individually excluded methods. | public void | setExcludeindividualmethods(String excludeIndividualMethods) Describes whether individual methods should be excluded from the coverage measurement. | public void | setExcludeonelinemethods(String excludeOneLineMethods) Describes whether one-line methods should be excluded from the coverage measurement. | public void | setFork(String value) Tells whether a JVM should be forked for each testcase -- not implemented.
It avoids interference between testcases and possibly avoids hanging the build. | public void | setOnelinefile(String oneLineFile) Sets the name of the XML file for methods containing one line of source code. | public void | setPrintsummary(String value) Tells whether the task should print a short summary of the task -- not implemeneted.
NOTE: possible future addition. | public void | setTotalfile(String totalFile) Sets the name of the XML file for all methods in the system. | public void | setVerbose(String value) Describes whether additional output should be sent to standard out. |
constructorFile | protected String constructorFile(Code) | | Name of file for constructors
|
enable | protected boolean enable(Code) | | Describes if should execute JBlanket task
|
excludeConstructors | protected boolean excludeConstructors(Code) | | Describes if constructors were excluded from coverage
|
excludeIndividualMethods | protected boolean excludeIndividualMethods(Code) | | Describes if individual methods were excluded from coverage
|
excludeOneLineMethods | protected boolean excludeOneLineMethods(Code) | | Describes if one-line methods were excluded from coveage
|
excludedIndividualFile | protected String excludedIndividualFile(Code) | | Name of file for individually excluded methods
|
oneLineFile | protected String oneLineFile(Code) | | Name of file for methods containing only one line of source code
|
totalFile | protected String totalFile(Code) | | Name of file for total methods
|
verbose | protected boolean verbose(Code) | | Describes if additional output should be sent to standard out
|
JBlanketTask | public JBlanketTask()(Code) | | Constructs a new JBlanketTask object.
|
addConfiguredSysproperty | public void addConfiguredSysproperty(Environment.Variable systemProperty)(Code) | | Adds a system property. systemProperty contains the values in the
<sysproperty> nested element and is added to the system properties.
Parameters: systemProperty - the system property to add. |
setConstructorfile | public void setConstructorfile(String constructorFile)(Code) | | Sets the name of the XML file for constructors.
Parameters: constructorFile - the constructor file name. |
setEnable | public void setEnable(String enable)(Code) | | Describes whether the task should be enabled. Default value is true ,
i.e., execute JBlanket.
Parameters: enable - true , on , or yes to execute the task, orfalse , off , or no to not execute thetask. |
setExcludeconstructors | public void setExcludeconstructors(String excludeConstructors)(Code) | | Describes whether constructors should be excluded from the coverage measurement.
Default value is false , i.e., include constructors.
Parameters: excludeConstructors - true , on , or yes toexclude constructors, or false , off , orno to include constructors. |
setExcludedindividualfile | public void setExcludedindividualfile(String excludedIndividualFile)(Code) | | Sets the name of the XML file for individually excluded methods.
Parameters: excludedIndividualFile - the exclude individual methods file name. |
setExcludeindividualmethods | public void setExcludeindividualmethods(String excludeIndividualMethods)(Code) | | Describes whether individual methods should be excluded from the coverage measurement.
Default value is false , i.e., do not individually exclude methods.
Parameters: excludeIndividualMethods - true , on , or yes toindividually exclude methods, or false ,off , or no to not individually exclude methods. |
setExcludeonelinemethods | public void setExcludeonelinemethods(String excludeOneLineMethods)(Code) | | Describes whether one-line methods should be excluded from the coverage measurement.
Default value is false , i.e., include one-line methods.
Parameters: excludeOneLineMethods - true , on , or yes toexclude one-line methods, or false ,off , or no to include one-linemethods. |
setFork | public void setFork(String value)(Code) | | Tells whether a JVM should be forked for each testcase -- not implemented.
It avoids interference between testcases and possibly avoids hanging the build. This property
is applied on all BatchTest (batchtest) and JUnitTest (test) however it can possibly be
overridden by their own properties. (From Ant JUnitTask)
NOTE: possible future addition.
Parameters: value - true if a JVM should be forked. |
setOnelinefile | public void setOnelinefile(String oneLineFile)(Code) | | Sets the name of the XML file for methods containing one line of source code.
Parameters: oneLineFile - the one line file name. |
setPrintsummary | public void setPrintsummary(String value)(Code) | | Tells whether the task should print a short summary of the task -- not implemeneted.
NOTE: possible future addition. This is not needed unless execute JUnit tests
inside of JBlanket system vs. currently executing tests outside with JUnit.
Parameters: value - true to print a summary,withOutAndErr to include the test's output as well. |
setTotalfile | public void setTotalfile(String totalFile)(Code) | | Sets the name of the XML file for all methods in the system.
Parameters: totalFile - the total file name. |
setVerbose | public void setVerbose(String value)(Code) | | Describes whether additional output should be sent to standard out.
Default value is false , i.e., do not operate in verbose mode.
Parameters: value - true , on , or yes to operate in verbosemode, or false , off , or no to not operatein verbose mode. |
|
|