Classes | Namespaces | Macros | Functions
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 <transports/corba/RTTCorbaConversion.hpp>
#include "operations_fixture.hpp"
#include <memory>
Include dependency graph for corba_test.cpp:

Go to the source code of this file.

Classes

class  CorbaTest
 

Namespaces

 RTT
 Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
 

Macros

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

Functions

 BOOST_AUTO_TEST_CASE (testCorbaTypes)
 
 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 (testSharedConnections)
 
 BOOST_AUTO_TEST_CASE (testPortProxying)
 
 BOOST_AUTO_TEST_CASE (testRemotePortDisconnect)
 
 BOOST_AUTO_TEST_CASE (testDataHalfs)
 
 BOOST_AUTO_TEST_CASE (testBufferHalfs)
 
static bool RTT::operator== (const ConnPolicy &, const ConnPolicy &)
 
template<typename T >
static void testCorbaType (const T &value=T())
 
template<typename T >
static void testCorbaTypeSequence (std::size_t size=3, const T &value=T())
 

Macro Definition Documentation

#define ASSERT_PORT_SIGNALLING (   code,
  read_port 
)
Value:
do { \
signalled_port = 0; \
int wait = 0; \
code; \
while (read_port != signalled_port && wait++ != 5) \
usleep(100000); \
BOOST_CHECK( read_port == signalled_port ); \
} while(0)
int usleep(unsigned int us)
Definition: fosi.cpp:58

Definition at line 127 of file corba_test.cpp.

#define wait_for (   cond,
  times 
)
Value:
do { \
bool wait_for_helper; \
int wait = 0; \
while( (wait_for_helper = !(cond)) && wait++ != times ) \
usleep(100000); \
if (wait_for_helper) BOOST_CHECK( cond ); \
} while(0)
int usleep(unsigned int us)
Definition: fosi.cpp:58

Definition at line 136 of file corba_test.cpp.

#define wait_for_equal (   a,
  b,
  times 
)
Value:
do { \
bool wait_for_helper; \
int wait = 0; \
while( (wait_for_helper = ((a) != (b))) && wait++ != times ) \
usleep(100000); \
if (wait_for_helper) BOOST_CHECK_EQUAL( a, b ); \
} while(0)
int usleep(unsigned int us)
Definition: fosi.cpp:58

Definition at line 144 of file corba_test.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( testCorbaTypes  )

Definition at line 230 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testAttributes  )

Definition at line 258 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testProperties  )

Definition at line 293 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testOperationCallerC_Call  )

Definition at line 326 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testOperationCallerC_Send  )

Definition at line 358 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testRemoteOperationCallerCall  )

Definition at line 426 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testAnyOperationCaller  )

Definition at line 450 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testDataFlowInterface  )

Definition at line 522 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testPortConnections  )

Definition at line 547 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testSharedConnections  )

Definition at line 616 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testPortProxying  )

Definition at line 756 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testRemotePortDisconnect  )

Definition at line 812 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testDataHalfs  )

Definition at line 901 of file corba_test.cpp.

BOOST_AUTO_TEST_CASE ( testBufferHalfs  )

Definition at line 955 of file corba_test.cpp.

template<typename T >
static void testCorbaType ( const T &  value = T())
static

Definition at line 205 of file corba_test.cpp.

template<typename T >
static void testCorbaTypeSequence ( std::size_t  size = 3,
const T &  value = T() 
)
static

Definition at line 216 of file corba_test.cpp.



rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:45