|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.eclipse.emf.test.tools.merger.facade.BaseFacadeTest
org.eclipse.emf.test.tools.merger.facade.MethodsTest
public class MethodsTest
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.test.tools.merger.facade.BaseFacadeTest |
---|
BaseFacadeTest.Operation |
Field Summary |
---|
Fields inherited from class org.eclipse.emf.test.tools.merger.facade.BaseFacadeTest |
---|
baseDataDirectory, compilationUnit, compilationUnitFile, compilationUnitFileName, facadeHelper, testDirectoryName |
Constructor Summary | |
---|---|
MethodsTest()
|
Method Summary | |
---|---|
protected void |
modifyMethod(JMethod method,
java.lang.String modificationId,
int noParameters,
int noExceptions,
int noTypeParameters,
int flags,
boolean enableSetParameters)
|
protected void |
moveAndModifyMethod1()
Moves method1 from class to the enum. |
protected void |
moveAndModifyMethod2()
Does all modifications of testMoveAndModify1() ,
switches the order of annotations of method1 in enum, modifies these annotations,
then clones the method and inserts cloned method back into class 1. |
protected void |
readModifiedMethod(JMethod method,
java.lang.String modificationId,
int noParameters,
int noExceptions,
int noTypeParameters,
int flags,
boolean enableSetParameters)
|
void |
testMoveAndModify1()
Moves method1 from class to the enum. |
void |
testMoveAndModify2()
Does all modifications of testMoveAndModify1() ,
switches the order of annotations of method1 in enum, modifies these annotations,
then clones the method and inserts cloned method back into class 1. |
void |
testMoveClasses()
Does all modifications of testMoveAndModify2() ,
and at the end switches the order of enum and class. |
Methods inherited from class org.eclipse.emf.test.tools.merger.facade.BaseFacadeTest |
---|
addChild, adjustJavaCoreOptions, insertSibling, instanciateFacadeHelper, remove, removeAllChildren, removeAllChildren, rewriteAndCompare, rewriteAndCompare, setUp, testNoChildren, testNoChildren, updateNoChildren, updateNoChildren |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, 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, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MethodsTest()
Method Detail |
---|
public void testMoveAndModify1()
public void testMoveAndModify2()
testMoveAndModify1()
,
switches the order of annotations of method1 in enum, modifies these annotations,
then clones the method and inserts cloned method back into class 1.
public void testMoveClasses()
testMoveAndModify2()
,
and at the end switches the order of enum and class.
protected void moveAndModifyMethod1()
protected void moveAndModifyMethod2()
testMoveAndModify1()
,
switches the order of annotations of method1 in enum, modifies these annotations,
then clones the method and inserts cloned method back into class 1.
protected void modifyMethod(JMethod method, java.lang.String modificationId, int noParameters, int noExceptions, int noTypeParameters, int flags, boolean enableSetParameters)
protected void readModifiedMethod(JMethod method, java.lang.String modificationId, int noParameters, int noExceptions, int noTypeParameters, int flags, boolean enableSetParameters)
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |