Macros | Functions
remote_method_test.cpp File Reference
#include <iostream>
#include <TaskContext.hpp>
#include <OperationCaller.hpp>
#include <Operation.hpp>
#include <internal/RemoteOperationCaller.hpp>
#include <Service.hpp>
#include "unit.hpp"
#include "operations_fixture.hpp"
Include dependency graph for remote_method_test.cpp:

Go to the source code of this file.

Macros

#define ORO_TEST_OPERATION_CALLER
 
#define wait_for_equal(a, b, times)
 

Functions

 BOOST_AUTO_TEST_CASE (testRemoteOperationCaller)
 
 BOOST_AUTO_TEST_CASE (testOperationCallerC_Call)
 
 BOOST_AUTO_TEST_CASE (testOperationCallerC_Send)
 
 BOOST_AUTO_TEST_CASE (testOperationCallerFromDS)
 
 BOOST_AUTO_TEST_CASE (testRemoteOperationCallerFactory)
 
 BOOST_AUTO_TEST_CASE (testRemoteOperationCallerSleep)
 
 BOOST_AUTO_TEST_CASE (testRemoteOperationCallerReferences)
 

Macro Definition Documentation

#define ORO_TEST_OPERATION_CALLER

Definition at line 21 of file remote_method_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 33 of file remote_method_test.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( testRemoteOperationCaller  )

This test suite tests the RTT::internal::RemoteOperationCaller class and its dependencies, being OperationCallerC and SendHandleC.

Definition at line 47 of file remote_method_test.cpp.

BOOST_AUTO_TEST_CASE ( testOperationCallerC_Call  )

Definition at line 71 of file remote_method_test.cpp.

BOOST_AUTO_TEST_CASE ( testOperationCallerC_Send  )

Definition at line 111 of file remote_method_test.cpp.

BOOST_AUTO_TEST_CASE ( testOperationCallerFromDS  )

Definition at line 204 of file remote_method_test.cpp.

BOOST_AUTO_TEST_CASE ( testRemoteOperationCallerFactory  )

Definition at line 249 of file remote_method_test.cpp.

BOOST_AUTO_TEST_CASE ( testRemoteOperationCallerSleep  )

Definition at line 325 of file remote_method_test.cpp.

BOOST_AUTO_TEST_CASE ( testRemoteOperationCallerReferences  )

Definition at line 346 of file remote_method_test.cpp.



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