de.topicmapslab.majortom.tests.index
Class TestRevisionIndex

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

public class TestRevisionIndex
extends MaJorToMTestCase

Author:
Sven Krosse

Field Summary
 
Fields inherited from class de.topicmapslab.majortom.tests.MaJorToMTestCase
BASE, factory, topicMap, topicMapSystem
 
Constructor Summary
TestRevisionIndex()
           
 
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)
           
 void testGetChangeset()
          Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getChangeset(org.tmapi.core.Topic) .
 void testGetFirstRevision()
          Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getFirstRevision() .
 void testGetLastModification()
          Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getLastModification() .
 void testGetLastModificationTopic()
          Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getLastModification(org.tmapi.core.Topic) .
 void testGetLastRevision()
          Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getLastRevision() .
 void testGetRevisionCalendar()
          Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getRevision(java.util.Calendar) .
 void testGetRevisionLong()
          Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getRevision(long) .
 void testGetRevisions()
          Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getRevisions(org.tmapi.core.Topic) .
 void testGetRevisionString()
          Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getRevision(java.lang.String) .
 
Methods inherited from class de.topicmapslab.majortom.tests.MaJorToMTestCase
createAssociation, createLocator, createTopic, createTopicByII, createTopicBySI, createTopicBySL, setUp, 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

TestRevisionIndex

public TestRevisionIndex()
Method Detail

testGetChangeset

public void testGetChangeset()
Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getChangeset(org.tmapi.core.Topic) .


testGetFirstRevision

public void testGetFirstRevision()
Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getFirstRevision() .


testGetLastModification

public void testGetLastModification()
Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getLastModification() .


testGetLastModificationTopic

public void testGetLastModificationTopic()
Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getLastModification(org.tmapi.core.Topic) .


testGetLastRevision

public void testGetLastRevision()
Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getLastRevision() .


testGetRevisionCalendar

public void testGetRevisionCalendar()
Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getRevision(java.util.Calendar) .


testGetRevisionString

public void testGetRevisionString()
Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getRevision(java.lang.String) .


testGetRevisionLong

public void testGetRevisionLong()
Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getRevision(long) .


testGetRevisions

public void testGetRevisions()
Test method for de.topicmapslab.majortom.inMemory.index.InMemoryRevisionIndex#getRevisions(org.tmapi.core.Topic) .


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)