org.codehaus.groovy.grails.test.compiler
Class GrailsTestCompiler

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.MatchingTask
              extended by org.codehaus.groovy.ant.Groovyc
                  extended by org.codehaus.groovy.grails.compiler.Grailsc
                      extended by org.codehaus.groovy.grails.test.compiler.GrailsTestCompiler
All Implemented Interfaces:
java.lang.Cloneable, org.apache.tools.ant.types.selectors.SelectorContainer

public class GrailsTestCompiler
extends org.codehaus.groovy.grails.compiler.Grailsc

Extended compiler for automatically applying the @TestFor and @Mock annotations to tests by convention.

Since:
2.0

Field Summary
 
Fields inherited from class org.codehaus.groovy.ant.Groovyc
compileList, configuration, failOnError, listFiles
 
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
fileset
 
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
GrailsTestCompiler()
           
 
Method Summary
protected  org.codehaus.groovy.control.CompilationUnit makeCompileUnit()
           
 
Methods inherited from class org.codehaus.groovy.grails.compiler.Grailsc
compile, scanDir
 
Methods inherited from class org.codehaus.groovy.ant.Groovyc
addConfiguredJavac, addToCompileList, buildClassLoaderFor, checkParameters, createClasspath, createSourcepath, createSrc, execute, getClasspath, getDestdir, getEncoding, getFailonerror, getFileList, getIncludeantruntime, getIncludejavaruntime, getKeepStubs, getListfiles, getMemoryInitialSize, getMemoryMaximumSize, getScriptExtension, getSourcepath, getSrcdir, getStubdir, getTargetBytecode, getTaskSuccess, getVerbose, isIncludeDestClasses, recreateSrc, resetFileLists, setClasspath, setClasspathRef, setDestdir, setEncoding, setErrorProperty, setFailonerror, setFork, setIncludeantruntime, setIncludeDestClasses, setIncludejavaruntime, setJavaHome, setKeepStubs, setListfiles, setMemoryInitialSize, setMemoryMaximumSize, setProceed, setScriptExtension, setSourcepath, setSourcepathRef, setSrcdir, setStacktrace, setStubdir, setTargetBytecode, setUpdatedProperty, setVerbose
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrailsTestCompiler

public GrailsTestCompiler()
Method Detail

makeCompileUnit

protected org.codehaus.groovy.control.CompilationUnit makeCompileUnit()
Overrides:
makeCompileUnit in class org.codehaus.groovy.grails.compiler.Grailsc