org.eclipse.emf.test.tools.merger.facade
Class TypesTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.eclipse.emf.test.tools.merger.facade.BaseFacadeTest
              extended by org.eclipse.emf.test.tools.merger.facade.TypesTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
EnumsTest

public class TypesTest
extends BaseFacadeTest


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.test.tools.merger.facade.BaseFacadeTest
BaseFacadeTest.Operation
 
Field Summary
protected  int numberOfChildren
           
 
Fields inherited from class org.eclipse.emf.test.tools.merger.facade.BaseFacadeTest
baseDataDirectory, compilationUnit, compilationUnitFile, compilationUnitFileName, facadeHelper, testDirectoryName
 
Constructor Summary
TypesTest()
           
 
Method Summary
protected  void clearAllPropertiesOfType(JAbstractType abstractType)
           
protected  void modifyType(JAbstractType abstractType, java.lang.String modificationId, int flags)
           
protected  JAbstractType moveAndModifyExistingType(JAbstractType type)
          Moves existing type twice while testing and modifying all properties.
protected  JAbstractType moveAndModifyTypes()
          Performs everything on AnotherClass that moveAndModifyExistingType(JAbstractType) then clones AnotherClass, adds, removes and adds cloned AnotherClass.
protected  void readOriginalType(JAbstractType abstractType)
           
protected  void readType(JAbstractType abstractType, java.lang.String modificationId, int flags)
           
 void testCompilationUnitName()
           
 void testMoveAndModify1()
           
 void testMoveAndModify2()
           
 
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
 

Field Detail

numberOfChildren

protected int numberOfChildren
Constructor Detail

TypesTest

public TypesTest()
Method Detail

testCompilationUnitName

public void testCompilationUnitName()

testMoveAndModify1

public void testMoveAndModify1()

testMoveAndModify2

public void testMoveAndModify2()

moveAndModifyTypes

protected JAbstractType moveAndModifyTypes()
Performs everything on AnotherClass that moveAndModifyExistingType(JAbstractType) then clones AnotherClass, adds, removes and adds cloned AnotherClass.


moveAndModifyExistingType

protected JAbstractType moveAndModifyExistingType(JAbstractType type)
Moves existing type twice while testing and modifying all properties. During the last move, switches the order of annotations, testing their contents.


readOriginalType

protected void readOriginalType(JAbstractType abstractType)

modifyType

protected void modifyType(JAbstractType abstractType,
                          java.lang.String modificationId,
                          int flags)

readType

protected void readType(JAbstractType abstractType,
                        java.lang.String modificationId,
                        int flags)

clearAllPropertiesOfType

protected void clearAllPropertiesOfType(JAbstractType abstractType)

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.