Class AbstractTestCase

  • All Implemented Interfaces:
    groovy.lang.GroovyObject
    Direct Known Subclasses:
    AbstractRuleTestCase

    public abstract class AbstractTestCase
    extends Object
    implements groovy.lang.GroovyObject
    • Field Detail

      • CODENARC_PROPERTIES_FILE_PROP

        protected static final Object CODENARC_PROPERTIES_FILE_PROP
      • LOG

        protected final 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()