|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
groovy.util.GroovyTestCase
org.gmetrics.test.AbstractTestCase
org.gmetrics.metric.AbstractMetricTestCase
org.gmetrics.metric.AbstractCommonMetricTestCase
org.gmetrics.metric.AbstractCommonMethodMetricTestCase
org.gmetrics.metric.crap.CrapMetric_CommonTest
public class CrapMetric_CommonTest
Field Summary |
---|
Fields inherited from class org.gmetrics.metric.AbstractCommonMetricTestCase |
---|
SOURCE |
Fields inherited from class org.gmetrics.metric.AbstractMetricTestCase |
---|
CONSTRUCTOR_NAME, DEFAULT_CONSTRUCTOR, metric, RUN_METHOD, sourceCode |
Fields inherited from class groovy.util.GroovyTestCase |
---|
log, TEST_SCRIPT_NAME_PREFIX |
Constructor Summary | |
---|---|
CrapMetric_CommonTest()
|
Method Summary | |
---|---|
static java.lang.Object |
getDoesMetricTreatClosuresAsMethods()
|
groovy.lang.MetaClass |
getMetaClass()
|
static java.lang.Object |
getMetricClass()
|
java.lang.Object |
getProperty(java.lang.String property)
|
java.lang.Object |
invokeMethod(java.lang.String method,
java.lang.Object arguments)
|
static void |
setDoesMetricTreatClosuresAsMethods(java.lang.Object value)
|
void |
setMetaClass(groovy.lang.MetaClass mc)
|
static void |
setMetricClass(java.lang.Object value)
|
void |
setProperty(java.lang.String property,
java.lang.Object value)
|
void |
setUp()
|
Methods inherited from class org.gmetrics.metric.AbstractCommonMetricTestCase |
---|
testApplyToClass_SetsLineNumber, testEnabledFalse_ReturnsNullFor_ApplyToClass, testEnabledFalse_ReturnsNullFor_ApplyToPackage, testFunctions_DefaultsTo_TotalAndAverage, testImplementsMetricInterface |
Methods inherited from class org.gmetrics.test.AbstractTestCase |
---|
assertBothAreFalseOrElseNeitherIs, assertContainsAll, assertContainsAllInOrder, assertEqualSets, captureLog4JMessages, captureSystemOut, classResultsNode, classResultsNode, containsAll, isNotGroovy15, log, methodResultsNode, packageResultsNode, packageResultsNode, scale, scale, shouldFailWithMessageContaining |
Methods inherited from class groovy.util.GroovyTestCase |
---|
assertArrayEquals, assertContains, assertContains, assertEquals, assertEquals, assertEquals, assertInspect, assertLength, assertLength, assertLength, assertScript, assertToString, fixEOLs, getMethodName, getName, getTestClassName, notYetImplemented, notYetImplemented, shouldFail, shouldFail, shouldFailWithCause |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CrapMetric_CommonTest()
Method Detail |
---|
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
getMetaClass
in class AbstractCommonMethodMetricTestCase
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
in class AbstractCommonMethodMetricTestCase
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class AbstractCommonMethodMetricTestCase
public java.lang.Object getProperty(java.lang.String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class AbstractCommonMethodMetricTestCase
public void setProperty(java.lang.String property, java.lang.Object value)
setProperty
in interface groovy.lang.GroovyObject
setProperty
in class AbstractCommonMethodMetricTestCase
public static java.lang.Object getMetricClass()
public static void setMetricClass(java.lang.Object value)
public static java.lang.Object getDoesMetricTreatClosuresAsMethods()
public static void setDoesMetricTreatClosuresAsMethods(java.lang.Object value)
public void setUp()
setUp
in class AbstractMetricTestCase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |