Package org.apache.jackrabbit.test.api.observation
-
Interface Summary Interface Description AbstractObservationTest.Callable Helper interface. -
Class Summary Class Description AbstractObservationTest This class implements the basicAbstractObservationTest.setUp()
andAbstractObservationTest.tearDown()
methods for the observation test cases.AddEventListenerTest Tests the options for addEventListener().EventIteratorTest Tests the methods the following methods:RangeIterator.getSize()
RangeIterator.getPosition()
RangeIterator.skip(long)
EventJournalTest EventJournalTest
performs EventJournal tests.EventResult Utility class forEvent
retrieval with anEventListener
.EventTest Tests methods on theEvent
interface.GetDateTest GetDateTest
checks if the dates returned by events are monotonically increasing.GetIdentifierTest IdentifierTest
checks if the identifier of an event is correct.GetInfoTest GetInfoTest
checks that the info map is empty for event types:Event.NODE_ADDED
,Event.NODE_REMOVED
,Event.PROPERTY_ADDED
,Event.PROPERTY_CHANGED
andEvent.PROPERTY_REMOVED
.GetRegisteredEventListenersTest Tests the methodObservationManager.getRegisteredEventListeners()
.GetUserDataTest GetUserDataTest
performs observation tests with user data set on the observation manager.LockingTest Tests if locking a node triggers property added events for jcr:lockOwner and jcr:lockIsDeep.NodeAddedTest Test cases forEvent.NODE_ADDED
events.NodeMovedTest Tests ifSession.move(java.lang.String, java.lang.String)
operations trigger the appropriate observation events.NodeRemovedTest Test cases forEvent.NODE_REMOVED
events.NodeReorderTest Tests ifNode.orderBefore(String, String)
operations trigger the appropriate observation events.PropertyAddedTest Test cases forEvent.PROPERTY_ADDED
events.PropertyChangedTest Test cases forEvent.PROPERTY_CHANGED
events.PropertyRemovedTest Test cases forEvent.PROPERTY_REMOVED
events.TestAll Test suite that includes all testcases for the Observation module.WorkspaceOperationTest Tests if workspace operations trigger the appropriate observation events.