|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgroovy.org.codenarc.test.AbstractTestCase
@SuppressWarnings(['AbstractClassWithoutAbstractMethod', 'ConfusingMethodName']) abstract class AbstractTestCase
Abstract superclass for tests
| 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 |
|---|
protected static final def CODENARC_PROPERTIES_FILE_PROP
@SuppressWarnings('FieldName')
protected final def LOG
@SuppressWarnings('PublicInstanceField')
@Rule
public org.junit.rules.TestName testName
| Method Detail |
|---|
protected String getName()
protected void log(def message)
message - - the message to log; toString() is applied first
@Before void setUpAbstractTestCase()
Groovy Documentation