de.saumya.mojo.tests
Class AbstractTestScriptFactory

java.lang.Object
  extended by de.saumya.mojo.tests.AbstractTestScriptFactory
All Implemented Interfaces:
TestScriptFactory
Direct Known Subclasses:
AbstractMavenTestScriptFactory

public abstract class AbstractTestScriptFactory
extends Object
implements TestScriptFactory


Field Summary
protected  File baseDir
           
protected  List<String> classpathElements
           
protected  File gemHome
           
protected  File[] gemPaths
           
protected  File outputDir
           
protected  File reportPath
           
protected  File sourceDir
           
protected  File summaryReport
           
protected  Properties systemProperties
           
 
Constructor Summary
AbstractTestScriptFactory()
           
 
Method Summary
 void emit()
           
 File getScriptFile()
           
protected abstract  String getScriptName()
           
 void setBaseDir(File baseDir)
           
 void setClasspathElements(List<String> classpathElements)
           
 void setGemHome(File gemHome)
           
 void setGemPaths(File[] gemPaths)
           
 void setOutputDir(File outputDir)
           
 void setReportPath(File reportPath)
           
 void setSourceDir(File sourceDir)
           
 void setSummaryReport(File summaryReport)
           
 void setSystemProperties(Properties systemProperties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.saumya.mojo.tests.TestScriptFactory
getCoreScript, getFullScript
 

Field Detail

classpathElements

protected List<String> classpathElements

summaryReport

protected File summaryReport

outputDir

protected File outputDir

baseDir

protected File baseDir

sourceDir

protected File sourceDir

reportPath

protected File reportPath

systemProperties

protected Properties systemProperties

gemHome

protected File gemHome

gemPaths

protected File[] gemPaths
Constructor Detail

AbstractTestScriptFactory

public AbstractTestScriptFactory()
Method Detail

setClasspathElements

public void setClasspathElements(List<String> classpathElements)
Specified by:
setClasspathElements in interface TestScriptFactory

setSummaryReport

public void setSummaryReport(File summaryReport)
Specified by:
setSummaryReport in interface TestScriptFactory

setOutputDir

public void setOutputDir(File outputDir)
Specified by:
setOutputDir in interface TestScriptFactory

setBaseDir

public void setBaseDir(File baseDir)
Specified by:
setBaseDir in interface TestScriptFactory

setSourceDir

public void setSourceDir(File sourceDir)
Specified by:
setSourceDir in interface TestScriptFactory

setReportPath

public void setReportPath(File reportPath)
Specified by:
setReportPath in interface TestScriptFactory

setSystemProperties

public void setSystemProperties(Properties systemProperties)
Specified by:
setSystemProperties in interface TestScriptFactory

setGemHome

public void setGemHome(File gemHome)
Specified by:
setGemHome in interface TestScriptFactory

setGemPaths

public void setGemPaths(File[] gemPaths)
Specified by:
setGemPaths in interface TestScriptFactory

getScriptName

protected abstract String getScriptName()

getScriptFile

public File getScriptFile()
Specified by:
getScriptFile in interface TestScriptFactory

emit

public void emit()
          throws IOException
Specified by:
emit in interface TestScriptFactory
Throws:
IOException


Copyright © 2013. All Rights Reserved.