Groovy Documentation

groovy.org.codenarc.test
[Groovy] Class AbstractTestCase

java.lang.Object
  groovy.org.codenarc.test.AbstractTestCase

@SuppressWarnings(['AbstractClassWithoutAbstractMethod', 'ConfusingMethodName'])
abstract class AbstractTestCase

Abstract superclass for tests

Authors:
Chris Mair
Hamlet D'Arcy


Field Summary
protected static def CODENARC_PROPERTIES_FILE_PROP

protected def LOG

org.junit.rules.TestName testName

 
Method Summary
protected String getName()

protected void log(def message)

Write out the specified log message, prefixing with the current class name.

void setUpAbstractTestCase()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

CODENARC_PROPERTIES_FILE_PROP

protected static final def CODENARC_PROPERTIES_FILE_PROP


LOG

@SuppressWarnings('FieldName')
protected final def LOG


testName

@SuppressWarnings('PublicInstanceField')
@Rule
public org.junit.rules.TestName testName


 
Method Detail

getName

protected String getName()


log

protected void log(def message)
Write out the specified log message, prefixing with the current class name.
Parameters:
message - - the message to log; toString() is applied first


setUpAbstractTestCase

@Before
void setUpAbstractTestCase()


 

Groovy Documentation