#include "unit.hpp"#include <iostream>#include <Service.hpp>#include <transports/mqueue/MQLib.hpp>#include <transports/mqueue/MQChannelElement.hpp>#include <transports/mqueue/MQTemplateProtocol.hpp>#include <os/fosi.h>#include <InputPort.hpp>#include <OutputPort.hpp>#include <TaskContext.hpp>#include <string>
Go to the source code of this file.
Classes | |
| class | MQueueFixture |
| class | MQueueTest |
Defines | |
| #define | ASSERT_PORT_SIGNALLING(code, read_port) |
Functions | |
| BOOST_AUTO_TEST_CASE (testVectorTransport) | |
| BOOST_AUTO_TEST_CASE (testPortStreamsWrongName) | |
| BOOST_AUTO_TEST_CASE (testPortStreamsTimeout) | |
| BOOST_AUTO_TEST_CASE (testPortStreams) | |
| BOOST_AUTO_TEST_CASE (testPortConnections) | |
| #define ASSERT_PORT_SIGNALLING | ( | code, | |||
| read_port | ) |
signalled_port = 0; \
code; \
rtos_disable_rt_warning(); \
usleep(100000); \
rtos_enable_rt_warning(); \
BOOST_CHECK( hl.connected() ); \
BOOST_CHECK( read_port == signalled_port );
Definition at line 120 of file mqueue_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testVectorTransport | ) |
Definition at line 339 of file mqueue_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testPortStreamsWrongName | ) |
Definition at line 319 of file mqueue_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testPortStreamsTimeout | ) |
Definition at line 299 of file mqueue_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testPortStreams | ) |
Definition at line 251 of file mqueue_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testPortConnections | ) |
This unit test checks a manual setup of mqueue data flow, without any use of CORBA to mediate the connection.
Definition at line 197 of file mqueue_test.cpp.