public abstract class MiddlewareModuleTest extends DataModuleTest
Modifier and Type | Field and Description |
---|---|
protected DistributableReceiverInterface |
receiverInterface
Distributed receiver interface
|
protected Peer |
receiverPeer
Receiver peer
|
protected java.lang.Thread |
receiverThread
Receiver thread
|
protected DistributableSenderInterface |
senderInterface
Distributed sender interface
|
org.junit.rules.ExpectedException |
thrown |
manager
Constructor and Description |
---|
MiddlewareModuleTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
addReceiverPeerUID(IEntity iEntity)
Add receiver peer uid
|
void |
closeConnection() |
protected java.lang.String |
getLikeExpression()
Get the string expression that match contains "2" in the film name
|
void |
instantiateAndStartDistributableReceiverInterface()
Instantiate and start a new listener thread
|
void |
instantiateManager()
Instantiate a distributable entity manager
|
abstract void |
instantiateReceiverAndSenderInterface() |
void |
testIsOpen()
Test data source connections
|
compareFilmElement, createActor, createActor, createFilm, createFilm, createSampleData, setUp, testAdd, testAddNullValue, testConditionBetween, testConditionEquals, testConditionGreaterThan, testConditionGreaterThanOrEqual, testConditionIn, testConditionIsNull, testConditionLessThan, testConditionLessThanOrEqual, testConditionLike, testConditionNotBetween, testConditionNotEquals, testConditionNotIn, testConditionNotNull, testDelete, testDeleteNullValue, testListAll, testListAllWithNullValue, testLoadArray, testLoadArrayEmptyParameter, testLoadArrayNullValue1stParameter, testLoadArrayNullValue2ndParameter, testRead, testReadLastElementNullValue, testReadLastFilmElement, testReadNullValue, testTransactionDelete, testTransactionsAdd, testTransactionUpdate, testUpdate, testUpdateNullValue
protected DistributableSenderInterface senderInterface
protected DistributableReceiverInterface receiverInterface
protected Peer receiverPeer
protected java.lang.Thread receiverThread
public org.junit.rules.ExpectedException thrown
protected void addReceiverPeerUID(IEntity iEntity)
addReceiverPeerUID
in class DataModuleTest
iEntity
- Entitypublic void instantiateAndStartDistributableReceiverInterface() throws java.lang.Exception
java.lang.Exception
- throw an errorpublic abstract void instantiateReceiverAndSenderInterface() throws java.lang.Exception
java.lang.Exception
public void instantiateManager() throws java.lang.Exception
DataModuleTest
instantiateManager
in class DataModuleTest
java.lang.Exception
- throw an exceptionpublic void closeConnection() throws DDBSToolkitException
DDBSToolkitException
public void testIsOpen() throws java.lang.Exception
DataModuleTest
testIsOpen
in class DataModuleTest
java.lang.Exception
- Exception thrownprotected java.lang.String getLikeExpression()
DataModuleTest
getLikeExpression
in class DataModuleTest