de.topicmapslab.majortom.tests.revision
Class TestRevisions

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by de.topicmapslab.majortom.tests.MaJorToMTestCase
              extended by de.topicmapslab.majortom.tests.revision.TestRevisions
All Implemented Interfaces:
junit.framework.Test

public class TestRevisions
extends MaJorToMTestCase

Author:
Sven Krosse

Field Summary
 
Fields inherited from class de.topicmapslab.majortom.tests.MaJorToMTestCase
BASE, factory, topicMap, topicMapSystem
 
Constructor Summary
TestRevisions()
           
 
Method Summary
 void checkChange(de.topicmapslab.majortom.model.revision.IRevisionChange change, de.topicmapslab.majortom.model.event.TopicMapEventType type, org.tmapi.core.Construct context, java.lang.Object newValue, java.lang.Object oldValue)
           
protected  void setUp()
          
 void testAssociationRevisions()
           
 void testChangesetType()
           
 void testLastModification()
           
 void testMergeInRevision()
           
 void testMetaData()
           
 void testRemoveDuplicatesRevision()
           
 void testRemovingTypeInstanceRelation()
           
 void testRoleRevisions()
           
 void testTopicMapRevision()
           
 void testTopicRemovedRevision()
           
 void testTopicRevisions()
           
 
Methods inherited from class de.topicmapslab.majortom.tests.MaJorToMTestCase
createAssociation, createLocator, createTopic, createTopicByII, createTopicBySI, createTopicBySL, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

TestRevisions

public TestRevisions()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: MaJorToMTestCase

Overrides:
setUp in class MaJorToMTestCase
Throws:
java.lang.Exception

testTopicRevisions

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

testLastModification

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

checkChange

public void checkChange(de.topicmapslab.majortom.model.revision.IRevisionChange change,
                        de.topicmapslab.majortom.model.event.TopicMapEventType type,
                        org.tmapi.core.Construct context,
                        java.lang.Object newValue,
                        java.lang.Object oldValue)

testTopicRemovedRevision

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

testRoleRevisions

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

testAssociationRevisions

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

testRemovingTypeInstanceRelation

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

testMetaData

public void testMetaData()

testChangesetType

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

testTopicMapRevision

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

testMergeInRevision

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

testRemoveDuplicatesRevision

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