corba_test.cpp File Reference

#include "unit.hpp"
#include <transports/corba/corba.h>
#include <rtt/InputPort.hpp>
#include <rtt/OutputPort.hpp>
#include <rtt/OperationCaller.hpp>
#include <rtt/TaskContext.hpp>
#include <transports/corba/TaskContextServer.hpp>
#include <transports/corba/TaskContextProxy.hpp>
#include <rtt/Service.hpp>
#include <rtt/transports/corba/DataFlowI.h>
#include <rtt/transports/corba/RemotePorts.hpp>
#include <transports/corba/ServiceC.h>
#include <transports/corba/CorbaLib.hpp>
#include "operations_fixture.hpp"
Include dependency graph for corba_test.cpp:

Go to the source code of this file.

Classes

class  CorbaTest

Defines

#define ASSERT_PORT_SIGNALLING(code, read_port)
#define wait_for(cond, times)
#define wait_for_equal(a, b, times)

Functions

 BOOST_AUTO_TEST_CASE (testBufferHalfs)
 BOOST_AUTO_TEST_CASE (testDataHalfs)
 BOOST_AUTO_TEST_CASE (testPortProxying)
 BOOST_AUTO_TEST_CASE (testPortConnections)
 BOOST_AUTO_TEST_CASE (testDataFlowInterface)
 BOOST_AUTO_TEST_CASE (testAnyOperationCaller)
 BOOST_AUTO_TEST_CASE (testRemoteOperationCallerCall)
 BOOST_AUTO_TEST_CASE (testOperationCallerC_Send)
 BOOST_AUTO_TEST_CASE (testOperationCallerC_Call)
 BOOST_AUTO_TEST_CASE (testProperties)
 BOOST_AUTO_TEST_CASE (testAttributes)

Variables

bool wait_for_helper

Define Documentation

#define ASSERT_PORT_SIGNALLING ( code,
read_port   ) 
Value:
signalled_port = 0; wait = 0;\
    code; \
    while (read_port != signalled_port && wait++ != 5) \
    usleep(100000); \
    BOOST_CHECK( read_port == signalled_port );

Definition at line 120 of file corba_test.cpp.

#define wait_for ( cond,
times   ) 
Value:
wait = 0; \
    while( (wait_for_helper = !(cond)) && wait++ != times ) \
      usleep(100000); \
    if (wait_for_helper) BOOST_CHECK( cond );

Definition at line 128 of file corba_test.cpp.

#define wait_for_equal ( a,
b,
times   ) 
Value:
wait = 0; \
    while( (wait_for_helper = ((a) != (b))) && wait++ != times ) \
      usleep(100000); \
    if (wait_for_helper) BOOST_CHECK_EQUAL( a, b );

Definition at line 134 of file corba_test.cpp.


Function Documentation

BOOST_AUTO_TEST_CASE ( testBufferHalfs   ) 

Definition at line 650 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testDataHalfs   ) 

Definition at line 588 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testPortProxying   ) 

Definition at line 537 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testPortConnections   ) 

Definition at line 466 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testDataFlowInterface   ) 

Definition at line 441 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testAnyOperationCaller   ) 

Definition at line 371 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testRemoteOperationCallerCall   ) 

Definition at line 350 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testOperationCallerC_Send   ) 

Definition at line 293 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testOperationCallerC_Call   ) 

Definition at line 264 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testProperties   ) 

Definition at line 231 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testAttributes   ) 

Definition at line 196 of file corba_test.cpp.


Variable Documentation

Definition at line 127 of file corba_test.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Jan 11 09:45:32 2013