|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceforge.jemm.weaver.transformation.AbstractClassTransformationTest
public class AbstractClassTransformationTest
Confirms the behaviour of the default equals and hashcode methods of AbstractClassTransformation. Equals should return true when the class is the same (but with different instances), and hashcode should be consistent with that.
| Constructor Summary | |
|---|---|
AbstractClassTransformationTest()
|
|
| Method Summary | |
|---|---|
void |
consistentHashcode()
Test that two identical transformers have consistent hashcodes (x.hashCode() == y.hashCode()) |
void |
equalsEqual()
Test that two identical transformers have x.equals(y) and y.equals(x) |
void |
equalsNotEqual()
That that two different transformers are not equal using .equals(). |
void |
inconsistentHashcode()
That that two different transformers have different hashcodes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractClassTransformationTest()
| Method Detail |
|---|
public void equalsEqual()
throws java.lang.Exception
java.lang.Exception - On Error.
public void equalsNotEqual()
throws java.lang.Exception
java.lang.Exception - On test failure.
public void consistentHashcode()
throws java.lang.Exception
java.lang.Exception - On Error.
public void inconsistentHashcode()
throws java.lang.Exception
java.lang.Exception - On test failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||