org.eclipse.emf.test.core.change
Class ChangeRecordTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.eclipse.emf.test.core.change.ChangeRecordTest
All Implemented Interfaces:
junit.framework.Test

public class ChangeRecordTest
extends junit.framework.TestCase


Constructor Summary
ChangeRecordTest(java.lang.String name)
           
ChangeRecordTest(java.lang.String name, boolean callSummarize)
           
 
Method Summary
protected  void applyCheck(ChangeDescription changeDescription, java.util.List<EObject> beforeChange, boolean initialListAreDifferent)
           
protected  void setUp()
           
static junit.framework.Test suite()
           
static junit.framework.Test suite(boolean callSummarize)
           
 void testAddElementAndApply()
           
 void testApply()
           
 void testApplyAndReverse()
           
 void testAttribute()
           
 void testEException()
           
 void testEGenericSuperTypes1()
           
 void testESuperTypes()
           
 void testEType()
           
 void testMoveElementAndApply()
           
 void testMultipleLoads()
           
 void testRemoveElementAndApply()
           
 void testResource()
           
 void testResourceSetChanges1()
           
 void testResourceSetChanges2()
           
 void testResourceSetChanges3()
           
 void testResumeRecording()
           
 void testResumeSerializedRecording()
           
 void testReuse()
           
 void testSetElement()
           
 void testUnsettableList()
           
 
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

ChangeRecordTest

public ChangeRecordTest(java.lang.String name)

ChangeRecordTest

public ChangeRecordTest(java.lang.String name,
                        boolean callSummarize)
Method Detail

suite

public static junit.framework.Test suite()

suite

public static junit.framework.Test suite(boolean callSummarize)

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testSetElement

public void testSetElement()

testRemoveElementAndApply

public void testRemoveElementAndApply()

testAddElementAndApply

public void testAddElementAndApply()

testMoveElementAndApply

public void testMoveElementAndApply()

testApply

public void testApply()

testApplyAndReverse

public void testApplyAndReverse()

testReuse

public void testReuse()

testResource

public void testResource()

testAttribute

public void testAttribute()

applyCheck

protected void applyCheck(ChangeDescription changeDescription,
                          java.util.List<EObject> beforeChange,
                          boolean initialListAreDifferent)

testResumeRecording

public void testResumeRecording()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testResumeSerializedRecording

public void testResumeSerializedRecording()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testResourceSetChanges1

public void testResourceSetChanges1()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testResourceSetChanges2

public void testResourceSetChanges2()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testResourceSetChanges3

public void testResourceSetChanges3()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testUnsettableList

public void testUnsettableList()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testMultipleLoads

public void testMultipleLoads()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testESuperTypes

public void testESuperTypes()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testEGenericSuperTypes1

public void testEGenericSuperTypes1()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testEType

public void testEType()
               throws java.lang.Exception
Throws:
java.lang.Exception

testEException

public void testEException()
                    throws java.lang.Exception
Throws:
java.lang.Exception

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