Classes | Defines | Functions | Variables
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 <transports/corba/CorbaConnPolicy.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 (testAttributes)
 BOOST_AUTO_TEST_CASE (testProperties)
 BOOST_AUTO_TEST_CASE (testOperationCallerC_Call)
 BOOST_AUTO_TEST_CASE (testOperationCallerC_Send)
 BOOST_AUTO_TEST_CASE (testRemoteOperationCallerCall)
 BOOST_AUTO_TEST_CASE (testAnyOperationCaller)
 BOOST_AUTO_TEST_CASE (testDataFlowInterface)
 BOOST_AUTO_TEST_CASE (testPortConnections)
 BOOST_AUTO_TEST_CASE (testPortProxying)
 BOOST_AUTO_TEST_CASE (testDataHalfs)
 BOOST_AUTO_TEST_CASE (testBufferHalfs)

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 121 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 129 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 135 of file corba_test.cpp.


Function Documentation

BOOST_AUTO_TEST_CASE ( testAttributes  )

Definition at line 197 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testProperties  )

Definition at line 232 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testOperationCallerC_Call  )

Definition at line 265 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testOperationCallerC_Send  )

Definition at line 297 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testRemoteOperationCallerCall  )

Definition at line 364 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testAnyOperationCaller  )

Definition at line 388 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testDataFlowInterface  )

Definition at line 460 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testPortConnections  )

Definition at line 485 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testPortProxying  )

Definition at line 550 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testDataHalfs  )

Definition at line 601 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testBufferHalfs  )

Definition at line 655 of file corba_test.cpp.


Variable Documentation

Definition at line 128 of file corba_test.cpp.



rtt
Author(s): RTT Developers
autogenerated on Sat Jun 8 2019 18:46:34