|
||||||||||
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.result.MethodKeyTest
public class MethodKeyTest
Field Summary |
---|
Fields inherited from class groovy.util.GroovyTestCase |
---|
log, TEST_SCRIPT_NAME_PREFIX |
Constructor Summary | |
---|---|
MethodKeyTest()
|
Method Summary | |
---|---|
groovy.lang.MetaClass |
getMetaClass()
|
java.lang.Object |
getProperty(java.lang.String property)
|
java.lang.Object |
invokeMethod(java.lang.String method,
java.lang.Object arguments)
|
void |
setMetaClass(groovy.lang.MetaClass mc)
|
void |
setProperty(java.lang.String property,
java.lang.Object value)
|
void |
testConstructor_MethodNode_NullMethodNode()
|
void |
testConstructor_String_NullOrEmptyString()
|
void |
testEquals_NotAMethodKey()
|
void |
testEquals_Null()
|
void |
testEqualsAndHashCode_DifferentMethodNameValue()
|
void |
testEqualsAndHashCode_DifferentMethodNodeValues()
|
void |
testEqualsAndHashCode_OverriddenMethod()
|
void |
testEqualsAndHashCode_SameInstance()
|
void |
testEqualsAndHashCode_SameMethodNameValue()
|
void |
testEqualsAndHashCode_SameMethodNodeValue()
|
void |
testMethodName()
|
void |
testMethodNode()
|
Methods inherited from class org.gmetrics.test.AbstractTestCase |
---|
assertBothAreFalseOrElseNeitherIs, assertContainsAll, assertContainsAllInOrder, assertEqualSets, captureLog4JMessages, captureSystemOut, classResultsNode, classResultsNode, containsAll, isNotGroovy15, log, methodResultsNode, packageResultsNode, packageResultsNode, scale, scale, setUp, 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 MethodKeyTest()
Method Detail |
---|
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
getMetaClass
in class AbstractTestCase
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
in class AbstractTestCase
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class AbstractTestCase
public java.lang.Object getProperty(java.lang.String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class AbstractTestCase
public void setProperty(java.lang.String property, java.lang.Object value)
setProperty
in interface groovy.lang.GroovyObject
setProperty
in class AbstractTestCase
public void testMethodName()
public void testMethodNode()
public void testEqualsAndHashCode_SameInstance()
public void testEqualsAndHashCode_SameMethodNameValue()
public void testEqualsAndHashCode_SameMethodNodeValue()
public void testEqualsAndHashCode_DifferentMethodNameValue()
public void testEqualsAndHashCode_DifferentMethodNodeValues()
public void testEqualsAndHashCode_OverriddenMethod()
public void testEquals_NotAMethodKey()
public void testEquals_Null()
public void testConstructor_String_NullOrEmptyString()
public void testConstructor_MethodNode_NullMethodNode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |