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

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.AnnotationsTest
All Implemented Interfaces:
junit.framework.Test

public class AnnotationsTest
extends BaseFacadeTest


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
AnnotationsTest()
           
AnnotationsTest(BaseFacadeTest anotherTest)
           
 
Method Summary
protected  void switchVersionAndDeprecatedAnnotations(JNode parentNode)
          Tests that the parent node has 2 annotations, version and deprecated, then switches the order of them
protected  void testDeprecatedAnnotation(JAnnotation annotation)
           
protected  void testSwitchedVersionAndDeprecated(JNode parentNode)
           
protected  void testVersionAndDeprecated(JNode parentNode)
           
protected  void testVersionAndDeprecated(JNode parentNode, int versionIndex, int deprecatedIndex)
           
protected  void testVersionAnnotation(JAnnotation annotation)
           
 
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

AnnotationsTest

public AnnotationsTest()

AnnotationsTest

public AnnotationsTest(BaseFacadeTest anotherTest)
Method Detail

switchVersionAndDeprecatedAnnotations

protected void switchVersionAndDeprecatedAnnotations(JNode parentNode)
Tests that the parent node has 2 annotations, version and deprecated, then switches the order of them


testDeprecatedAnnotation

protected void testDeprecatedAnnotation(JAnnotation annotation)

testVersionAnnotation

protected void testVersionAnnotation(JAnnotation annotation)

testVersionAndDeprecated

protected void testVersionAndDeprecated(JNode parentNode,
                                        int versionIndex,
                                        int deprecatedIndex)

testVersionAndDeprecated

protected void testVersionAndDeprecated(JNode parentNode)

testSwitchedVersionAndDeprecated

protected void testSwitchedVersionAndDeprecated(JNode parentNode)

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