cgl.narada.wsinfra.wsrm.storage.impl.test
Class WsrmSequenceStorageTest
java.lang.Object
cgl.narada.wsinfra.wsrm.storage.impl.test.WsrmSequenceStorageTest
- public class WsrmSequenceStorageTest
- extends Object
Tests the Sequence Info storage mesthods
Each method has one relevant test method
To run the test method it should be called from
main function
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsrmSequenceStorageTest
public WsrmSequenceStorageTest(String configurationFilename)
throws WsrmStorageException
testAddDestinationSequenceIdentifierPair
public void testAddDestinationSequenceIdentifierPair()
throws WsrmStorageException
- Throws:
WsrmStorageException
testGetSequenceIdentifierForDestination
public String testGetSequenceIdentifierForDestination()
throws WsrmStorageException
- Retrieve the sequence identifier for a specific destination
- Throws:
WsrmStorageException
testGetDestinationForSequenceIdentifier
public String testGetDestinationForSequenceIdentifier()
throws WsrmStorageException
- Throws:
WsrmStorageException
testRemoveDestinationSequenceIdentifierPair
public void testRemoveDestinationSequenceIdentifierPair()
throws WsrmStorageException
- Removes the destination/sequence identifier pair corresponding to this
destination
- Throws:
WsrmStorageException
testHasSequenceIdForDestination
public boolean testHasSequenceIdForDestination()
throws WsrmStorageException
- Checks to see if there is a sequenceId/destination pair corresponding
to the destination in question.
- Throws:
WsrmStorageException
testIsKnownSequence
public boolean testIsKnownSequence()
throws WsrmStorageException
- A method which checks whether a certain sequence (irrespective of whether
it is active/terminated/expired/timed-out) is a known sequence at this
node
- Throws:
WsrmStorageException
createSequenceInfoObject
public WsrmSequenceInfo createSequenceInfoObject()
throws WsrmStorageException
- Throws:
WsrmStorageException
storeSequence
public void storeSequence(WsrmSequenceInfo wsrmSequenceInfo)
throws WsrmStorageException
- Throws:
WsrmStorageException
testStoreCreatedSequence
public void testStoreCreatedSequence()
throws WsrmStorageException
- Throws:
WsrmStorageException
testGetSequenceInfoUsingSequenceIdentifier
public void testGetSequenceInfoUsingSequenceIdentifier()
throws WsrmStorageException
- Throws:
WsrmStorageException
testGetSequenceInfoUsingSequencePrefix
public void testGetSequenceInfoUsingSequencePrefix()
throws WsrmStorageException
- Throws:
WsrmStorageException
testGetSequenceInfoUsingAddressingIdentifier
public void testGetSequenceInfoUsingAddressingIdentifier()
throws WsrmStorageException
- Throws:
WsrmStorageException
testGetListOfAllSequences
public void testGetListOfAllSequences()
throws WsrmStorageException
- Throws:
WsrmStorageException
testGetListOfExpiredSequences
public void testGetListOfExpiredSequences()
throws WsrmStorageException
- Throws:
WsrmStorageException
testGetListOfTimedOutSequences
public void testGetListOfTimedOutSequences()
throws WsrmStorageException
- Throws:
WsrmStorageException
testGetListOfTerminatedSequences
public void testGetListOfTerminatedSequences()
throws WsrmStorageException
- Throws:
WsrmStorageException
testGetListOfServicedSequences
public void testGetListOfServicedSequences()
throws WsrmStorageException
- Throws:
WsrmStorageException
testGetListOfActiveSequences
public void testGetListOfActiveSequences()
throws WsrmStorageException
- Throws:
WsrmStorageException
main
public static void main(String[] args)