|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A JUnit test class for QueueOutputPipeTCP, that uses QueueInputPipeTCP. More...

Public Member Functions | |
| QueueOutputPipeTCPTest (String string) | |
| Generates a test case for the given method name. | |
| void | setUp () throws Exception |
| void | tearDown () |
| void | testNonSerialized () |
| Pushes multiple non-serialized messages. | |
| void | testSerialized () throws IOException |
| Pushes multiple messages with associated raw data. | |
Static Public Member Functions | |
| static TestSuite | suite () |
Private Attributes | |
| QueueOutputPipeTCP | out |
| The QueueOutputPipeTCP under test. | |
| Queue | queue |
| The queue to which messages are passed. | |
| QueueOutputPipeTrivial | output |
| The output pipe used for the tests. | |
A JUnit test class for QueueOutputPipeTCP, that uses QueueInputPipeTCP.
| frodo2.communication.tcp.QueueOutputPipeTCPTest.QueueOutputPipeTCPTest | ( | String | string | ) |
Generates a test case for the given method name.
| string | name of the method |
Referenced by suite().
| void frodo2.communication.tcp.QueueOutputPipeTCPTest.setUp | ( | ) | throws Exception |
| IOException | thrown if an I/O error occurs |
References frodo2.communication.tcp.QueueInputPipeTCPTest.address, out, output, frodo2.communication.tcp.QueueInputPipeTCPTest.port, and queue.
|
static |
References QueueOutputPipeTCPTest(), and suite().
Referenced by frodo2.communication.AllTests.suite(), and suite().

| void frodo2.communication.tcp.QueueOutputPipeTCPTest.tearDown | ( | ) |
| void frodo2.communication.tcp.QueueOutputPipeTCPTest.testNonSerialized | ( | ) |
Pushes multiple non-serialized messages.
References frodo2.communication.Message.getType(), out, and output.

| void frodo2.communication.tcp.QueueOutputPipeTCPTest.testSerialized | ( | ) | throws IOException |
Pushes multiple messages with associated raw data.
| IOException | thrown if an I/O error occurs |
References frodo2.communication.MessageSerializedSimple< T extends Serializable >.deserializeRawData(), frodo2.communication.MessageSerializedSimple< T extends Serializable >.getData(), frodo2.communication.Message.getType(), out, output, and testSerialized().
Referenced by testSerialized().

|
private |
The QueueOutputPipeTCP under test.
Referenced by setUp(), tearDown(), testNonSerialized(), and testSerialized().
|
private |
The output pipe used for the tests.
Referenced by setUp(), tearDown(), testNonSerialized(), and testSerialized().
|
private |
The queue to which messages are passed.
Referenced by setUp(), and tearDown().