org.sourceforge.jemm.weaver.transformation
Class AssignedShadowConstructorTransformationTest

java.lang.Object
  extended by org.sourceforge.jemm.weaver.DefaultTestCase
      extended by org.sourceforge.jemm.weaver.transformation.AssignedShadowConstructorTransformationTest

public class AssignedShadowConstructorTransformationTest
extends DefaultTestCase

JUnit tests for ShadowConstructorTransformation.

Author:
Paul Keeble

Constructor Summary
AssignedShadowConstructorTransformationTest()
           
 
Method Summary
 void execution()
          Execute the ShadowConstructorTransform and check that it was successful.
 void normalTransform()
          Basic test that the transformation successfully generates the internal constructor.
 void setUp()
          Per-test setup code run before each test.
 void tearDown()
          Per-test cleanup code run after each test.
 
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

AssignedShadowConstructorTransformationTest

public AssignedShadowConstructorTransformationTest()
Method Detail

setUp

public void setUp()
           throws javassist.NotFoundException
Per-test setup code run before each test.

Throws:
javassist.NotFoundException - On Error.

tearDown

public void tearDown()
Per-test cleanup code run after each test.


normalTransform

public void normalTransform()
                     throws javassist.NotFoundException
Basic test that the transformation successfully generates the internal constructor.

Throws:
javassist.NotFoundException

execution

public void execution()
               throws java.lang.Exception
Execute the ShadowConstructorTransform and check that it was successful.

Throws:
java.lang.Exception - On Error.


Copyright © 2009. All Rights Reserved.