|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceforge.jemm.weaver.DefaultTestCase
org.sourceforge.jemm.weaver.transformation.TransformSynchronizedTest
public class TransformSynchronizedTest
Tests TransformSynchronizedTest is able to convert the two bytecodes it is meant to.
| Constructor Summary | |
|---|---|
TransformSynchronizedTest()
|
|
| Method Summary | |
|---|---|
void |
executeException()
Tests a synchronized(this) { throw RuntimeException } and makes sure despite the exception that the |
void |
executeOnLock()
Tests the syncyhronized(lock) is converted into calls to beginLock and endLock in the right order. |
void |
executeOnNested()
Tests a nested synchronized(this) { syncyhronized(lock) { ... |
void |
executeOnThis()
Tests the syncyhronized(this) is converted into calls to beginLock and endLock in the right order. |
void |
setUp()
|
void |
tearDown()
|
void |
transform()
Run the transformation and ensure it works without error |
void |
transformNested()
|
| Methods inherited from class org.sourceforge.jemm.weaver.DefaultTestCase |
|---|
checkedExceptionThrowingConstructorClass, childDummyClass, cleanupClassPool, containedDummyClass, emptyClass, exceptionThrowingConstructorClass, hackClassPath, initialiseClass, initialiseSession, loadClass, methodClass, methodJEMMObjectAccess, referenceArrayClass, referenceClass, synchronizedBlockDummyClass, unconvertedContainedDummyClass, unloadClass, unsupportedDummyClass |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransformSynchronizedTest()
| Method Detail |
|---|
public void setUp()
throws java.lang.Exception
java.lang.Exception
public void tearDown()
throws java.lang.Exception
java.lang.Exception
public void transform()
throws java.lang.Exception
java.lang.Exception
public void transformNested()
throws java.lang.Exception
java.lang.Exception
public void executeOnThis()
throws java.lang.Exception
java.lang.Exception
public void executeOnLock()
throws java.lang.Exception
java.lang.Exception
public void executeOnNested()
throws java.lang.Exception
java.lang.Exception
public void executeException()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||