org.codenarc.test
Class AbstractTestCase

java.lang.Object
  extended by org.codenarc.test.AbstractTestCase
All Implemented Interfaces:
groovy.lang.GroovyObject
Direct Known Subclasses:
AbstractRuleTestCase

public abstract class AbstractTestCase
extends Object
implements groovy.lang.GroovyObject


Field Summary
protected static Object CODENARC_PROPERTIES_FILE_PROP
           
protected  Object LOG
           
 org.junit.rules.TestName testName
           
 
Constructor Summary
AbstractTestCase()
           
 
Method Summary
 groovy.lang.MetaClass getMetaClass()
           
protected  String getName()
           
 Object getProperty(String property)
           
 Object invokeMethod(String method, Object arguments)
           
protected  void log(Object message)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 void setUpAbstractTestCase()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CODENARC_PROPERTIES_FILE_PROP

protected static Object CODENARC_PROPERTIES_FILE_PROP

LOG

protected Object LOG

testName

public org.junit.rules.TestName testName
Constructor Detail

AbstractTestCase

public AbstractTestCase()
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

log

protected void log(Object message)

getName

protected String getName()

setUpAbstractTestCase

public void setUpAbstractTestCase()


Copyright © 2014. All rights reserved.