|
||||||||||
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.FieldsTest
public class FieldsTest
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 | |
---|---|
FieldsTest()
|
Method Summary | |
---|---|
protected void |
modifyField(JField field,
java.lang.String modificationId)
|
protected void |
moveAndModifyField1()
Moves field1 from class to the enum. |
protected void |
moveAndModifyField2()
Does all modifications of testMoveAndModify1() ,
switches the order of annotations of field1 in enum, modifies these annotations,
then clones the field and inserts cloned field back into class 1. |
protected void |
readModifiedField1(JField field2,
java.lang.String modificationId)
|
protected void |
readModifiedField2(JField field2,
java.lang.String modificationId)
|
protected void |
readOriginalField1(JField field)
|
protected void |
readOriginalField2(JField field)
|
void |
testMoveAndModify1()
Moves field1 from class to the enum. |
void |
testMoveAndModify2()
Does all modifications of testMoveAndModify1() ,
switches the order of annotations of field1 in enum, modifies these annotations,
then clones the field and inserts cloned field 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 FieldsTest()
Method Detail |
---|
public void testMoveAndModify1()
public void testMoveAndModify2()
testMoveAndModify1()
,
switches the order of annotations of field1 in enum, modifies these annotations,
then clones the field and inserts cloned field back into class 1.
public void testMoveClasses()
testMoveAndModify2()
,
and at the end switches the order of enum and class.
protected void moveAndModifyField1()
protected void moveAndModifyField2()
testMoveAndModify1()
,
switches the order of annotations of field1 in enum, modifies these annotations,
then clones the field and inserts cloned field back into class 1.
protected void modifyField(JField field, java.lang.String modificationId)
protected void readOriginalField1(JField field)
protected void readOriginalField2(JField field)
protected void readModifiedField1(JField field2, java.lang.String modificationId)
protected void readModifiedField2(JField field2, java.lang.String modificationId)
|
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 |