Classes | Macros | Functions
mqueue_test.cpp File Reference
#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>
Include dependency graph for mqueue_test.cpp:

Go to the source code of this file.

Classes

class  MQueueFixture
 
class  MQueueTest
 

Macros

#define ASSERT_PORT_SIGNALLING(code, read_port)
 

Functions

 BOOST_AUTO_TEST_CASE (testPortConnections)
 
 BOOST_AUTO_TEST_CASE (testPortStreams)
 
 BOOST_AUTO_TEST_CASE (testPortStreamsTimeout)
 
 BOOST_AUTO_TEST_CASE (testPortStreamsWrongName)
 
 BOOST_AUTO_TEST_CASE (testVectorTransport)
 

Macro Definition Documentation

#define ASSERT_PORT_SIGNALLING (   code,
  read_port 
)
Value:
do { \
signalled_port = 0; \
code; \
usleep(100000); \
BOOST_CHECK( read_port == signalled_port ); \
} while(0)
int usleep(unsigned int us)
Definition: fosi.cpp:58
void rtos_disable_rt_warning()
void rtos_enable_rt_warning()

Definition at line 114 of file mqueue_test.cpp.

Function Documentation

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 191 of file mqueue_test.cpp.

BOOST_AUTO_TEST_CASE ( testPortStreams  )

Definition at line 243 of file mqueue_test.cpp.

BOOST_AUTO_TEST_CASE ( testPortStreamsTimeout  )

Definition at line 289 of file mqueue_test.cpp.

BOOST_AUTO_TEST_CASE ( testPortStreamsWrongName  )

Definition at line 309 of file mqueue_test.cpp.

BOOST_AUTO_TEST_CASE ( testVectorTransport  )

Definition at line 329 of file mqueue_test.cpp.



rtt
Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:39