de.topicmapslab.majortom.tests.event
Class TestEventModel

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

public class TestEventModel
extends MaJorToMTestCase

Author:
Sven Krosse

Nested Class Summary
(package private)  class TestEventModel.CheckedTopicMapListener
           
 
Field Summary
 
Fields inherited from class de.topicmapslab.majortom.tests.MaJorToMTestCase
BASE, factory, topicMap, topicMapSystem
 
Constructor Summary
TestEventModel()
           
 
Method Summary
 void _testEventConstructRemoved(org.tmapi.core.Construct parent, org.tmapi.core.Construct construct)
           
 void _testEventItemIdentifierAdded(org.tmapi.core.Construct construct, org.tmapi.core.Locator itemIdentifier)
           
 void _testEventItemIdentifierRemoved(org.tmapi.core.Construct construct, org.tmapi.core.Locator locator)
           
 void _testEventReifierSet(org.tmapi.core.Reifiable reifiable, de.topicmapslab.majortom.model.core.ITopic newReifier, de.topicmapslab.majortom.model.core.ITopic oldReifier)
           
 void _testEventScopeModified(org.tmapi.core.Scoped scoped, java.util.Set<org.tmapi.core.Topic> themes)
           
 void _testEventTypeSet(org.tmapi.core.Typed typeable, de.topicmapslab.majortom.model.core.ITopic newType, de.topicmapslab.majortom.model.core.ITopic oldType)
           
 void _testEventValueModified(org.tmapi.core.Construct construct, java.lang.String newValue_, java.lang.String oldValue_)
           
 void testEventAssociationAdded()
           
 void testEventConstructRemoved()
           
 void testEventItemIdentifierAdded()
           
 void testEventItemIdentifierRemoved()
           
 void testEventMerge()
           
 void testEventNameAdded()
           
 void testEventOccurrenceAdded()
           
 void testEventPlayerModified()
           
 void testEventReifierSet()
           
 void testEventRoleAdded()
           
 void testEventScopeModified()
           
 void testEventSubjectIdentifierAdded()
           
 void testEventSubjectIdentifierRemoved()
           
 void testEventSubjectLocatorAdded()
           
 void testEventSubjectLocatorRemoved()
           
 void testEventSupertypeAdded()
           
 void testEventSupertypeRemoved()
           
 void testEventTopicAdded()
           
 void testEventTypeAdded()
           
 void testEventTypeRemoved()
           
 void testEventTypeSet()
           
 void testEventValueModified()
           
 void testEventVariantAdded()
           
 
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

TestEventModel

public TestEventModel()
Method Detail

testEventTopicAdded

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

testEventTypeAdded

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

testEventSupertypeAdded

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

testEventSubjectIdentifierAdded

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

testEventSubjectLocatorAdded

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

testEventItemIdentifierAdded

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

_testEventItemIdentifierAdded

public void _testEventItemIdentifierAdded(org.tmapi.core.Construct construct,
                                          org.tmapi.core.Locator itemIdentifier)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testEventScopeModified

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

_testEventScopeModified

public void _testEventScopeModified(org.tmapi.core.Scoped scoped,
                                    java.util.Set<org.tmapi.core.Topic> themes)
                             throws java.lang.Exception
Throws:
java.lang.Exception

testEventRoleAdded

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

testEventAssociationAdded

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

testEventNameAdded

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

testEventOccurrenceAdded

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

testEventVariantAdded

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

testEventPlayerModified

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

testEventSubjectIdentifierRemoved

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

testEventSubjectLocatorRemoved

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

testEventItemIdentifierRemoved

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

_testEventItemIdentifierRemoved

public void _testEventItemIdentifierRemoved(org.tmapi.core.Construct construct,
                                            org.tmapi.core.Locator locator)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testEventTypeRemoved

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

testEventSupertypeRemoved

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

testEventConstructRemoved

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

_testEventConstructRemoved

public void _testEventConstructRemoved(org.tmapi.core.Construct parent,
                                       org.tmapi.core.Construct construct)
                                throws java.lang.Exception
Throws:
java.lang.Exception

testEventTypeSet

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

_testEventTypeSet

public void _testEventTypeSet(org.tmapi.core.Typed typeable,
                              de.topicmapslab.majortom.model.core.ITopic newType,
                              de.topicmapslab.majortom.model.core.ITopic oldType)
                       throws java.lang.Exception
Throws:
java.lang.Exception

testEventReifierSet

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

_testEventReifierSet

public void _testEventReifierSet(org.tmapi.core.Reifiable reifiable,
                                 de.topicmapslab.majortom.model.core.ITopic newReifier,
                                 de.topicmapslab.majortom.model.core.ITopic oldReifier)
                          throws java.lang.Exception
Throws:
java.lang.Exception

testEventValueModified

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

_testEventValueModified

public void _testEventValueModified(org.tmapi.core.Construct construct,
                                    java.lang.String newValue_,
                                    java.lang.String oldValue_)
                             throws java.lang.Exception
Throws:
java.lang.Exception

testEventMerge

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